From a9118e6b4a4d9bfd181b317bb064f0c77693b6e0 Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Sat, 12 Oct 2024 20:55:56 +0800 Subject: [PATCH] 2024-10-12 --- .../modules/quotation/requestForQuote.vue | 20 +++++++++++++++++-- 1 file changed, 18 insertions(+), 2 deletions(-) diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue index f684a7d..f551bb2 100644 --- a/src/views/modules/quotation/requestForQuote.vue +++ b/src/views/modules/quotation/requestForQuote.vue @@ -375,7 +375,7 @@ + :visible.sync="chooseProjectListFlag" width="600px"> @@ -1010,7 +1010,7 @@ export default { if (newVal === false){ this.rejectOpinion = '' } - } + }, }, data() { @@ -3394,6 +3394,14 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { + if ((this.modalData.tracker === '' || this.modalData.tracker == null) && this.modalData.sourcing === 'Y') { + this.$message.warning('请选择采购专员编码!') + return + } + if ((this.modalData.trackerName === '' || this.modalData.trackerName == null) && this.modalData.sourcing === 'Y') { + this.$message.warning('请选择采购专员名称!') + return + } this.modalData.nodeConclusion = 'Y' this.submitData() }) @@ -3406,6 +3414,14 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { + if ((this.modalData.tracker === '' || this.modalData.tracker == null) && this.modalData.sourcing === 'Y') { + this.$message.warning('请选择采购专员编码!') + return + } + if ((this.modalData.trackerName === '' || this.modalData.trackerName == null) && this.modalData.sourcing === 'Y') { + this.$message.warning('请选择采购专员名称!') + return + } this.modalData.rejectOpinion = this.rejectOpinion this.modalData.nodeConclusion = 'N' this.submitData()