Browse Source

操作屏

master
蔡玲玲 6 days ago
parent
commit
83b381fa46
  1. 12
      lms/nladmin-ui/src/views/wms/produceScreen/index.vue
  2. 22
      lms/nladmin-ui/src/views/wms/produceScreen/mork.js
  3. 10
      lms/nladmin-ui/src/views/wms/produceScreen/produceScreen.js

12
lms/nladmin-ui/src/views/wms/produceScreen/index.vue

@ -219,7 +219,7 @@
label="订单号"
/>
<el-table-column
prop="material_code"
prop="material_id"
label="零件号"
/>
<el-table-column
@ -253,7 +253,7 @@
@current-change="handleCurrentChange1"
>
<el-table-column
prop="vehicle_path"
prop="material_id"
label="图纸查看"
/>
</el-table>
@ -380,10 +380,8 @@ export default {
this.show = true
})
} else if (type === 'PALLET') {
crudProduceScreen.getPointVehicle({ device_code: this.popData.device_code }).then(res => {
crudProduceScreen.fabMaterial({ vehicle_code: res }).then(res => {
this.popList = [...res]
})
crudProduceScreen.selectMaterialAndJpg(this.popData.device_code).then(res => {
this.popList = [...res.materialList]
})
this.show = true
}
@ -467,7 +465,7 @@ export default {
},
handleCurrentChange1(val) {
if (val) {
this.imgSrc = val.vehicle_path
this.imgSrc = val.material_path
}
}
}

22
lms/nladmin-ui/src/views/wms/produceScreen/mork.js

@ -112,6 +112,26 @@ export function loginOut() {
})
}
// 13. 当前托盘
export function selectMaterialAndJpg() {
const res = {
vehiclePath: null,
materialList: [
{
material_path: null,
material_id: 'A7E0019014060_01'
},
{
material_path: null,
material_id: 'A7E0019011140_00'
}
]
}
return new Promise((resolve, reject) => {
resolve(res)
})
}
export default {
authLogin, getUserOrDevice, deviceInLogin, regionOrder, fabMaterial, callMater, callEmp, fabOrders, sendMater, sendVehicle, getPointVehicle, loginOut
authLogin, getUserOrDevice, deviceInLogin, regionOrder, fabMaterial, callMater, callEmp, fabOrders, sendMater, sendVehicle, getPointVehicle, loginOut, selectMaterialAndJpg
}

10
lms/nladmin-ui/src/views/wms/produceScreen/produceScreen.js

@ -107,6 +107,14 @@ export function loginOut(data) {
})
}
// 13. 当前托盘
export function selectMaterialAndJpg(code) {
return request({
url: 'api/handheld/selectMaterialAndJpg?pointCode=',
method: 'get'
})
}
export default {
authLogin, getUserOrDevice, deviceInLogin, regionOrder, fabMaterial, callMater, callEmp, fabOrders, sendMater, sendVehicle, getPointVehicle, loginOut
authLogin, getUserOrDevice, deviceInLogin, regionOrder, fabMaterial, callMater, callEmp, fabOrders, sendMater, sendVehicle, getPointVehicle, loginOut, selectMaterialAndJpg
}

Loading…
Cancel
Save