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()