Browse Source

操作屏

master
蔡玲 2 months ago
parent
commit
5a3ecc9a93
  1. 16
      lms/nladmin-ui/src/views/wms/produceScreen/index.vue

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

@ -335,7 +335,21 @@ export default {
this.disabled = false
})
} else if (this.type === 'SCANER') {
crudProduceScreen.sendMater({ device_code: this.popData.device_code, mater: this.popList, point_code: this.value1 }).then(res => {
if (!this.vcode) {
this.$message('请填写载具号')
return
}
if (!this.value1) {
this.$message('请选择目的地')
return
}
const arr = []
this.popList.map(el => {
if (el.order_code !== '' && el.material_qty !== '') {
arr.push(el)
}
})
crudProduceScreen.sendMater({ device_code: this.popData.device_code, mater: arr, point_code: this.value1, vehicle_code: this.vcode }).then(res => {
this.disabled = false
this.$message(res.msg)
}).catch(() => {

Loading…
Cancel
Save