add呼叫物料
This commit is contained in:
@@ -78,3 +78,16 @@ export const updateRouteStatus = (type, status) => request({
|
||||
url:'api/handheld/updateRouteStatus',
|
||||
data: {type: type, status: status}
|
||||
})
|
||||
// 呼叫物料
|
||||
export const selectOrderByRegion = (code, code1) => request({
|
||||
url:'api/fab/selectOrderByRegion?regionCode=' + code + '&deviceCode=' + code1,
|
||||
method: 'GET'
|
||||
})
|
||||
export const fabMaterial = (code) => request({
|
||||
url:'api/fab/material',
|
||||
data: {vehicle_code: code}
|
||||
})
|
||||
export const callMater = (mater, code, vcode) => request({
|
||||
url:'api/fab/callMater',
|
||||
data: {mater: mater, device_code: code, vehicle_code: vcode}
|
||||
})
|
||||
@@ -25,4 +25,14 @@ export const updateRouteStatus = (data) => {
|
||||
message: 'ok'
|
||||
}
|
||||
return res
|
||||
}
|
||||
export const selectOrderByRegion = (code, code1) => {
|
||||
let res = {
|
||||
content: [{ vehicle_code: '123', order_code: '800034202869', region_code: '111-07', material_id: 'A7E0019008760_00', material_type: 'S39_SA01', custom: 'BBC支撑板后上', material_qty: '120', plan_date: '2024/8/11' }]
|
||||
}
|
||||
return res
|
||||
}
|
||||
export const fabMaterial = (code, code1) => {
|
||||
let res = [{ vehicle_code: '123', order_code: '800034202869', region_code: '111-07', material_id: 'A7E0019008760_00', material_type: 'S39_SA01', custom: 'BBC支撑板后上', material_qty: '120', plan_date: '2024/8/11' }, { vehicle_code: '123', order_code: '800034202869', region_code: '111-07', material_id: 'A7E0019008760_00', material_type: 'S39_SA01', custom: 'BBC支撑板后上', material_qty: '120', plan_date: '2024/8/11' }, { vehicle_code: '123', order_code: '800034202869', region_code: '111-07', material_id: 'A7E0019008760_00', material_type: 'S39_SA01', custom: 'BBC支撑板后上', material_qty: '120', plan_date: '2024/8/11' }, { vehicle_code: '123', order_code: '800034202869', region_code: '111-07', material_id: 'A7E0019008760_00', material_type: 'S39_SA01', custom: 'BBC支撑板后上', material_qty: '120', plan_date: '2024/8/11' }]
|
||||
return res
|
||||
}
|
||||
Reference in New Issue
Block a user