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 {
}
};
},
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: {
/** 查询统计信息 */

View File

@ -43,7 +43,23 @@ export default {
queryType:null
};
},
watch: {
$route () {
if(this.$route.query.opType=='1'){
this.activeTab="payback";
}
else if(this.$route.query.opType=='2'){
this.activeTab="openbill";
}
}
},
created() {
if(this.$route.query.opType=='1'){
this.activeTab="payback";
}
else if(this.$route.query.opType=='2'){
this.activeTab="openbill";
}
},
methods: {
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() {
if(this.$route.query.opType=='1'){
this.queryParams.billMonth=this.$route.query.billMonth;
this.queryParams.paymentStatus='0';
this.getList();
}
},
methods: {
/** 查询统计信息 */