Pārlūkot izejas kodu

各节点表格高度设置

jbb 2 gadi atpakaļ
vecāks
revīzija
69ab63c363

+ 1 - 1
src/views/advance-packingList/adPaList-clothes.vue

@@ -115,7 +115,7 @@
         :row-key="record => record.id"
         :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
         @change="handleTableChange"
-        :scroll="{ x: 1500 }"
+        :scroll="{ x: 1500 , y: 500}"
       >
         <!-- 推送状态 -->
         <span slot="pushStatesSlot" slot-scope="text, record" :title="record.memo">

+ 2 - 1
src/views/book/book-list.vue

@@ -84,6 +84,7 @@
         :columns="bookListColumns"
         :data-source="bookListData"
         :loading="loading"
+        :scroll="{ y: 500 }"
         :pagination="pagination"
         :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
         @change="handleTableChange"
@@ -159,7 +160,7 @@ export default {
       // 表头
       bookListColumns: [
         { title: '托书号', width: 120, dataIndex: 'shippingOrderNumber', fixed: 'left', className: 'replacecolor' },
-        { title: '订单号', width: 150, dataIndex: 'orderNumber', fixed: 'left', className: 'replacecolor' },
+        { title: '订单号', width: 140, dataIndex: 'orderNumber', fixed: 'left', className: 'replacecolor' },
         { title: '外销发票号码', dataIndex: 'exportInvoiceNo', width: 120, className: 'replacecolor' },
         { title: '客户简称', dataIndex: 'clientAbbreviation', width: 120, className: 'replacecolor' },
         {

+ 1 - 1
src/views/packing-list/clothes-list.vue

@@ -111,7 +111,7 @@
         :row-key="record => record.id"
         :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
         @change="handleTableChange"
-        :scroll="{ x: 1500 }"
+        :scroll="{ x: 1500, y: 500 }"
       >
         <!-- 集装箱号 输入框-->
         <!-- <a-form-model

+ 7 - 6
src/views/packing-list/fabric-list.vue

@@ -59,6 +59,7 @@
         :columns="fabricListColumns"
         :data-source="fabricListData"
         :loading="loading"
+        :scroll="{ y: 500 }"
         :pagination="pagination"
         :row-key="record => record.id"
         :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
@@ -151,7 +152,7 @@ export default {
          {
           title: '集装箱号',
           dataIndex: 'containerNumber',
-          width: 140,
+          width: 120,
           // scopedSlots: { customRender: 'containerNo' },
           className: 'replacecolor'
         },
@@ -165,7 +166,7 @@ export default {
         {
           title: '外销发票号',
           dataIndex: 'exportInvoiceNo',
-          width: 160,
+          width: 150,
           className: 'replacecolor'
         },
        
@@ -178,7 +179,7 @@ export default {
         {
           title: '成衣工厂',
           dataIndex: 'garmentFactory',
-          width: 160,
+          width: 140,
           className: 'replacecolor'
         },
        
@@ -192,7 +193,7 @@ export default {
         {
           title: '制单日期',
           dataIndex: 'preparedDate',
-          width: 160,
+          width: 140,
           // 有问题,自动显示当日日期
           // customRender: text => {
           //   return moment(text).format('YYYY-MM-DD')
@@ -209,14 +210,14 @@ export default {
           title: '状态',
           dataIndex: 'status',
           scopedSlots: { customRender: 'state' },
-          width: 160,
+          width: 140,
           className: 'replacecolor'
         },
         {
           title: '操作',
           dataIndex: 'operation',
           scopedSlots: { customRender: 'operationSlot' },
-          width: 160,
+          width: 150,
           // fixed: 'right',
           className: 'replacecolor'
         }

+ 1 - 1
src/views/shipment-details/shipmentList.vue

@@ -114,7 +114,7 @@
         :data-source="shipmentListData"
         :loading="loading"
         :pagination="pagination"
-        :scroll="{ x: 1500 }"
+        :scroll="{ x: 1500 , y: 500}"
         :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
         @change="handleTableChange"
       >