瀏覽代碼

调整列宽

chris 3 年之前
父節點
當前提交
7d08e5c6b2

+ 3 - 0
src/views/modules/cus/communicate.vue

@@ -60,6 +60,7 @@
         header-align="center"
         align="center"
         min-width="140"
+        :show-tooltip-when-overflow="true"
         label="创建时间">
       </el-table-column>
       <el-table-column
@@ -76,6 +77,8 @@
         prop="notes"
         header-align="center"
         align="center"
+        min-width="180"
+        :show-tooltip-when-overflow="true"
         label="备注">
       </el-table-column>
       <el-table-column

+ 8 - 8
src/views/modules/cus/contract.vue

@@ -38,7 +38,7 @@
         prop="customerName"
         header-align="center"
         align="center"
-        min-width="120"
+        min-width="160"
         :show-overflow-tooltip="true"
         label="客户名称">
       </el-table-column>
@@ -71,19 +71,19 @@
         label="创建时间">
       </el-table-column>
       <el-table-column
-        prop="notes"
+        prop="state"
+        :formatter="stateFormat"
         header-align="center"
         align="center"
-        min-width="100"
-        :show-overflow-tooltip="true"
-        label="备注">
+        label="状态">
       </el-table-column>
       <el-table-column
-        prop="state"
-        :formatter="stateFormat"
+        prop="notes"
         header-align="center"
         align="center"
-        label="状态">
+        min-width="180"
+        :show-overflow-tooltip="true"
+        label="备注">
       </el-table-column>
       <el-table-column
         fixed="right"

+ 4 - 0
src/views/modules/cus/customer.vue

@@ -52,12 +52,14 @@
         prop="contact"
         header-align="center"
         align="center"
+        min-width="120"
         label="联系人">
       </el-table-column>
       <el-table-column
         prop="contactTel"
         header-align="center"
         align="center"
+        min-width="120"
         label="电话">
       </el-table-column>
       <el-table-column
@@ -78,6 +80,8 @@
         prop="notes"
         header-align="center"
         align="center"
+        min-width="180"
+        :show-tooltip-when-overflow="true"
         label="备注">
       </el-table-column>
       <el-table-column

+ 2 - 0
src/views/modules/msg-center/approve.vue

@@ -69,6 +69,7 @@
         header-align="center"
         align="center"
         min-width="140"
+        :show-overflow-tooltip="true"
         label="更新时间">
       </el-table-column>
       <el-table-column
@@ -99,6 +100,7 @@
         header-align="center"
         align="center"
         min-width="150"
+        :show-tooltip-when-overflow="true"
         label="处理意见">
       </el-table-column>
       <el-table-column

+ 1 - 0
src/views/modules/notice/notice.vue

@@ -35,6 +35,7 @@
         header-align="center"
         align="center"
         min-width="160"
+        :show-tooltip-when-overflow="true"
         label="公告主题名称">
       </el-table-column>
       <el-table-column

+ 2 - 1
src/views/modules/order/order.vue

@@ -52,6 +52,7 @@
         header-align="center"
         align="center"
         min-width="120"
+        :show-tooltip-when-overflow="true"
         label="客户订单编号">
       </el-table-column>
       <el-table-column
@@ -94,7 +95,7 @@
         prop="notes"
         header-align="center"
         align="center"
-        min-width="100"
+        min-width="180"
         :show-overflow-tooltip="true"
         label="备注">
       </el-table-column>

+ 2 - 1
src/views/modules/sale/purchase.vue

@@ -62,13 +62,14 @@
         header-align="center"
         align="center"
         min-width="180"
+        :show-tooltip-when-overflow="true"
         label="采购编码">
       </el-table-column>
       <el-table-column
         prop="materialName"
         header-align="center"
         align="center"
-        width="120"
+        width="160"
         :show-tooltip-when-overflow="true"
         label="物品名称">
       </el-table-column>

+ 4 - 1
src/views/modules/tech/crafts-management.vue

@@ -49,6 +49,7 @@
         header-align="center"
         align="center"
         min-width="180"
+        :show-tooltip-when-overflow="true"
         label="工艺编码">
       </el-table-column>
       <el-table-column
@@ -64,13 +65,15 @@
         header-align="center"
         align="center"
         min-width="120"
+        :show-tooltip-when-overflow="true"
         label="工艺版本">
       </el-table-column>
       <el-table-column
         prop="productName"
         header-align="center"
         align="center"
