接口
This commit is contained in:
@@ -146,3 +146,41 @@ export const tmpcallVechile = (dcode, qty) => post('api/pda/tmpcallVechile', {
|
||||
export const tmpsendVechile = (dcode) => post('api/pda/tmpsendVechile', {
|
||||
device_code: dcode
|
||||
})
|
||||
|
||||
// 公共接口
|
||||
// 1.1车间列表
|
||||
export const dictall = () => post('api/dict/all', {
|
||||
})
|
||||
|
||||
// 人工倒料
|
||||
// 1.1设备列表
|
||||
export const washdevicelist = (wid) => post('api/device/list', {
|
||||
workprocedure_id: wid
|
||||
})
|
||||
|
||||
// 1.2根据设备列表获取物料信息
|
||||
export const washquery = (parea, dcode) => post('api/pda/wash/query', {
|
||||
product_area: parea,
|
||||
device_code: dcode
|
||||
})
|
||||
|
||||
// 1.3称重
|
||||
export const washweighing = (list) => post('api/pda/wash/weighing', {
|
||||
list: list
|
||||
})
|
||||
|
||||
// 1.4确认
|
||||
export const washweighingFinish = (dcode, dweight, mcode, mspec, mname) => post('api/pda/wash/weighingFinish', {
|
||||
device_code: dcode,
|
||||
deviceinstor_weight: dweight,
|
||||
material_code: mcode,
|
||||
material_spec: mspec,
|
||||
material_name: mname
|
||||
})
|
||||
|
||||
// 1.5查询物料列表
|
||||
export const washsearchlist = (page, size, mcode) => post('api/pda/wash/searchlist', {
|
||||
page: page,
|
||||
size: size,
|
||||
material_code: mcode
|
||||
})
|
||||
|
||||
Reference in New Issue
Block a user