This commit is contained in:
linfso 2024-12-23 11:28:23 +08:00
parent 3a02cd10f5
commit 280d08f969

View File

@ -1066,14 +1066,14 @@ created() {
if(this.action=='add' ){ if(this.action=='add' ){
this.billCode=this.$route.query.billCode; this.billCode=this.$route.query.billCode;
this.addFrom="userOrder";
if(this.$route.query.addFrom=="userOrder"){ if(this.$route.query.addFrom=="userOrder"){
this.addFrom="userOrder";
const title = '接单'; const title = '接单';
const route = Object.assign({}, this.$route, { title: `${title}` }) const route = Object.assign({}, this.$route, { title: `${title}` })
this.$store.dispatch('tagsView/updateVisitedView', route) this.$store.dispatch('tagsView/updateVisitedView', route)
}else{ }else{
this.billCode=null; this.billCode=null;
this.addFrom=null;
const title = '运单录入'; const title = '运单录入';
const route = Object.assign({}, this.$route, { title: `${title}` }) const route = Object.assign({}, this.$route, { title: `${title}` })
this.$store.dispatch('tagsView/updateVisitedView', route) this.$store.dispatch('tagsView/updateVisitedView', route)
@ -1081,7 +1081,7 @@ created() {
} }
else if(this.action=='modify'){ else if(this.action=='modify'){
const title = '运单修改'; const title = '运单修改';
const route = Object.assign({}, this.$route, { title: `${title}` }) const route = Object.assign({}, this.$route, { title: `${title}` })
this.$store.dispatch('tagsView/updateVisitedView', route) this.$store.dispatch('tagsView/updateVisitedView', route)
} }