石广澎
2024-09-20 746ac7181f8461047342d9e85ccef7aad3d92b5b
feat(支付): 支付金额处理
1个文件已修改
4 ■■■■ 已修改文件
pay/scanpay.vue 4 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
pay/scanpay.vue
@@ -456,6 +456,8 @@
      // 金额 this.money
      uni.showLoading()
      const params = {
        money: (this.money * 100).toFixed(0),
        shopId: this.shopInfo.id,
        payWay: this.payWay,
        buyerNote: this.buyerNote,
        score: 0,
@@ -465,8 +467,6 @@
        params.activityQrcodeId = this.activityQrcodeId
      }
      if (this.cid) {
        params.money = Number(this.money * 100)
        params.shopId = this.shopInfo.id
        params.cid = this.cid
      }
      //生成订单