Commit 2f50c6e1 by cocomilk2012

update

parent 3bd508e2
...@@ -416,6 +416,7 @@ export default { ...@@ -416,6 +416,7 @@ export default {
await this.loadBillPeriod().then( await this.loadBillPeriod().then(
data => { data => {
this.period = data; this.period = data;
console.log("this.period=", this.period);
flag = true; flag = true;
this.initMonth(); this.initMonth();
}, },
...@@ -437,7 +438,7 @@ export default { ...@@ -437,7 +438,7 @@ export default {
data => { data => {
this.data.balance = data.balance; this.data.balance = data.balance;
this.data.waitPay = data.waitPay; this.data.waitPay = data.waitPay;
this.nativePayUrl = `hrs100://native/SelectRechargeMode?accountType=-1&periodId=${this.currentPerId}&fee=${this.data.waitPay}`; this.nativePayUrl = `hrs100://native/SelectRechargeMode?accountId=${this.currentPerId}&fee=${this.data.waitPay}`;
console.log("this.nativePayUrl=", this.nativePayUrl); console.log("this.nativePayUrl=", this.nativePayUrl);
}, },
err => { err => {
...@@ -478,6 +479,7 @@ export default { ...@@ -478,6 +479,7 @@ export default {
if (localPerIndex && localPerIndex != "undefined") { if (localPerIndex && localPerIndex != "undefined") {
this.currentPerIndex = localPerIndex; this.currentPerIndex = localPerIndex;
this.currentPerId = this.period[localPerIndex].id; this.currentPerId = this.period[localPerIndex].id;
this.currentPerName = this.period[localPerIndex].name; this.currentPerName = this.period[localPerIndex].name;
this.savePerBeginDate(this.period[localPerIndex].beginDate); this.savePerBeginDate(this.period[localPerIndex].beginDate);
...@@ -497,8 +499,8 @@ export default { ...@@ -497,8 +499,8 @@ export default {
} }
} }
} }
//TODO:根据APP传过来的periodId赋值给this.currentPerId //TODO:根据APP传过来的accountId赋值给this.currentPerId
const query_periodID = this.$route.query.periodID; const query_periodID = this.$route.query.accountId;
if (query_periodID) { if (query_periodID) {
this.currentPerId = query_periodID; this.currentPerId = query_periodID;
} }
......
...@@ -157,7 +157,7 @@ export default { ...@@ -157,7 +157,7 @@ export default {
data => { data => {
this.summary = data; this.summary = data;
console.log("this.summary=", this.summary); console.log("this.summary=", this.summary);
this.nativePayUrl = `hrs100://native/SelectRechargeMode?accountType=19&periodId=0&fee=${this.summary.waitPay}`; this.nativePayUrl = `hrs100://native/SelectRechargeMode?accountId=${this.summary.accountId}&fee=${this.summary.waitPay}`;
console.log("this.nativePayUrl=", this.nativePayUrl); console.log("this.nativePayUrl=", this.nativePayUrl);
}, },
err => { err => {
......
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