pages/cart/paymentPage/index.js
@@ -157,7 +157,7 @@ orderGoods: res.orderNumber }) this.setData({ price: res.payPrice, price: res.payPrice.toFixed(2), payPrice: res.payPrice.toFixed(2), ImmediatelyReceive: res.payPrice }) @@ -224,10 +224,11 @@ this.setData({ payId: res.payList[0].id, payPrice: res.payPrice, deduct: (this.data.price - this.data.payPrice).toFixed(2), deduct: (this.data.currentBalance / 100).toFixed(2), integral: this.data.integral - this.data.currentBalance, showIntegral: true }); console.log(this.data.price, this.data.payPrice, 123) } }) } else {