浏览代码

修改企业充值为M豆

lifanagju_citu 4 月之前
父节点
当前提交
1022ea8ed7
共有 2 个文件被更改,包括 14 次插入6 次删除
  1. 9 4
      src/views/pay/currency/recharge/index.vue
  2. 5 2
      src/views/pay/currency/rechargePackage/index.vue

+ 9 - 4
src/views/pay/currency/recharge/index.vue

@@ -62,9 +62,9 @@
   <ContentWrap>
     <el-table v-loading="loading" :data="list" :stripe="true" :show-overflow-tooltip="true">
       <el-table-column label="编号" align="center" prop="id" />
-      <el-table-column label="用户实际到余额" align="center" prop="totalPrice">
+      <el-table-column label="用户实际到账M豆" align="center" prop="totalPrice">
         <template #default="scope">
-          {{ fenToYuan(scope.row.totalPrice) }}
+          {{ parseInt(fenToYuan(scope.row.totalPrice)) }}
         </template>
       </el-table-column>
       <el-table-column label="实际支付金额" align="center" prop="payPrice">
@@ -72,9 +72,14 @@
           {{ fenToYuan(scope.row.payPrice) }}
         </template>
       </el-table-column>
-      <el-table-column label="钱包赠送金额" align="center" prop="bonusPrice">
+      <el-table-column label="到账M豆" align="center" prop="receiptPrice">
         <template #default="scope">
-          {{ fenToYuan(scope.row.bonusPrice) }}
+          {{ parseInt(fenToYuan(scope.row.receiptPrice)) }}
+        </template>
+      </el-table-column>
+      <el-table-column label="赠送M豆" align="center" prop="bonusPrice">
+        <template #default="scope">
+          {{ parseInt(fenToYuan(scope.row.bonusPrice)) }}
         </template>
       </el-table-column>
       <el-table-column label="是否已支付" align="center" prop="payStatus">

+ 5 - 2
src/views/pay/currency/rechargePackage/index.vue

@@ -61,8 +61,11 @@
       <el-table-column label="支付金额" align="center" prop="payPrice">
         <template #default="{ row }"> {{ fenToYuan(row.payPrice) }}</template>
       </el-table-column>
-      <el-table-column label="赠送金额" align="center" prop="bonusPrice">
-        <template #default="{ row }"> {{ fenToYuan(row.bonusPrice) }}</template>
+      <el-table-column label="到账M豆" align="center" prop="receiptPrice">
+        <template #default="{ row }"> {{ parseInt(fenToYuan(row.receiptPrice)) }}</template>
+      </el-table-column>
+      <el-table-column label="赠送M豆" align="center" prop="bonusPrice">
+        <template #default="{ row }"> {{ parseInt(fenToYuan(row.bonusPrice)) }}</template>
       </el-table-column>
       <el-table-column label="状态" align="center" prop="status">
         <template #default="scope">