+
继续付款
@@ -416,10 +417,10 @@
v-if="payState == 1"
>
- 待支付金额:¥{{ orderData.pay.pay_money }}
+ 待支付金额:¥{{ payInfo.pay_money }}
预存款支付(当前余额{{ userInfo.balance }},本次抵扣{{
- orderData.pay.pay_money
+ payInfo.pay_money
}})
@@ -428,7 +429,7 @@
@@ -612,6 +613,7 @@ export default {
userInfo: JSON.parse(localStorage.getItem("userInfo")),
imgUrl: Setting.uplodBaseURL,
orderData: {},
+ payInfo: {},//订单支付信息
// 提示弹框配置
dialogCon: {},
dialogType: "", //弹框当前打开的弹框
@@ -682,6 +684,7 @@ export default {
.then((res) => {
console.log(res.data);
this.orderData = res.data;
+ this.payInfo = res.data.pay;
this.tableData = res.data.order_goods;
this.tableData.map((item) => {
item.buyer_messag = this.orderData.buyer_message;
@@ -786,7 +789,7 @@ export default {
this.paymentForm.is_balance = false;
this.Tobepaid = Number(this.orderData.pay_money);
} else if (val) {
- let num = Number(this.userInfo.balance) - Number(this.orderData.pay.pay_money);
+ let num = Number(this.userInfo.balance) - Number(this.payInfo.pay_money);
this.paymentForm.is_balance = true;
if (num < Number(this.userInfo.balance)) {
this.Tobepaid = 0;