From bf1ba99cdae47cd86ae081e321870326c9ad2d8c Mon Sep 17 00:00:00 2001 From: qiezi <15576055375@163.com> Date: Mon, 14 Oct 2024 11:01:37 +0800 Subject: [PATCH] 2024-10-12 --- src/views/modules/quotation/requestForQuote.vue | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/views/modules/quotation/requestForQuote.vue b/src/views/modules/quotation/requestForQuote.vue index 3d12cbd..1324dac 100644 --- a/src/views/modules/quotation/requestForQuote.vue +++ b/src/views/modules/quotation/requestForQuote.vue @@ -2553,11 +2553,11 @@ export default { return } } else { - if ((this.modalData.tracker === '' || this.modalData.tracker == null) && this.modalData.sourcing === 'Y') { + if ((this.modalData.tracker === '' || this.modalData.tracker == null) && (this.modalData.sourcing === 'Y' || this.modalData.sourcing === '0' || this.modalData.sourcing === 0)) { this.$message.warning('请选择采购专员编码!') return } - if ((this.modalData.trackerName === '' || this.modalData.trackerName == null) && this.modalData.sourcing === 'Y') { + if ((this.modalData.trackerName === '' || this.modalData.trackerName == null) && (this.modalData.sourcing === 'Y' || this.modalData.sourcing === '0' || this.modalData.sourcing === 0)) { this.$message.warning('请选择采购专员名称!') return } @@ -3395,11 +3395,11 @@ export default { cancelButtonText: '取消', type: 'warning' }).then(() => { - if ((this.modalData.tracker === '' || this.modalData.tracker == null) && this.modalData.sourcing === 'Y') { + if ((this.modalData.tracker === '' || this.modalData.tracker == null) && (this.modalData.sourcing === 'Y' || this.modalData.sourcing === '0' || this.modalData.sourcing === 0)) { this.$message.warning('请选择采购专员编码!') return } - if ((this.modalData.trackerName === '' || this.modalData.trackerName == null) && this.modalData.sourcing === 'Y') { + if ((this.modalData.trackerName === '' || this.modalData.trackerName == null) && (this.modalData.sourcing === 'Y' || this.modalData.sourcing === '0' || this.modalData.sourcing === 0)) { this.$message.warning('请选择采购专员名称!') return }