-        min-width="120"
+        min-width="140"
+        :show-tooltip-when-overflow="true"
         label="产品名称">
       </el-table-column>
       <el-table-column

+ 4 - 0
src/views/modules/tech/draw-management.vue

@@ -36,6 +36,7 @@
         header-align="center"
         align="center"
         min-width="100"
+        :show-tooltip-when-overflow="true"
         label="图纸编码">
       </el-table-column>
       <el-table-column
@@ -43,12 +44,15 @@
         header-align="center"
         align="center"
         min-width="120"
+        :show-tooltip-when-overflow="true"
         label="图纸名称">
       </el-table-column>
       <el-table-column
         prop="productName"
         header-align="center"
         align="center"
+        min-width="140"
+        :show-tooltip-when-overflow="true"
         label="对应产品">
       </el-table-column>
       <el-table-column

+ 2 - 0
src/views/modules/tech/product-management.vue

@@ -39,6 +39,7 @@
         header-align="center"
         align="center"
         min-width="100"
+        :show-tooltip-when-overflow="true"
         label="产品编码">
       </el-table-column>
       <el-table-column
@@ -46,6 +47,7 @@
         header-align="center"
         align="center"
         min-width="120"
+        :show-tooltip-when-overflow="true"
         label="产品名称">
       </el-table-column>
       <el-table-column

+ 7 - 3
src/views/modules/tech/work-type.vue

@@ -38,14 +38,16 @@
         prop="code"
         header-align="center"
         align="center"
-        min-width="100"
+        min-width="160"
+        :show-tooltip-when-overflow="true"
         label="工种编码">
       </el-table-column>
       <el-table-column
         prop="name"
         header-align="center"
         align="center"
-        min-width="120"
+        min-width="140"
+        :show-tooltip-when-overflow="true"
         label="工种名称">
       </el-table-column>
       <el-table-column
@@ -60,6 +62,7 @@
         header-align="center"
         align="center"
         min-width="120"
+        :show-tooltip-when-overflow="true"
         label="工种要求">
       </el-table-column>
       <el-table-column
@@ -67,7 +70,8 @@
         header-align="center"
         align="center"
         :formatter="formatNames"
-        min-width="120"
+        min-width="140"
+        :show-tooltip-when-overflow="true"
         label="掌握人">
       </el-table-column>
       <el-table-column

+ 12 - 3
src/views/modules/warehouse/in-record.vue

@@ -49,13 +49,16 @@
         prop="recordCode"
         header-align="center"
         align="center"
-        min-width="200"
+        min-width="160"
+        :show-tooltip-when-overflow="true"
         label="编码">
       </el-table-column>
       <el-table-column
         prop="materialName"
         header-align="center"
         align="center"
+        min-width="160"
+        :show-tooltip-when-overflow="true"
         label="名称">
       </el-table-column>
       <el-table-column
@@ -63,12 +66,15 @@
         header-align="center"
         align="center"
         :formatter="formatRecordType"
+        min-width="100"
         label="出入库类型">
       </el-table-column>
       <el-table-column
         prop="specifications"
         header-align="center"
         align="center"
+        min-width="160"
+        :show-tooltip-when-overflow="true"
         label="规格">
       </el-table-column>
       <el-table-column
@@ -99,13 +105,16 @@
         prop="batchNumber"
         header-align="center"
         align="center"
+        min-width="120"
+        :show-tooltip-when-overflow="true"
         label="批次号">
       </el-table-column>
       <el-table-column
         prop="source"
         header-align="center"
         align="center"
-        min-width="100"
+        min-width="160"
+        :show-tooltip-when-overflow="true"
         label="来源">
       </el-table-column>
       <el-table-column
@@ -131,7 +140,7 @@
         prop="notes"
         header-align="center"
         align="center"
-        min-width="100"
+        min-width="160"
         :show-overflow-tooltip="true"
         label="备注">
       </el-table-column>

+ 3 - 3
src/views/modules/warehouse/inventory.vue

@@ -41,14 +41,14 @@
         prop="createTime"
         header-align="center"
         align="center"
-        min-width="140"
+        min-width="160"
         label="开始日期">
       </el-table-column>
       <el-table-column
-        prop="-"
+        prop="updateTime"
         header-align="center"
         align="center"
-        min-width="140"
+        min-width="160"
         label="结束日期">
       </el-table-column>
       <el-table-column

+ 7 - 3
src/views/modules/warehouse/stock-order.vue

@@ -60,6 +60,7 @@
         header-align="center"
         align="center"
         min-width="160"
