闫增涛
2024-09-18 c96612e8a63ecef9590be0f8b5199277ec94e5b9
pages/cart/paymentPage/index.js
@@ -241,7 +241,7 @@
        if (res) {
          this.setData({
            payId: res.payList[0].id,
            payPrice: res.payPrice,
            payPrice: res.payPrice.toFixed(2),
            deduct: (this.data.currentBalance / 100).toFixed(2),
            integral: this.data.integral - this.data.currentBalance,
            showIntegral: true
@@ -258,7 +258,7 @@
        console.log(res, "取消用积分")
        if (res) {
          this.setData({
            payPrice: res.payPrice,
            payPrice: res.payPrice.toFixed(2),
            showIntegral: false
          });
          this.getIntegral()