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 }