diff --git a/src/views/emis/emisWaybill/waybillModify.vue b/src/views/emis/emisWaybill/waybillModify.vue index 6d652a10..2cb9d21d 100644 --- a/src/views/emis/emisWaybill/waybillModify.vue +++ b/src/views/emis/emisWaybill/waybillModify.vue @@ -1474,7 +1474,7 @@ methods: { this.form.printTypeCheckList=[0,1,5] this.form.destinationCountry=this.form.reciever.country; - if(this.form.packType&&this.form.packType!=''){ + if(this.form.packType!=null&&this.form.packType!=''){ this.form.packType=this.form.packType.split(","); } diff --git a/src/views/emis/emisWaybillAjustApply/adjustPanel.vue b/src/views/emis/emisWaybillAjustApply/adjustPanel.vue index fed54520..fc19e22f 100644 --- a/src/views/emis/emisWaybillAjustApply/adjustPanel.vue +++ b/src/views/emis/emisWaybillAjustApply/adjustPanel.vue @@ -1334,7 +1334,7 @@ export default { this.form=this.newValue; console.log("====>newValue this.form==>",this.form); - if(this.form.packType&&this.form.packType!=''){ + if(this.form.packType!=null&&this.form.packType!=''){ this.form.packType=this.form.packType.split(","); } @@ -1434,7 +1434,7 @@ export default { // this.form=Object.assign({},this.newValue); this.form=this.newValue; - if(this.form.packType&&this.form.packType!=''){ + if(this.form.packType!=null&&this.form.packType!=''){ this.form.packType=this.form.packType.split(","); console.log("==>this.form.packTypeArr==>",this.form.packTypeArr)