diff --git a/src/views/emis/emisWaybill/waybillGot.vue b/src/views/emis/emisWaybill/waybillGot.vue index 4ddb3e1e..7a8a950c 100644 --- a/src/views/emis/emisWaybill/waybillGot.vue +++ b/src/views/emis/emisWaybill/waybillGot.vue @@ -1814,7 +1814,7 @@ methods: { this.form.masterBillCode = null; this.form.blVirtual = null; } - if(item && !['002','078'].includes(item[0]) && this.form.remark && this.form.remark!==null){ + if(item && !['002'].includes(item[0]) && this.form.remark && this.form.remark!==null){ this.form.remark = this.form.remark.replace(/该单为虚拟单:对应主单为[\da-zA-Z]+/g, ''); } if(item!=null && item.length==2){ @@ -2447,7 +2447,7 @@ methods: { if (val) { this.form.masterBillCode = val.value; this.masterBillProductType = val.productType; - if (['002', '078'].includes(this.form.transLine)) { + if (['002'].includes(this.form.transLine)) { if (this.form.remark==null || this.form.remark.trim() === '') { //生成备注 this.form.remark = `该单为虚拟单:对应主单为${this.form.masterBillCode}`; diff --git a/src/views/emis/emisWaybill/waybillModify.vue b/src/views/emis/emisWaybill/waybillModify.vue index 02a40eb0..7cf0f5fe 100644 --- a/src/views/emis/emisWaybill/waybillModify.vue +++ b/src/views/emis/emisWaybill/waybillModify.vue @@ -1806,7 +1806,7 @@ methods: { this.form.masterBillCode = null; this.form.blVirtual = null; } - if(item && !['002','078'].includes(item[0]) && this.form.remark && this.form.remark!==null){ + if(item && !['002'].includes(item[0]) && this.form.remark && this.form.remark!==null){ this.form.remark = this.form.remark.replace(/该单为虚拟单:对应主单为[\da-zA-Z]+/g, ''); } if(item!=null && item.length==2){ @@ -2447,7 +2447,7 @@ methods: { if (val) { this.form.masterBillCode = val.value; this.masterBillProductType = val.productType; - if (['002', '078'].includes(this.form.transLine)) { + if (['002'].includes(this.form.transLine)) { if (this.form.remark == null || this.form.remark.trim() === '') { //生成备注 this.form.remark = `该单为虚拟单:对应主单为${this.form.masterBillCode}`; diff --git a/src/views/emis/emisWaybill/waybillRecord.vue b/src/views/emis/emisWaybill/waybillRecord.vue index a876b8e1..cac0cc4d 100644 --- a/src/views/emis/emisWaybill/waybillRecord.vue +++ b/src/views/emis/emisWaybill/waybillRecord.vue @@ -1807,7 +1807,7 @@ methods: { this.form.masterBillCode = null; this.form.blVirtual = null; } - if(item && !['002','078'].includes(item[0]) && this.form.remark && this.form.remark!==null){ + if(item && !['002'].includes(item[0]) && this.form.remark && this.form.remark!==null){ this.form.remark = this.form.remark.replace(/该单为虚拟单:对应主单为[\da-zA-Z]+/g, ''); } if(item!=null && item.length==2){ @@ -2435,7 +2435,7 @@ methods: { if (val) { this.form.masterBillCode = val.value; this.masterBillProductType = val.productType; - if (['002', '078'].includes(this.form.transLine)) { + if (['002'].includes(this.form.transLine)) { if (this.form.remark == null || this.form.remark.trim() === '') { //生成备注 this.form.remark = `该单为虚拟单:对应主单为${this.form.masterBillCode}`;