[update] 修改企标流程发起人员信息没填跳tab,驳回备注既弹框也必填备注

This commit is contained in:
lideqin
2023-12-20 17:40:38 +08:00
parent e2a4399f82
commit ea8d024628
9 changed files with 26 additions and 9 deletions
@@ -358,6 +358,7 @@ export default {
// 人员信息的数据, 处理成对象
const personnelObj = this.$refs.personnelInfo.getDataObjVerify()
if (!personnelObj) {
this.switchValue = 'user'
return
}
// 流程信息的校验
@@ -389,6 +390,8 @@ export default {
}).finally(() => {
this.loading = false
})
} else {
this.switchValue = 'base'
}
})
})
@@ -452,7 +455,6 @@ export default {
this.validatorRules.commitText.rules[0].required = true
if (!this.approvalInfoForm.getFieldValue('commitText')) {
this.$message.warning(this.$t('pleaseEnterRemarks'))
return
}
this.$nextTick(() => {
this.approvalInfoForm.validateFields((err, values) => {