From 2bc691ecc62c5a789dc36b148d34adb6f514e286 Mon Sep 17 00:00:00 2001 From: yunuo970428 <405378304@qq.com> Date: Thu, 17 Nov 2022 14:40:30 +0800 Subject: [PATCH] =?UTF-8?q?=E5=AE=8C=E5=96=84=E8=BD=A6=E8=BE=86=E5=A4=96?= =?UTF-8?q?=E9=87=87?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../baseoutsourcingapplicationAdd.vue | 4 ++++ .../workflow/baseoutsourcingapplicationAdd.vue | 4 ++++ 2 files changed, 8 insertions(+) diff --git a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue index c04a17d610..84ed1a5e7d 100644 --- a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue +++ b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/baseoutsourcingapplicationAdd.vue @@ -779,6 +779,10 @@ export default { this.$message({ showClose: true, type: 'error', message: '因其中订金不为0,订金账户不能为空' }) return } + if (this.formobj.isSaleOrgApproval === '1' && this.formobj.approvalName === '') { + this.$message({ showClose: true, type: 'error', message: '因是否销售部审批选择是,则销售经理不能为空' }) + return + } // 提交的代码 this.formobj.userSid = window.sessionStorage.getItem('userSid') this.formobj.orgSid = this.$store.getters.orgSid diff --git a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationAdd.vue b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationAdd.vue index a1ee5933d7..c2ca74aac8 100644 --- a/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationAdd.vue +++ b/anrui-scm/anrui-scm-ui/src/views/baseoutsourcingapplication/workflow/baseoutsourcingapplicationAdd.vue @@ -599,6 +599,10 @@ export default { this.$message({ showClose: true, type: 'error', message: '因其中订金不为0,订金账户不能为空' }) return } + if (this.formobj.isSaleOrgApproval === '1' && this.formobj.approvalName === '') { + this.$message({ showClose: true, type: 'error', message: '因是否销售部审批选择是,则销售经理不能为空' }) + return + } // 提交的代码 this.formobj.userSid = window.sessionStorage.getItem('userSid') this.formobj.orgSid = this.$store.getters.orgSid