|
@@ -453,36 +453,61 @@ export default {
|
|
|
}
|
|
|
});
|
|
|
},
|
|
|
- activated() {
|
|
|
+ // activated() {
|
|
|
|
|
|
- // 钱包余额页跳转过来
|
|
|
- if (this.$route.query && this.$route.query.status){
|
|
|
+ // // 钱包余额页跳转过来
|
|
|
+ // if (this.$route.query && this.$route.query.status){
|
|
|
|
|
|
- this.bill = this.$route.query.status
|
|
|
- this.changeFn(this.bill)
|
|
|
- //只有是从A进到B页面才执行
|
|
|
- // 将要执行的逻辑
|
|
|
- this.isShow = true;
|
|
|
- this.isDisabled = true;
|
|
|
- this.searchForm.customerId = this.$route.query.customerId;
|
|
|
- this.changeFn(this.$route.query.customerId);
|
|
|
- this.getDataList({
|
|
|
- pageSize: this.pageSize,
|
|
|
- pageNum: this.currentPage,
|
|
|
- type: this.bill,
|
|
|
- customerName: this.$route.query.customerName,
|
|
|
- customerNumber: this.$route.query.customerNumber,
|
|
|
- });
|
|
|
- this.getAmountList({
|
|
|
- type: this.bill,
|
|
|
- customerName: this.$route.query.customerName,
|
|
|
- customerNumber: this.$route.query.customerNumber,
|
|
|
- });
|
|
|
- }
|
|
|
+ // this.bill = this.$route.query.status
|
|
|
+ // this.changeFn(this.bill)
|
|
|
+ // //只有是从A进到B页面才执行
|
|
|
+ // // 将要执行的逻辑
|
|
|
+ // this.isShow = true;
|
|
|
+ // this.isDisabled = true;
|
|
|
+ // this.searchForm.customerId = this.$route.query.customerId;
|
|
|
+ // this.changeFn(this.$route.query.customerId);
|
|
|
+ // this.getDataList({
|
|
|
+ // pageSize: this.pageSize,
|
|
|
+ // pageNum: this.currentPage,
|
|
|
+ // type: this.bill,
|
|
|
+ // customerName: this.$route.query.customerName,
|
|
|
+ // customerNumber: this.$route.query.customerNumber,
|
|
|
+ // });
|
|
|
+ // this.getAmountList({
|
|
|
+ // type: this.bill,
|
|
|
+ // customerName: this.$route.query.customerName,
|
|
|
+ // customerNumber: this.$route.query.customerNumber,
|
|
|
+ // });
|
|
|
+ // }
|
|
|
|
|
|
- },
|
|
|
+ // },
|
|
|
created() {
|
|
|
|
|
|
+
|
|
|
+ if (this.$route.query && this.$route.query.status){
|
|
|
+
|
|
|
+this.bill = this.$route.query.status
|
|
|
+this.changeFn(this.bill)
|
|
|
+//只有是从A进到B页面才执行
|
|
|
+ // 将要执行的逻辑
|
|
|
+ this.isShow = true;
|
|
|
+ this.isDisabled = true;
|
|
|
+ this.searchForm.customerId = this.$route.query.customerId;
|
|
|
+ this.changeFn(this.$route.query.customerId);
|
|
|
+ this.getDataList({
|
|
|
+ pageSize: this.pageSize,
|
|
|
+ pageNum: this.currentPage,
|
|
|
+ type: this.bill,
|
|
|
+ customerName: this.$route.query.customerName,
|
|
|
+ customerNumber: this.$route.query.customerNumber,
|
|
|
+ });
|
|
|
+ this.getAmountList({
|
|
|
+ type: this.bill,
|
|
|
+ customerName: this.$route.query.customerName,
|
|
|
+ customerNumber: this.$route.query.customerNumber,
|
|
|
+ });
|
|
|
+}
|
|
|
+
|
|
|
// console.log(
|
|
|
|
|
|
// this.customerId,
|