Commit 2e8451de by 展昭

record add fromType

parent 95168df7
...@@ -101,8 +101,11 @@ export default { ...@@ -101,8 +101,11 @@ export default {
this.setPageNavState(); this.setPageNavState();
this.globalNavLeftArrowClick(this.navLeftArrowClick); this.globalNavLeftArrowClick(this.navLeftArrowClick);
this.accountId = this.$route.query.accountId; this.accountId = this.$route.query.accountId;
if (this.getBeginDate > "2020-04-30") { const formType = this.$route.query.fromType;
this.title = dayjs(this.getBeginDate).format("M") + "月" + "资金记录"; if (!fromType || fromType != "more") {
if (this.getBeginDate > "2020-04-30") {
this.title = dayjs(this.getBeginDate).format("M") + "月" + "资金记录";
}
} }
} }
}; };
......
...@@ -89,7 +89,7 @@ export default { ...@@ -89,7 +89,7 @@ export default {
toPage() { toPage() {
this.$router.push({ this.$router.push({
name: "billrecord", name: "billrecord",
query: { accountId: this.summary.accountId } query: { accountId: this.summary.accountId,formType:'more' }
}); });
}, },
toNextPage(index, name) { toNextPage(index, name) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or sign in to comment