轨迹异常跳转运单查询携带参数调整

This commit is contained in:
wuteng 2026-04-13 17:04:01 +08:00
parent 0a0229e373
commit b03f69559a
2 changed files with 11 additions and 2 deletions

View File

@ -44,6 +44,11 @@ export default {
svalue:this.value, svalue:this.value,
} }
}, },
watch: {
value(newVal) {
this.svalue = newVal;
}
},
methods: { methods: {
onClear(){ onClear(){
this.svalue=null; this.svalue=null;

View File

@ -924,7 +924,8 @@ export default {
} }
}, },
watch: { watch: {
$route () { $route (to,from) {
const billCode = to.query.billCode;
if(this.$route.query.action=='queryByCredit'){ if(this.$route.query.action=='queryByCredit'){
if(this.$route.query.custNo!=null){ if(this.$route.query.custNo!=null){
this.queryParams.custNo=this.$route.query.custNo; this.queryParams.custNo=this.$route.query.custNo;
@ -951,7 +952,10 @@ export default {
this.getList(); this.getList();
} }
if(billCode){
this.queryParams.billCode = billCode;
this.getList();
}
} }
}, },
created() { created() {