Prechádzať zdrojové kódy

2024.07.02
- 修改代金券操作页数据字段

zweiqin 1 rok pred
rodič
commit
6e98e8ab6a

+ 2 - 2
src/views/voucherManagement/voucherOperation/index.vue

@@ -185,9 +185,9 @@ export default {
       this.voucherChooseInfo.platformVoucherId = id
       if (this.voucherChooseInfo.platformVoucherId) {
         const res1 = await getByUserOrderShopVoucher({ page: 1, pageSize: 9999 })
-        this.voucherAcount.chongzhiRechargeTotal = Number(res1.data.rechargeTotal)
+        this.voucherAcount.chongzhiRechargeTotal = Number(res1.data.voucherTotal)
         const res2 = await getShopTotalShopVoucher({ page: 1, pageSize: 9999 })
-        this.voucherAcount.duihuanRechargeTotal = Number(res2.data.rechargeTotal)
+        this.voucherAcount.duihuanRechargeTotal = Number(res2.data.voucherTotal)
       }
     },
     handleTransfer() {