Jelajahi Sumber

fix: 规则名称 prop=standard_name, 额度类型移除 quota_type

alphah 2 minggu lalu
induk
melakukan
48bb3df3e9

+ 2 - 2
frontend/src/views/module_payment/institution/components/QuotaList.vue

@@ -18,9 +18,9 @@
       <el-table-column type="index" label="序号" width="60" align="center" />
       <el-table-column prop="quota_id" label="额度ID" min-width="160" show-overflow-tooltip />
       <el-table-column prop="employee_id" label="员工ID" min-width="140" show-overflow-tooltip />
-      <el-table-column prop="quota_type" label="额度类型" width="90">
+      <el-table-column prop="total_amount" label="额度类型" width="90">
         <template #default="scope">
-          {{ formatQuotaType(scope.row.quota_type) }}
+          {{ scope.row.total_amount ? '余额' : '额度' }}
         </template>
       </el-table-column>
       <el-table-column prop="total_amount" label="总金额" width="100" align="right">

+ 1 - 1
frontend/src/views/module_payment/institution/components/RuleList.vue

@@ -17,7 +17,7 @@
       </template>
       <el-table-column type="index" label="序号" width="60" align="center" />
       <el-table-column prop="rule_id" label="规则ID" min-width="160" show-overflow-tooltip />
-      <el-table-column prop="name" label="规则名称" min-width="140" />
+      <el-table-column prop="standard_name" label="规则名称" min-width="140" />
       <el-table-column prop="max_amount" label="单笔限额" width="100" align="right">
         <template #default="scope">
           {{ scope.row.max_amount ? `¥${scope.row.max_amount}` : "-" }}