diff --git a/lms/nladmin-ui/src/views/wms/produceScreen/index.vue b/lms/nladmin-ui/src/views/wms/produceScreen/index.vue index 265589f..0a82edb 100644 --- a/lms/nladmin-ui/src/views/wms/produceScreen/index.vue +++ b/lms/nladmin-ui/src/views/wms/produceScreen/index.vue @@ -185,17 +185,6 @@ 设备工序 - @@ -222,17 +211,6 @@ 设备工序 - 载具编码 @@ -265,17 +243,6 @@ 设备工序 - @@ -312,8 +279,6 @@ export default { backObj: {}, val1: '', options1: [], - val2: '', - options2: [], check1: false, check2: false } @@ -331,7 +296,6 @@ export default { crudProduceScreen.regionList().then(res => { this.machineData = [...res.content] this.show = true - this.options2 = [...res.content] }) } else if (type === 2 && name in this.pointState) { crudProduceScreen.regionOrder(this.pkObj.value, this.pointState[name]).then(res => { @@ -345,13 +309,11 @@ export default { } else if (type === 3 && name in this.pointState) { this.emptyObj = {} this.val1 = '' - // this.val2 = '' this.show = true this.emptyObj.device_code = this.pointState[name] this.emptyObj.regin_code = this.pkObj.value } else if (type === 4 && name in this.pointState) { this.sendObj = {} - // this.val2 = '' this.check1 = false this.check2 = false this.show = true @@ -362,7 +324,6 @@ export default { this.sendObj.regin_code = this.pkObj.value } else if (type === 5 && name in this.pointState) { this.backObj = {} - // this.val2 = '' this.show = true this.backObj.material_qty = null this.backObj.device_code = this.pointState[name] @@ -401,12 +362,7 @@ export default { this.$message.error('请选择托盘类型!') return } - // if (!this.val2) { - // this.$message.error('请选择设备工序!') - // return - // } this.emptyObj.vehicle_type = this.val1 - // this.emptyObj.regin_code = this.val2 crudProduceScreen.callEmp(this.emptyObj).then(res => { this.$message(res.msg) }) @@ -421,15 +377,10 @@ export default { this.$message.error('请输入合格数量!') return } - // if (!this.val2) { - // this.$message.error('请选择设备工序!') - // return - // } if (this.sendObj.vehicle_code === '') { this.$message.error('请输入载具编码!') return } - // this.sendObj.regin_code = this.val2 this.sendObj.has_report = this.check1 this.sendObj.target_region_code = this.check2 crudProduceScreen.sendMater(this.sendObj).then(res => { @@ -442,11 +393,6 @@ export default { this.$message.error('请输入物料数量!') return } - // if (!this.val2) { - // this.$message.error('请选择设备工序!') - // return - // } - // this.backObj.regin_code = this.val2 crudProduceScreen.sendVehicle(this.backObj).then(res => { this.$message(res.msg) })