+        :show-tooltip-when-overflow="true"
         label="编码">
       </el-table-column>
       <el-table-column
@@ -67,6 +68,7 @@
         header-align="center"
         align="center"
         :formatter="formatRecordType"
+        width="100"
         label="申请单类别">
       </el-table-column>
       <el-table-column
@@ -74,6 +76,7 @@
         header-align="center"
         align="center"
         :formatter="formatState"
+        width="100"
         label="申请状态">
       </el-table-column>
       <el-table-column
@@ -88,21 +91,22 @@
         prop="createTime"
         header-align="center"
         align="center"
-        min-width="140"
+        min-width="160"
         label="申请时间">
       </el-table-column>
       <el-table-column
         prop="recordTime"
         header-align="center"
         align="center"
-        min-width="140"
+        min-width="160"
         label="入库时间">
       </el-table-column>
       <el-table-column
         prop="applicant"
         header-align="center"
         align="center"
-        min-width="100"
+        min-width="140"
+        :show-tooltip-when-overflow="true"
         label="申请人">
       </el-table-column>
       <el-table-column

+ 4 - 1
src/views/modules/warehouse/stock.vue

@@ -33,6 +33,7 @@
           header-align="center"
           align="center"
           min-width="180"
+          :show-tooltip-when-overflow="true"
           label="编码">
         </el-table-column>
         <el-table-column
@@ -92,13 +93,15 @@
           prop="shelveName"
           header-align="center"
           align="center"
+          width="140"
+          :show-overflow-tooltip="true"
           label="存放货架">
         </el-table-column>
         <el-table-column
           prop="notes"
           header-align="center"
           align="center"
-          width="100"
+          width="160"
           :show-overflow-tooltip="true"
           label="备注">
         </el-table-column>

+ 8 - 0
src/views/modules/warehouse/template-delivery.vue

@@ -36,12 +36,16 @@
         prop="recordCode"
         header-align="center"
         align="center"
+        min-width="140"
+        :show-tooltip-when-overflow="true"
         label="编码">
       </el-table-column>
       <el-table-column
         prop="templateName"
         header-align="center"
         align="center"
+        min-width="140"
+        :show-tooltip-when-overflow="true"
         label="模板名称">
       </el-table-column>
       <el-table-column
@@ -49,18 +53,22 @@
         header-align="center"
         align="center"
         :formatter="formatState"
+        min-width="100"
         label="当前状态">
       </el-table-column>
       <el-table-column
         prop="createTime"
         header-align="center"
         align="center"
+        min-width="160"
         label="创建时间">
       </el-table-column>
       <el-table-column
         prop="notes"
         header-align="center"
         align="center"
+        min-width="180"
+        :show-tooltip-when-overflow="true"
         label="备注">
       </el-table-column>
       <el-table-column

+ 3 - 1
src/views/modules/warehouse/template.vue

@@ -44,6 +44,7 @@
         header-align="center"
         align="center"
         min-width="160"
+        :show-tooltip-when-overflow="true"
         label="编码">
       </el-table-column>
       <el-table-column
@@ -51,6 +52,7 @@
         header-align="center"
         align="center"
         min-width="120"
+        :show-tooltip-when-overflow="true"
         label="模板名称">
       </el-table-column>
       <el-table-column
@@ -63,7 +65,7 @@
         prop="createTime"
         header-align="center"
         align="center"
-        min-width="140"
+        min-width="160"
         label="创建时间">
       </el-table-column>
       <el-table-column

+ 7 - 1
src/views/modules/warehouse/unit-conversion.vue

@@ -27,24 +27,30 @@
         header-align="center"
         align="center"
         min-width="160"
+        :show-tooltip-when-overflow="true"
         label="编码">
       </el-table-column>
       <el-table-column
         prop="convertUnitBefore"
         header-align="center"
         align="center"
+        min-width="120"
+        :show-tooltip-when-overflow="true"
         label="转换前单位">
       </el-table-column>
       <el-table-column
         prop="convertUnit"
         header-align="center"
         align="center"
+        min-width="120"
+        :show-tooltip-when-overflow="true"
         label="转换后单位">
       </el-table-column>
       <el-table-column
         prop="cnt"
         header-align="center"
         align="center"
+        min-width="100"
         label="转换后数量">
       </el-table-column>
       <el-table-column
@@ -70,7 +76,7 @@
         prop="notes"
         header-align="center"
         align="center"
-        width="100"
+        width="160"
         :show-overflow-tooltip="true"
         label="备注">
       </el-table-column>