This commit is contained in:
linfso 2025-08-06 18:11:27 +08:00
parent b19d0e3a7a
commit 9ba3012f09
3 changed files with 45 additions and 2 deletions

View File

@ -216,8 +216,22 @@ export default {
} }
}; };
}, },
created() { watch: {
$route () {
if(this.$route.query.opType=='2'){
this.queryParams.billMonth=this.$route.query.billMonth;
this.queryParams.openBillStatus='0';
this.getList();
}
}
},
created() {
if(this.$route.query.opType=='2'){
this.queryParams.billMonth=this.$route.query.billMonth;
this.queryParams.openBillStatus='0';
this.getList();
}
}, },
methods: { methods: {
/** 查询统计信息 */ /** 查询统计信息 */

View File

@ -43,7 +43,23 @@ export default {
queryType:null queryType:null
}; };
}, },
watch: {
$route () {
if(this.$route.query.opType=='1'){
this.activeTab="payback";
}
else if(this.$route.query.opType=='2'){
this.activeTab="openbill";
}
}
},
created() { created() {
if(this.$route.query.opType=='1'){
this.activeTab="payback";
}
else if(this.$route.query.opType=='2'){
this.activeTab="openbill";
}
}, },
methods: { methods: {
handleTabsClick(){ handleTabsClick(){

View File

@ -228,8 +228,21 @@ export default {
} }
}; };
}, },
watch: {
$route () {
if(this.$route.query.opType=='1'){
this.queryParams.billMonth=this.$route.query.billMonth;
this.queryParams.paymentStatus='0';
this.getList();
}
}
},
created() { created() {
if(this.$route.query.opType=='1'){
this.queryParams.billMonth=this.$route.query.billMonth;
this.queryParams.paymentStatus='0';
this.getList();
}
}, },
methods: { methods: {
/** 查询统计信息 */ /** 查询统计信息 */