Преглед на файлове

修改卡数量显示异常问题

wxy преди 3 месеца
родител
ревизия
e00d98509a

+ 10 - 0
src/views/OperationRecord/FlowpoolRecord/index.vue

@@ -0,0 +1,10 @@
+<template>
+  <div class=""></div>
+</template>
+
+<script setup>
+import { ref, onMounted, toRefs } from 'vue';
+</script>
+<style scoped>
+
+</style>

+ 10 - 0
src/views/OperationRecord/TariffRecord/index.vue

@@ -0,0 +1,10 @@
+<template>
+  <div class=""></div>
+</template>
+
+<script setup>
+import { ref, onMounted, toRefs } from 'vue';
+</script>
+<style scoped>
+
+</style>

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

@@ -4,7 +4,7 @@ export const columns = [
     { title: window.$t('lotCard.userName'), dataIndex: 'userName', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.userName'), dataIndex: 'userName', align: 'center', ellipsis: true },
     { title: 'IMSI', dataIndex: 'currentImsi', align: 'center', ellipsis: true },
     { title: 'IMSI', dataIndex: 'currentImsi', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.bind'), dataIndex: 'currentImsi', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.bind'), dataIndex: 'currentImsi', align: 'center', ellipsis: true },
-    // { title: 'SIM货币余额', dataIndex: 'moneyBalances', align: 'center', ellipsis:true  },
+    { title: 'SIM货币余额', dataIndex: 'moneyBalances', align: 'center', ellipsis:true  },
     { title: window.$t('lotCard.GenerationDate'), dataIndex: 'createTime', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.GenerationDate'), dataIndex: 'createTime', align: 'center', ellipsis: true },
     // { title: '支付方式', dataIndex: 'payType', align: 'center', ellipsis: true },
     // { title: '支付方式', dataIndex: 'payType', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.SimStatus'), dataIndex: 'iccidStatus', align: 'center', ellipsis: true },
     { title: window.$t('lotCard.SimStatus'), dataIndex: 'iccidStatus', align: 'center', ellipsis: true },

+ 0 - 1
src/views/lotCard/cardList/index.vue

@@ -113,7 +113,6 @@ const intData = async () => {
     return {
     return {
       ...sanitizedItem,
       ...sanitizedItem,
       payType: payType,
       payType: payType,
-      forewarningStatus: '正常',
       SilenceEndtime: '一个月',
       SilenceEndtime: '一个月',
       usedBg: '0',
       usedBg: '0',
       usableBg: '0',
       usableBg: '0',

+ 4 - 2
src/views/order/BuyCard/detaile.vue

@@ -48,7 +48,7 @@
             <div class="detail-item-box">
             <div class="detail-item-box">
                 <div class="detail-item">
                 <div class="detail-item">
                     <div class="item-label">{{ $t('order.CardNum') }}</div>
                     <div class="item-label">{{ $t('order.CardNum') }}</div>
-                    <div class="item-content">{{ dataDetail.length<=10?dataDetail.length:tableDataList.length }}
+                    <div class="item-content">{{ tableDataList.length==0?dataDetail.length:tableDataList.length }}
                         <a-button type="primary" @click="showCard = true" style="margin-left:10px;"
                         <a-button type="primary" @click="showCard = true" style="margin-left:10px;"
                             v-if="userType == 1 && FormDataList.moderationStatus == 2">{{
                             v-if="userType == 1 && FormDataList.moderationStatus == 2">{{
                                 $t('order.AllocationCardNumber') }}</a-button>
                                 $t('order.AllocationCardNumber') }}</a-button>
@@ -161,6 +161,8 @@ const closeModal = () => {
 
 
 watch(() => FormDataList.value, val => {
 watch(() => FormDataList.value, val => {
     if (Object.keys(val).length === 0) return
     if (Object.keys(val).length === 0) return
+    tableDataList.length = []
+    dataDetail.value = []
     pagination.value.total = 0
     pagination.value.total = 0
     pagination.value.current = 1
     pagination.value.current = 1
     pagination.value.pageSize = 10
     pagination.value.pageSize = 10
@@ -186,7 +188,7 @@ watch(() => FormDataList.value, val => {
             updatePageData();
             updatePageData();
         }
         }
     })
     })
-}, { deep: true })
+}, { immediate: true })
 
 
 const evChangePage = (page) => {
 const evChangePage = (page) => {
     pagination.value.current = page
     pagination.value.current = page