jbb преди 2 години
родител
ревизия
245d24d091
променени са 3 файла, в които са добавени 37 реда и са изтрити 38 реда
  1. 13 13
      src/views/pre-book/addPreBookDrawer.vue
  2. 13 14
      src/views/pre-book/detailsPreBookDrawer.vue
  3. 11 11
      src/views/pre-book/preBookList.vue

+ 13 - 13
src/views/pre-book/addPreBookDrawer.vue

@@ -281,26 +281,26 @@ export default {
         {
           title: '款号',
           key: 'itemNumber',
-          width: 120,
+          width: 80,
           // fixed: 'left',
           className: 'replacecolor'
         },
         {
           title: '小po',
           key: 'smallPo',
-          width: 120,
+          width: 100,
           className: 'replacecolor'
         },
         {
           title: '数量',
           key: 'total',
-          width: 120,
+          width: 80,
           className: 'replacecolor'
         },
         {
           title: '箱数',
           key: 'boxNumber',
-          width: 90,
+          width: 80,
 
           className: 'replacecolor'
         },
@@ -308,21 +308,21 @@ export default {
         {
           title: '毛重',
           key: 'totalGrossWeight',
-          width: 100,
+          width: 90,
 
           className: 'replacecolor'
         },
         {
           title: '净重',
           key: 'totalNetWeight',
-          width: 100,
+          width: 90,
 
           className: 'replacecolor'
         },
         {
           title: '体积',
           key: 'totalVolume',
-          width: 100,
+          width: 90,
 
           className: 'replacecolor'
         },
@@ -351,14 +351,14 @@ export default {
         {
           title: '单价',
           key: 'unitPrice',
-          width: 100,
+          width: 80,
 
           className: 'replacecolor'
         },
         {
           title: '金额',
           key: 'totalPrice',
-          width: 100,
+          width: 80,
 
           className: 'replacecolor'
         },
@@ -374,14 +374,14 @@ export default {
         {
           title: '预发货日期',
           key: 'preDeliveryDate',
-          width: 120,
+          width: 100,
 
           className: 'replacecolor'
         },
         {
           title: '业务员',
           key: 'salesman',
-          width: 100,
+          width: 90,
 
           className: 'replacecolor'
         },
@@ -389,7 +389,7 @@ export default {
         {
           title: '业务部门',
           key: 'salesDepartment',
-          width: 100,
+          width: 90,
 
           className: 'replacecolor'
         },
@@ -404,7 +404,7 @@ export default {
         {
           title: '采购/委外工厂',
           key: 'supplier',
-          width: 160,
+          width: 140,
 
           className: 'replacecolor'
         },

+ 13 - 14
src/views/pre-book/detailsPreBookDrawer.vue

@@ -127,7 +127,6 @@
           <a-form-model ref="formRef">
             <a-table
               bordered
-              rowKey="id"
               :columns="columns"
               :data-source="data"
               :loading="loading"
@@ -168,7 +167,7 @@ export default {
         {
           title: '款号',
           dataIndex: 'itemNumber',
-          width: 120,
+          width: 80,
 
           // fixed: 'left',
           className: 'replacecolor'
@@ -176,20 +175,20 @@ export default {
         {
           title: '小po号',
           dataIndex: 'smallPo',
-          width: 120,
+          width: 100,
           className: 'replacecolor'
         },
         {
           title: '数量',
           dataIndex: 'total',
-          width: 100,
+          width: 80,
 
           className: 'replacecolor'
         },
         {
           title: '箱数',
           dataIndex: 'boxNumber',
-          width: 90,
+          width: 80,
 
           className: 'replacecolor'
         },
@@ -197,21 +196,21 @@ export default {
         {
           title: '毛重',
           dataIndex: 'totalGrossWeight',
-          width: 100,
+          width: 90,
 
           className: 'replacecolor'
         },
         {
           title: '净重',
           dataIndex: 'totalNetWeight',
-          width: 100,
+          width: 90,
 
           className: 'replacecolor'
         },
         {
           title: '体积',
           dataIndex: 'totalVolume',
-          width: 100,
+          width: 90,
 
           className: 'replacecolor'
         },
@@ -240,7 +239,7 @@ export default {
         {
           title: '单价',
           dataIndex: 'unitPrice',
-          width: 100,
+          width: 80,
 
           className: 'replacecolor'
         },
@@ -256,26 +255,26 @@ export default {
         {
           title: '金额',
           dataIndex: 'totalPrice',
-          width: 100,
+          width: 80,
           className: 'replacecolor'
         },
         {
           title: '预发货日期',
           dataIndex: 'preDeliveryDate',
-          width: 120,
+          width: 100,
           className: 'replacecolor'
         },
         {
           title: '业务员',
           dataIndex: 'salesman',
-          width: 100,
+          width: 90,
           className: 'replacecolor'
         },
 
         {
           title: '业务部门',
           dataIndex: 'salesDepartment',
-          width: 120,
+          width: 90,
 
           className: 'replacecolor'
         },
@@ -290,7 +289,7 @@ export default {
         {
           title: '采购/委外工厂',
           dataIndex: 'supplier',
-          width: 160,
+          width: 140,
 
           className: 'replacecolor'
         }

+ 11 - 11
src/views/pre-book/preBookList.vue

@@ -173,7 +173,7 @@ export default {
       preBookListColumns: [
         {
           title: '预托书号',
-          width: 220,
+          width: 130,
           dataIndex: 'depositaryReceiptNo',
           // fixed: 'left',
           align: 'left',
@@ -182,11 +182,11 @@ export default {
         },
         // { title: '订单号', width: 120, dataIndex: 'orderNumber', fixed: 'left', className: 'replacecolor' },
         // { title: '外销发票号码', dataIndex: 'exportInvoiceNo', width: 220, align: 'left', className: 'replacecolor' },
-        { title: '客户简称', dataIndex: 'clientAbbreviation', width: 120, className: 'replacecolor', ellipsis: true, },
+        { title: '客户简称', dataIndex: 'clientAbbreviation', width: 90, className: 'replacecolor', ellipsis: true, },
         {
           title: '分销点',
           dataIndex: 'distributionPoint',
-          width: 120,
+          width: 110,
           // customRender: t => ellipsis(t),
           className: 'replacecolor',
            ellipsis: true,
@@ -194,18 +194,18 @@ export default {
         {
           title: '经营单位',
           dataIndex: 'unitInOperation',
-          width: 150,
+          width: 170,
           // customRender: t => ellipsis(t),
            ellipsis: true,
           className: 'replacecolor'
         },
-        { title: '总箱数', dataIndex: 'boxNumber', width: 100, className: 'replacecolor', ellipsis: true, },
-        { title: '总毛重', dataIndex: 'totalGrossWeight', width: 100, className: 'replacecolor', ellipsis: true, },
-        { title: '总体积', dataIndex: 'totalVolume', width: 100, className: 'replacecolor', ellipsis: true, },
+        { title: '总箱数', dataIndex: 'boxNumber', width: 90, className: 'replacecolor', ellipsis: true, },
+        { title: '总毛重', dataIndex: 'totalGrossWeight', width: 90, className: 'replacecolor', ellipsis: true, },
+        { title: '总体积', dataIndex: 'totalVolume', width: 90, className: 'replacecolor', ellipsis: true, },
         {
           title: '金额',
           dataIndex: 'money',
-          width: 120,
+          width: 100,
           className: 'replacecolor',
            ellipsis: true,
         },
@@ -242,8 +242,8 @@ export default {
         //   className: 'replacecolor'
         // },
         { title: '贸易国别', dataIndex: 'tradeCountry', width: 120, className: 'replacecolor' , ellipsis: true,},
-        { title: '运抵国别', dataIndex: 'arriveInCountry', width: 100, className: 'replacecolor', ellipsis: true, },
-        { title: '出口口岸', dataIndex: 'exportPort', width: 100, className: 'replacecolor', ellipsis: true, },
+        { title: '运抵国别', dataIndex: 'arriveInCountry', width: 120, className: 'replacecolor', ellipsis: true, },
+        { title: '出口口岸', dataIndex: 'exportPort', width: 120, className: 'replacecolor', ellipsis: true, },
         // {
         //   title: '通知人',
         //   dataIndex: 'notifier',
@@ -252,7 +252,7 @@ export default {
         //   className: 'replacecolor'
         // },
         // { title: 'nottfy', dataIndex: 'nottfy', width: 150, className: 'replacecolor' },
-        { title: '目的港', dataIndex: 'destinationPort', width: 100, className: 'replacecolor', ellipsis: true, },
+        { title: '目的港', dataIndex: 'destinationPort', width: 140, className: 'replacecolor', ellipsis: true, },
         // { title: '装运期限', dataIndex: 'latestDateOfShipment', width: 120, className: 'replacecolor' },
         {
           title: '单据状态',