Browse Source

YT-2415不良品流程第一个问题去掉责任明细弹框

intex_online20250410
张立 2 weeks ago
parent
commit
9e1da875b7
  1. 41
      src/pages/inventoryMove/job/inventoryMoveDetail.vue

41
src/pages/inventoryMove/job/inventoryMoveDetail.vue

@ -593,31 +593,36 @@
this.$refs.comMessage.showConfirmWarningModal(str1) this.$refs.comMessage.showConfirmWarningModal(str1)
return return
} }
console.log(3444,this.businessTypeCode)
if (str) { if (str) {
str = '任务明细未全部完成,是否提交?\n' + str str = '任务明细未全部完成,是否提交?\n' + str
this.$refs.comMessage.showQuestionMessage1(str, 'red', res => { this.$refs.comMessage.showQuestionMessage1(str, 'red', res => {
if (res) { if (res) {
// // 2025-04-16
if(this.businessTypeCode == "OkToHold"){ // //
this.$refs.deptPopup.deptShow = true // if(this.businessTypeCode == "OkToHold"){
this.$refs.deptPopup.chooseDutyItem={} // this.$refs.deptPopup.deptShow = true
this.$refs.deptPopup.chooseDeptItem={} // this.$refs.deptPopup.chooseDutyItem={}
this.$refs.deptPopup.chooseDetailItem={} // this.$refs.deptPopup.chooseDeptItem={}
}else{ // this.$refs.deptPopup.chooseDetailItem={}
this.submitJob() // }else{
} // this.submitJob()
// }
this.submitJob()
} }
}); });
} else { } else {
// // 2025-04-16
if(this.businessTypeCode == "OkToHold"){ ////
this.$refs.deptPopup.deptShow = true // if(this.businessTypeCode == "OkToHold"){
this.$refs.deptPopup.chooseDutyItem={} // this.$refs.deptPopup.deptShow = true
this.$refs.deptPopup.chooseDeptItem={} // this.$refs.deptPopup.chooseDutyItem={}
this.$refs.deptPopup.chooseDetailItem={} // this.$refs.deptPopup.chooseDeptItem={}
}else{ // this.$refs.deptPopup.chooseDetailItem={}
this.submitJob() // }else{
} // this.submitJob()
// }
this.submitJob()
} }
}, },
submitJob() { submitJob() {

Loading…
Cancel
Save