qymljy 2 年 前
コミット
6f93812521

+ 4 - 4
src/system/IOT/iotcard/detail/index.vue

@@ -50,15 +50,15 @@
       },
       {
         label:'总流量',
-        value:data.totalAmount
+        value:data.activationdate === undefined?'':data.sim_data_usage_monthly[data.iccid].accmMarginList[0].totalAmount + 'KB'
       },
       {
         label:'使用流量',
-        value:data.useAmount
+        value:data.activationdate === undefined?'':data.sim_data_usage_monthly[data.iccid].accmMarginList[0].useAmount + 'KB'
       },
       {
         label:'剩余流量',
-        value:data.remainAmount
+        value:data.activationdate === undefined?'':data.sim_data_usage_monthly[data.iccid].accmMarginList[0].remainAmount + 'KB'
       },
       {
         label:'激活日期',
@@ -66,7 +66,7 @@
       },
       {
         label:'余额',
-        value:data.amount
+        value:data.activationdate === undefined?'':data.sim_data_usage_monthly[data.iccid].dataAmount + '元'
       },
       {
         label:'状态',

+ 0 - 3
src/system/moduleNormal/enterpriseArchives/modules/add.vue

@@ -62,10 +62,8 @@
           <a-col :span="24">
             <a-form-item label="客户类型" name="type" :rules="[{ required: true, message: '请选择客户类型' }]">
               <a-select
-                  ref="select"
                   v-model:value="form.type"
                   placeholder="选择客户类型"
-                  style="width: 100%"
               >
                 <a-select-option v-for="item in typeOptions" :key="item.index" :value="item.value">{{item.remarks}}</a-select-option>
               </a-select>
@@ -108,7 +106,6 @@ const showDrawer = async ()=>{
   visible.value = true
   console.log(props.typeOptions,'type')
   typeOptions.value = props.typeOptions
-  form.value.type = typeOptions.value[0]
   Provinces.value = await base.ProvincesData()
 }
 const onClose = () => {