diff --git a/src/views/emis/emisWaybill/waybillRecord.vue b/src/views/emis/emisWaybill/waybillRecord.vue index 4c5f3684..c0b7a245 100644 --- a/src/views/emis/emisWaybill/waybillRecord.vue +++ b/src/views/emis/emisWaybill/waybillRecord.vue @@ -1066,14 +1066,14 @@ created() { if(this.action=='add' ){ this.billCode=this.$route.query.billCode; - this.addFrom="userOrder"; - if(this.$route.query.addFrom=="userOrder"){ + this.addFrom="userOrder"; const title = '接单'; const route = Object.assign({}, this.$route, { title: `${title}` }) this.$store.dispatch('tagsView/updateVisitedView', route) }else{ this.billCode=null; + this.addFrom=null; const title = '运单录入'; const route = Object.assign({}, this.$route, { title: `${title}` }) this.$store.dispatch('tagsView/updateVisitedView', route) @@ -1081,7 +1081,7 @@ created() { } else if(this.action=='modify'){ - const title = '运单修改'; + const title = '运单修改'; const route = Object.assign({}, this.$route, { title: `${title}` }) this.$store.dispatch('tagsView/updateVisitedView', route) }