修改查询提成的bug

This commit is contained in:
许允枞 2024-11-11 13:41:03 +08:00
parent 556ef20c6e
commit 1dc7e70f73

View File

@ -94,6 +94,7 @@ export default {
}); });
}, },
selectDate() { selectDate() {
this.page = 1;
this.show = false; this.show = false;
const date = new Date(this.value1); const date = new Date(this.value1);
const year = date.getFullYear(); const year = date.getFullYear();
@ -107,6 +108,7 @@ export default {
this.value1 = Number(new Date()); this.value1 = Number(new Date());
this.list = []; this.list = [];
this.totalRoyalty = 0; this.totalRoyalty = 0;
this.page = 1;
this.getRoyalty(); this.getRoyalty();
}, },
formatDate(timestamp) { formatDate(timestamp) {