Kaynağa Gözat

预装箱单列表调整

jbb 2 yıl önce
ebeveyn
işleme
0207555f9e

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

@@ -258,6 +258,7 @@ export default {
         {
           title: '单据号',
           dataIndex: 'documentNo',
+          ellipsis: true,
           width: 120,
           // fixed: 'left',
           className: 'replacecolor'
@@ -266,6 +267,7 @@ export default {
           title: '订单号',
           dataIndex: 'orderNumber',
           width: 120,
+          ellipsis: true,
           // fixed: 'left',
           className: 'replacecolor'
         },
@@ -273,6 +275,7 @@ export default {
           title: '款号',
           dataIndex: 'itemNumber',
           width: 120,
+          ellipsis: true,
           // fixed: 'left',
           className: 'replacecolor'
         },
@@ -280,6 +283,7 @@ export default {
           title: '客户(简称)',
           dataIndex: 'customerAbbreviation',
           width: 100,
+          ellipsis: true,
           // fixed: 'left',
           className: 'replacecolor'
         },
@@ -288,6 +292,7 @@ export default {
           title: '预发货日期',
           dataIndex: 'preDeliveryDate',
           width: 120,
+          ellipsis: true,
           customRender: text => {
             return moment(text).format('YYYY-MM-DD')
           },
@@ -297,12 +302,14 @@ export default {
           title: '小po',
           dataIndex: 'smallPo',
           width: 100,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '分销点',
           dataIndex: 'distributionPoint',
           width: 120,
+          ellipsis: true,
           className: 'replacecolor'
         },
 
@@ -310,42 +317,49 @@ export default {
           title: '存货名称',
           dataIndex: 'inventoryName',
           width: 120,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '颜色',
           dataIndex: 'colour',
           width: 180,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '采购/委外订单号',
           dataIndex: 'spurOrSubOrder',
           width: 220,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '订单类型',
           dataIndex: 'orderType',
           width: 100,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '工厂单价',
           dataIndex: 'factoryUnitPrice',
           width: 100,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '数量(按合并规则累计)',
           dataIndex: 'total',
           width: 200,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '箱数',
           dataIndex: 'totalBoxes',
           width: 100,
+          ellipsis: true,
           className: 'replacecolor'
         },
 
@@ -353,17 +367,20 @@ export default {
           title: '总净重',
           dataIndex: 'totalNetWeight',
           width: 100,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '总毛重',
           dataIndex: 'totalGrossWeight',
           width: 100,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '总体积',
           dataIndex: 'totalVolume',
+          ellipsis: true,
           width: 100,
           className: 'replacecolor'
         },
@@ -377,24 +394,28 @@ export default {
           title: '集装箱代号',
           dataIndex: 'containerCode',
           width: 120,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '集装箱号',
           dataIndex: 'containerNumber',
           width: 120,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '预托书号',
           dataIndex: 'depositaryReceiptNo',
           width: 100,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '成衣工厂',
           dataIndex: 'garmentFactory',
           width: 160,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
@@ -434,6 +455,7 @@ export default {
       adPaListClothesData: [],
 
       queryParam: {
+        pageSize:20
         // pageNo: '',
         // orderNumber: '',
         // itemNumber: '',
@@ -598,12 +620,15 @@ export default {
 
     searchQuery() {
       this.queryParam.pageNo = ''
+      this.queryParam.pageSize = 20
       this.getadPaListClothes()
     },
 
     searchReset() {
       this.range = []
-      this.queryParam = {}
+      this.queryParam = {
+        pageSize:201
+      }
       this.getadPaListClothes()
     },