1.修复列入经营异常无法结束流程问题

This commit is contained in:
lwd 2026-01-05 21:11:03 +08:00
parent 39a439f32a
commit 1c09a6cf5a
1 changed files with 128 additions and 112 deletions

View File

@ -939,9 +939,26 @@ export default {
if (this.$util.isEmpty(this.form.caseSource)) { if (this.$util.isEmpty(this.form.caseSource)) {
return this.$message.warning('请选择案件来源') return this.$message.warning('请选择案件来源')
} }
console.log(this.form.specause)
// ===== =====
if (this.form.endApply === '5') { //
//
if (this.$util.isEmpty(this.form.endReason)) {
return this.$message.warning('请输入结束原因')
}
//
this.executeSubmitLogic()
return //
}
// /退/
this.$refs.form.validate(valid => { this.$refs.form.validate(valid => {
if (!valid) return if (!valid) return
this.executeSubmitLogic()
})
},
// ===== =====
executeSubmitLogic() {
if (this.showRadio) { // 线 if (this.showRadio) { // 线
validateBiz({ ids: this.bizList[0].toIncludeId, validType: 'CLUE', entertype: this.bizType, checkInBiz: 'false' }).then(res => { validateBiz({ ids: this.bizList[0].toIncludeId, validType: 'CLUE', entertype: this.bizType, checkInBiz: 'false' }).then(res => {
if (res.code === 0) { if (res.code === 0) {
@ -953,14 +970,14 @@ export default {
} }
if (this.form.endApply === '5') { if (this.form.endApply === '5') {
str += '是否结束流程?' str += '是否结束流程?'
}else{ } else {
str += '是否继续提交?' str += '是否继续提交?'
} }
type = 'warning' type = 'warning'
} else { } else {
if (this.form.endApply === '5') { if (this.form.endApply === '5') {
str = '是否结束流程?' str = '是否结束流程?'
}else{ } else {
str = '是否继续提交?' str = '是否继续提交?'
} }
} }
@ -1058,7 +1075,6 @@ export default {
}) })
}).catch(() => {}) }).catch(() => {})
} }
})
}, },
uploadCallback(res, file) { uploadCallback(res, file) {
if (res.code === 0) { if (res.code === 0) {