Browse Source

编辑的时候不触发 客户编码变化会清空项目号

master
han\hanst 4 days ago
parent
commit
f7c17bb797
  1. 6
      src/views/modules/quotation/requestForQuote.vue

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

@ -874,7 +874,8 @@ export default {
this.getApprovalList(); this.getApprovalList();
}, },
'modalData.customerNo'(newV, oldV) { 'modalData.customerNo'(newV, oldV) {
if (oldV) {
// flag === '2'
if (oldV && this.modalData.flag !== '2') {
if (!newV) { if (!newV) {
this.modalData.customerDesc = '' this.modalData.customerDesc = ''
} }
@ -885,7 +886,8 @@ export default {
} }
}, },
'modalData.projectId'(newV, oldV) { 'modalData.projectId'(newV, oldV) {
if (oldV) {
// flag === '2'
if (oldV && this.modalData.flag !== '2') {
if (!newV) { if (!newV) {
this.modalData.projectName = '' this.modalData.projectName = ''
} }

Loading…
Cancel
Save