From 7c8264c37a65580d9d8a5541249a7d4bb5a8618e Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Fri, 30 Aug 2024 09:34:35 +0800 Subject: [PATCH] 2024-07-23 --- .../modules/quotation/requestForQuote.vue | 29 ++++++++++++------- 1 file changed, 18 insertions(+), 11 deletions(-) diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue index 656d50d..2678dec 100644 --- a/src/views/modules/quotation/requestForQuote.vue +++ b/src/views/modules/quotation/requestForQuote.vue @@ -243,13 +243,6 @@ - - - 采购专员 - 采购专员 - - - 报价专员 @@ -257,6 +250,15 @@ + + + 采购专员 + + + + + + @@ -299,7 +301,7 @@ - + - + + + + + @@ -1107,6 +1113,7 @@ export default { this.$refs.projectPartTable.clearSelection(); } }, + }, data() { return { @@ -2486,11 +2493,11 @@ export default { this.$message.warning('请选择客户名称!') return } - if (this.modalData.tracker === '' || this.modalData.tracker == null) { + if ((this.modalData.tracker === '' || this.modalData.tracker == null) && this.modalData.sourcing === 'Y') { this.$message.warning('请选择采购专员编码!') return } - if (this.modalData.trackerName === '' || this.modalData.trackerName == null) { + if ((this.modalData.trackerName === '' || this.modalData.trackerName == null) && this.modalData.sourcing !== 'Y') { this.$message.warning('请选择采购专员名称!') return }