jbb пре 2 година
родитељ
комит
a70f3f2ae1
2 измењених фајлова са 31 додато и 0 уклоњено
  1. 21 0
      src/views/packing-list/clothes-list.vue
  2. 10 0
      src/views/packing-list/fabric-list.vue

+ 21 - 0
src/views/packing-list/clothes-list.vue

@@ -236,6 +236,7 @@ export default {
           title: '预托书号',
           dataIndex: 'depositaryReceiptNo',
           width: 160,
+          ellipsis: true,
           // scopedSlots: { customRender: 'preBookNum' },
           className: 'replacecolor'
         },
@@ -243,18 +244,21 @@ export default {
           title: '托书号',
           dataIndex: 'shippingOrderNumber',
           width: 120,
+          ellipsis: true,
           className: 'replacecolor'
         }, 
         {
           title: '集装箱代号',
           dataIndex: 'containerCode',
           width: 120,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '集装箱号',
           dataIndex: 'containerNumber',
           width: 140,
+          ellipsis: true,
           // scopedSlots: { customRender: 'containerNo' },
           className: 'replacecolor'
         },
@@ -262,17 +266,20 @@ export default {
           title: '集装箱代单据号号',
           dataIndex: 'documentNo',
           width: 120,
+          ellipsis: true,
           className: 'replacecolor'
         },
          {
           title: '订单号',
           dataIndex: 'orderNumber',
           width: 120,
+          ellipsis: true,
           // fixed: 'left',
           className: 'replacecolor'
         },
          {
           title: '款号',
+          ellipsis: true,
           dataIndex: 'itemNumber',
           width: 120,
           // fixed: 'left',
@@ -282,6 +289,7 @@ export default {
           title: '客户简称',
           dataIndex: 'customerAbbreviation',
           width: 120,
+          ellipsis: true,
           // fixed: 'left',
           className: 'replacecolor'
         },
@@ -289,24 +297,28 @@ export default {
           title: '预发货日期',
           dataIndex: 'hod',
           width: 120,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '小po',
           dataIndex: 'smallPo',
           width: 120,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '分销点',
           dataIndex: 'distributionPoint',
           width: 120,
+          ellipsis: true,
           className: 'replacecolor'
         },
           {
           title: '数量(按合并规则累计)',
           dataIndex: 'total',
           width: 200,
+          ellipsis: true,
           className: 'replacecolor'
         },
 
@@ -314,18 +326,21 @@ export default {
           title: '箱数',
           dataIndex: 'totalBoxes',
           width: 90,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '总净重',
           dataIndex: 'totalNetWeight',
           width: 120,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '总毛重',
           dataIndex: 'totalGrossWeight',
           width: 120,
+          ellipsis: true,
           className: 'replacecolor'
         },
 
@@ -333,6 +348,7 @@ export default {
           title: '总体积',
           dataIndex: 'totalVolume',
           width: 120,
+          ellipsis: true,
           className: 'replacecolor'
         },
 
@@ -352,12 +368,14 @@ export default {
           title: '采购/委外订单号',
           dataIndex: 'purchase',
           width: 160,
+          ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '成衣工厂',
           dataIndex: 'garmentFactory',
           width: 140,
+          ellipsis: true,
           customRender: t => ellipsis(t),
           className: 'replacecolor'
         },
@@ -423,6 +441,7 @@ export default {
           title: '外销发票号',
           dataIndex: 'exportInvoiceNo',
           width: 120,
+          ellipsis: true,
           className: 'replacecolor'
         },
 
@@ -456,6 +475,7 @@ export default {
       },
       preDeliveryDate:[],
       pagination: {
+        // pageSize:20
         // total: '',
         // current: 0,
         // pageSize: 0
@@ -478,6 +498,7 @@ export default {
     getSpltList() { 
      var that = this;
       this.$nextTick(() => {
+        this.queryParam.pageSize=20
         spltList(this.queryParam).then(res => {
           if (res.success) {
             that.clothesListData = res.result.records;

+ 10 - 0
src/views/packing-list/fabric-list.vue

@@ -141,6 +141,7 @@ export default {
           title: '单据号',
           dataIndex: 'documentNo',
           width: 160,
+          ellipsis: true,
           className: 'replacecolor'
         },
         // {
@@ -153,6 +154,7 @@ export default {
           title: '集装箱号',
           dataIndex: 'containerNumber',
           width: 120,
+           ellipsis: true,
           // scopedSlots: { customRender: 'containerNo' },
           className: 'replacecolor'
         },
@@ -161,12 +163,14 @@ export default {
           title: '发票号',
           dataIndex: 'invoiceNo',
           width: 160,
+           ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '外销发票号',
           dataIndex: 'exportInvoiceNo',
           width: 150,
+           ellipsis: true,
           className: 'replacecolor'
         },
        
@@ -174,12 +178,14 @@ export default {
           title: '装柜日期',
           dataIndex: 'latestDateOfShipment',
           width: 120,
+           ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '成衣工厂',
           dataIndex: 'garmentFactory',
           width: 140,
+           ellipsis: true,
           className: 'replacecolor'
         },
        
@@ -188,12 +194,14 @@ export default {
           title: '制单人',
           dataIndex: 'preparedBy',
           width: 120,
+           ellipsis: true,
           className: 'replacecolor'
         },
         {
           title: '制单日期',
           dataIndex: 'preparedDate',
           width: 140,
+           ellipsis: true,
           // 有问题,自动显示当日日期
           // customRender: text => {
           //   return moment(text).format('YYYY-MM-DD')
@@ -204,6 +212,7 @@ export default {
           title: '托书号',
           dataIndex: 'shippingOrderNumber',
           width: 160,
+           ellipsis: true,
           className: 'replacecolor'
         },
          {
@@ -250,6 +259,7 @@ export default {
     //分页查询
     getFabricList(){
        this.$nextTick(() => {
+         this.queryParam.pageSize = 20
         fabricList(this.queryParam).then(res => {
           if (res.success) {
             this.fabricListData = res.result.records;