Commit 9b26b03e by 李嘉林

支付成功换字段展示

parent 8ff65369
...@@ -357,8 +357,9 @@ export default { ...@@ -357,8 +357,9 @@ export default {
} }
}); });
this.orderDetail = res.data; this.orderDetail = res.data;
this.totalMoney = (Number(res.data.totalAmountPayable) + sendTotalPrice).toFixed(2); let price = res.data.amountLastPaid ? res.data.amountLastPaid : res.data.totalAmountPayable;
console.log(Number(res.data.totalAmountPayable).toFixed(2),'--Number(res.data.totalAmountPayable).toFixed(2)') this.totalMoney = (Number(price) + sendTotalPrice).toFixed(2);
console.log(Number(price).toFixed(2),'--Number(price).toFixed(2)')
this.inviteelShow = true; this.inviteelShow = true;
}else { }else {
this.showPage = true; this.showPage = true;
......
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 to comment