diff --git a/src/pages/inventoryMove/job/inventoryMoveDetail.vue b/src/pages/inventoryMove/job/inventoryMoveDetail.vue index 21eff8f9..8ebdd3e5 100644 --- a/src/pages/inventoryMove/job/inventoryMoveDetail.vue +++ b/src/pages/inventoryMove/job/inventoryMoveDetail.vue @@ -593,36 +593,31 @@ this.$refs.comMessage.showConfirmWarningModal(str1) return } - console.log(3444,this.businessTypeCode) if (str) { str = '任务明细未全部完成,是否提交?\n' + str this.$refs.comMessage.showQuestionMessage1(str, 'red', res => { if (res) { - // 2025-04-16号修改物料隔离去掉明细弹窗 - // // 物料隔离 - // if(this.businessTypeCode == "OkToHold"){ - // this.$refs.deptPopup.deptShow = true - // this.$refs.deptPopup.chooseDutyItem={} - // this.$refs.deptPopup.chooseDeptItem={} - // this.$refs.deptPopup.chooseDetailItem={} - // }else{ - // this.submitJob() - // } - this.submitJob() + // 物料隔离 + if(this.businessTypeCode == "OkToHold"){ + this.$refs.deptPopup.deptShow = true + this.$refs.deptPopup.chooseDutyItem={} + this.$refs.deptPopup.chooseDeptItem={} + this.$refs.deptPopup.chooseDetailItem={} + }else{ + this.submitJob() + } } }); } else { - // 2025-04-16号修改物料隔离去掉明细弹窗 - //// 物料隔离 - // if(this.businessTypeCode == "OkToHold"){ - // this.$refs.deptPopup.deptShow = true - // this.$refs.deptPopup.chooseDutyItem={} - // this.$refs.deptPopup.chooseDeptItem={} - // this.$refs.deptPopup.chooseDetailItem={} - // }else{ - // this.submitJob() - // } - this.submitJob() + // 物料隔离 + if(this.businessTypeCode == "OkToHold"){ + this.$refs.deptPopup.deptShow = true + this.$refs.deptPopup.chooseDutyItem={} + this.$refs.deptPopup.chooseDeptItem={} + this.$refs.deptPopup.chooseDetailItem={} + }else{ + this.submitJob() + } } }, submitJob() {