Browse Source

2024-10-12

master
qiezi 1 year ago
parent
commit
a9118e6b4a
  1. 20
      src/views/modules/quotation/requestForQuote.vue

20
src/views/modules/quotation/requestForQuote.vue

@ -375,7 +375,7 @@
</el-dialog> </el-dialog>
<!--选择项目模态框--> <!--选择项目模态框-->
<el-dialog title="选择-项目" :close-on-click-modal="false" @close="closeProjectInfoDialog" @open="searchProjectInfoList" <el-dialog title="选择-项目" :close-on-click-modal="false" @close="closeProjectInfoDialog" @open="searchProjectInfoList"
:visible.sync="chooseProjectListFlag" width="35%">
:visible.sync="chooseProjectListFlag" width="600px">
<el-form label-position="top" :model="searchProjectData" ref="closeProjectInfoForm"> <el-form label-position="top" :model="searchProjectData" ref="closeProjectInfoForm">
<el-row :gutter="10"> <el-row :gutter="10">
<el-col :span="6"> <el-col :span="6">
@ -1010,7 +1010,7 @@ export default {
if (newVal === false){ if (newVal === false){
this.rejectOpinion = '' this.rejectOpinion = ''
} }
}
},
}, },
data() { data() {
@ -3394,6 +3394,14 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).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.modalData.nodeConclusion = 'Y'
this.submitData() this.submitData()
}) })
@ -3406,6 +3414,14 @@ export default {
cancelButtonText: '取消', cancelButtonText: '取消',
type: 'warning' type: 'warning'
}).then(() => { }).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.rejectOpinion = this.rejectOpinion
this.modalData.nodeConclusion = 'N' this.modalData.nodeConclusion = 'N'
this.submitData() this.submitData()

Loading…
Cancel
Save