Ver código fonte

修改卡详情资费字段

774078984@qq.com 2 meses atrás
pai
commit
a2025a76dd

+ 5 - 1
src/views/lotCard/cardList/config.js

@@ -227,7 +227,11 @@ export const SearchForm = [
 export const columnsCard = [
   {
     title: window.$t('lotCard.PackageName'),
-    slotName: 'name',
+    dataIndex: 'tariffName',
+    align: 'center', ellipsis: true
+  }, {
+    title: '流量包名称',
+    dataIndex: 'productName',
     align: 'center', ellipsis: true
   }, {
     title: window.$t('lotCard.PackageStatus'),

+ 0 - 3
src/views/lotCard/cardList/trafficUseDialog.vue

@@ -121,9 +121,6 @@
           </a-tab-pane>
           <a-tab-pane key="2" :title="$t('lotCard.CardPackageInformation')">
             <a-table :columns="columnsCard" :data="dataCard" :scroll="{ x: 'auto' }" :pagination="false">
-              <template #name="{ record }">
-                <span>{{ userType == 1 ? record.productName : record.tariffName }}</span>
-              </template>
             </a-table>
           </a-tab-pane>
           <a-tab-pane key="3" :title="$t('lotCard.EarlyWarningInformation')">