Ver Fonte

feat: 新增手续费字段

叶静 há 2 semanas atrás
pai
commit
ce1e323b16

+ 6 - 0
src/app/shop/admin/finance/withdraw/detail.vue

@@ -78,6 +78,12 @@
               <span class="value">৳{{ withdrawDetail.amount || 0 }}</span>
             </div>
           </el-col>
+          <el-col :span="6">
+            <div class="info-item" :style="{ '--label-width': formLabelWidth }">
+              <span class="label">{{ t('modules.withdraw.fee') }}:</span>
+              <span class="value">৳{{ withdrawDetail.fee || 0 }}</span>
+            </div>
+          </el-col>
           <el-col :span="6">
             <div class="info-item" :style="{ '--label-width': formLabelWidth }">
               <span class="label">{{ t('modules.withdraw.channel') }}:</span>

+ 3 - 0
src/app/shop/admin/finance/withdraw/index.vue

@@ -75,6 +75,9 @@
           <el-table-column :label="t('modules.withdraw.amount')" min-width="130" align="center">
             <template #default="scope"> ৳{{ scope.row.amount || 0 }} </template>
           </el-table-column>
+          <el-table-column :label="t('modules.withdraw.fee')" min-width="130" align="center">
+            <template #default="scope"> ৳{{ scope.row.fee || 0 }} </template>
+          </el-table-column>
           <el-table-column :label="t('common.status')" min-width="100" align="center">
             <template #default="scope">
               <el-tag :type="getStatusType(scope.row.status)">

+ 1 - 0
src/locales/en-US/index.json

@@ -922,6 +922,7 @@
       "phoneNo": "Phone No",
       "accountType": "Withdraw Type",
       "amount": "Withdraw Amount",
+      "fee": "Withdraw Fee",
       "receivingBank": "Receiving Bank",
       "receivingAccountName": "Receiving Account Name",
       "receivingAccount": "Receiving Account",

+ 1 - 0
src/locales/zh-CN/index.json

@@ -863,6 +863,7 @@
       "phoneNo": "手机号",
       "accountType": "提款类型",
       "amount": "提款金额",
+      "fee": "手续费",
       "receivingBank": "收款银行",
       "receivingAccountName": "收款账户名称",
       "receivingAccount": "收款账户",