This commit is contained in:
linfso 2024-12-26 08:17:53 +08:00
parent 9830fb412d
commit 0a68428d57
3 changed files with 30 additions and 3 deletions

View File

@ -1277,7 +1277,12 @@ methods: {
// }); // });
this.billCode=null; this.billCode=null;
this.form.billCode=null; this.form.billCode=null;
this.initData(); // 如果接单则关闭当前标签页
if(this.action=='got'){
this.jumpToOrderList();
}else{
this.initData();
}
} }
}, },
@ -1557,6 +1562,10 @@ methods: {
beforeDestroy() { beforeDestroy() {
clearInterval(this.timer); clearInterval(this.timer);
}, },
jumpToOrderList(){
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.replace({ path: '/d24/orderManagement/UserOrderList'});
},
// 取消按钮 // 取消按钮
cancel() { cancel() {
this.reset(); this.reset();

View File

@ -1277,7 +1277,12 @@ methods: {
// }); // });
this.billCode=null; this.billCode=null;
this.form.billCode=null; this.form.billCode=null;
this.initData(); // 如果接单则关闭当前标签页
if(this.action=='got'){
this.jumpToOrderList();
}else{
this.initData();
}
} }
}, },
@ -1557,6 +1562,10 @@ methods: {
beforeDestroy() { beforeDestroy() {
clearInterval(this.timer); clearInterval(this.timer);
}, },
jumpToOrderList(){
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.replace({ path: '/d24/orderManagement/UserOrderList'});
},
// 取消按钮 // 取消按钮
cancel() { cancel() {
this.reset(); this.reset();

View File

@ -1277,7 +1277,12 @@ methods: {
// }); // });
this.billCode=null; this.billCode=null;
this.form.billCode=null; this.form.billCode=null;
this.initData(); // 如果接单则关闭当前标签页
if(this.action=='got'){
this.jumpToOrderList();
}else{
this.initData();
}
} }
}, },
@ -1557,6 +1562,10 @@ methods: {
beforeDestroy() { beforeDestroy() {
clearInterval(this.timer); clearInterval(this.timer);
}, },
jumpToOrderList(){
this.$store.dispatch("tagsView/delView", this.$route);
this.$router.replace({ path: '/d24/orderManagement/UserOrderList'});
},
// 取消按钮 // 取消按钮
cancel() { cancel() {
this.reset(); this.reset();