|
|
@ -597,27 +597,22 @@ |
|
|
|
str = '任务明细未全部完成,是否提交?\n' + str |
|
|
|
this.$refs.comMessage.showQuestionMessage1(str, 'red', res => { |
|
|
|
if (res) { |
|
|
|
// 物料隔离 |
|
|
|
if(this.businessTypeCode == "OkToHold"){ |
|
|
|
this.$refs.deptPopup.deptShow = true |
|
|
|
this.$refs.deptPopup.chooseDutyItem={} |
|
|
|
this.$refs.deptPopup.chooseDeptItem={} |
|
|
|
this.$refs.deptPopup.chooseDetailItem={} |
|
|
|
}else{ |
|
|
|
this.submitJob() |
|
|
|
} |
|
|
|
// 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() |
|
|
|
} |
|
|
|
}); |
|
|
|
} else { |
|
|
|
// 物料隔离 |
|
|
|
if(this.businessTypeCode == "OkToHold"){ |
|
|
|
this.$refs.deptPopup.deptShow = true |
|
|
|
this.$refs.deptPopup.chooseDutyItem={} |
|
|
|
this.$refs.deptPopup.chooseDeptItem={} |
|
|
|
this.$refs.deptPopup.chooseDetailItem={} |
|
|
|
}else{ |
|
|
|
this.submitJob() |
|
|
|
} |
|
|
|
// 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() |
|
|
|
} |
|
|
|
}, |
|
|
|
submitJob() { |
|
|
|