Selaa lähdekoodia

打款页面优化: 增加货币

lxf 1 vuosi sitten
vanhempi
commit
f36842d704
1 muutettua tiedostoa jossa 4 lisäystä ja 12 poistoa
  1. 4 12
      src/views/finance/fundManage/accountPayment/index.vue

+ 4 - 12
src/views/finance/fundManage/accountPayment/index.vue

@@ -15,11 +15,10 @@
         :action-list="[]"
         @moreSearch="moreSearch"
         @get-list="getList">
-        <template #pic="{ item }">
-          <div v-if="item.fileList.length > 0">
-            <img :src="item.fileList[0].fileUrl" class="pic" @click="handleClickFile(item.fileList[0])" />
+        <template #amount="{ item }">
+          <div style="width: 100%">
+            <span>{{ item.currency }}{{ item.amount }}</span>
           </div>
-          <div v-else></div>
         </template>
       </byTable>
     </div>
@@ -251,7 +250,7 @@ const config = computed(() => {
     {
       attrs: {
         label: "金额",
-        prop: "amount",
+        slot: "amount",
         width: 120,
       },
     },
@@ -704,13 +703,6 @@ const submitSearch = () => {
 .user {
   padding: 20px;
 }
-.pic {
-  object-fit: contain;
-  width: 50px;
-  height: 50px;
-  cursor: pointer;
-  vertical-align: middle;
-}
 ::v-deep(.el-input-number .el-input__inner) {
   text-align: left;
 }