Browse Source

1.调整机器设备作价组件尺寸,展示更多数据

GouGengquan 6 months ago
parent
commit
d400504d8a
1 changed files with 6 additions and 3 deletions
  1. 6 3
      src/views/assets/workbench/calculate/importInfo.vue

+ 6 - 3
src/views/assets/workbench/calculate/importInfo.vue

@@ -112,6 +112,7 @@
         show-footer-overflow
         ref="allTableRef"
         height="100%"
+        size="mini"
         :loading="loading"
         :column-config="{ resizable: true }"
         :edit-config="editConfig"
@@ -184,7 +185,7 @@
           </template>
           <template #default="{ row }">
             <span style="margin-top:10px">{{ row.activationDate }}</span>
-            <p v-if="new Date(row.activationDate) < new Date(row.purchaseDate)" style="color: red;font-size: 9px;">启用日期在购买日期之前</p>
+            <p v-if="new Date(row.activationDate) < new Date(row.purchaseDate)" style="color: red;font-size: 9px;margin-top:-10px">启用日期在购买日期之前</p>
           </template>
         </vxe-column>
         <vxe-column field="storageLocation" title="存放地点" width="160" :edit-render="{ name: 'VxeInput' }">
@@ -213,7 +214,7 @@
             </span>
           </template>
           <template #edit="{ row }">
-            <el-select v-model="row.usageSituation" placeholder="使用情况" filterable allow-create>
+            <el-select v-model="row.usageSituation" placeholder="使用情况" filterable allow-create size="small">
               <el-option label="在用" value="在用"></el-option>
               <el-option label="闲置" value="闲置"></el-option>
               <el-option label="无实物" value="无实物"></el-option>
@@ -463,7 +464,7 @@
         </vxe-column>
         <vxe-column field="inquiryBasis" title="询价依据" width="300" :edit-render="{}">
           <template #edit="{ row }">
-            <el-select v-if="row.valuationMethod === '物价指数调整法'" v-model="row.inquiryBasis" placeholder="Select" filterable allow-create @change="countPrice(row)">
+            <el-select v-if="row.valuationMethod === '物价指数调整法'" v-model="row.inquiryBasis" placeholder="Select" filterable allow-create @change="countPrice(row)" size="small">
               <el-option-group v-for="group in ppiOptions" :label="group.ppiType">
                 <el-option v-for="item in group.eqptPPI" :label="'(' + item.id + ')' + item.ppiName + '年:' + item.ppi" :value="'(' + item.id + ')' + item.ppiName + '年:' + item.ppi" />
               </el-option-group>
@@ -604,6 +605,7 @@
         show-footer-overflow
         ref="importedTableRef"
         height="100%"
+        size="mini"
         :loading="loading"
         :column-config="{ resizable: true }"
         :edit-config="editConfig"
@@ -775,6 +777,7 @@
         show-footer-overflow
         ref="nonStandardTableRef"
         height="100%"
+        size="mini"
         :loading="loading"
         :column-config="{ resizable: true }"
         :edit-config="editConfig"