Przeglądaj źródła

托书列表字段调整

jbb 2 lat temu
rodzic
commit
100f3b5b11
1 zmienionych plików z 61 dodań i 48 usunięć
  1. 61 48
      src/views/book/book-list.vue

+ 61 - 48
src/views/book/book-list.vue

@@ -25,11 +25,11 @@
             </a-col>
 
             <template v-if="toggleSearchStatus">
-              <a-col :md="6" :sm="8">
+              <!-- <a-col :md="6" :sm="8">
                 <a-form-item label="箱号">
                   <a-input placeholder="请输入箱号" v-model="queryParam.containerNumber"></a-input>
                 </a-form-item>
-              </a-col>
+              </a-col> -->
 
               <a-col :md="6" :sm="8">
                 <a-form-item label="小po号">
@@ -42,6 +42,20 @@
                   <a-input placeholder="请输入托书号" v-model="queryParam.shippingOrderNumber"></a-input>
                 </a-form-item>
               </a-col>
+              <a-col :md="6" :sm="8">
+                <a-form-item label="外销发票">
+                  <a-input placeholder="请输入外销发票" v-model="queryParam.exportInvoiceNo"></a-input>
+                </a-form-item>
+              </a-col>
+               <!-- <a-col :md="6" :sm="8">
+                <a-form-model-item label="类型">
+                  <a-select v-model="queryParam.flourOrGarment">
+                    <a-select-option value="">请选择</a-select-option>
+                    <a-select-option value="1">成衣</a-select-option>
+                    <a-select-option value="0">面辅料</a-select-option>
+                  </a-select>
+                </a-form-model-item>
+              </a-col> -->
             </template>
             <a-col :md="6" :sm="8">
               <span style="float: left;overflow: hidden;" class="table-page-search-submitButtons">
@@ -73,7 +87,6 @@
         :pagination="pagination"
         :rowSelection="{ selectedRowKeys: selectedRowKeys, onChange: onSelectChange }"
         @change="handleTableChange"
-        :scroll="{ x: 1500 }"
       >
         <!-- 金额 输入框
         <template slot="money" slot-scope="text, record, index">
@@ -146,7 +159,7 @@ export default {
       // 表头
       bookListColumns: [
         { title: '托书号', width: 120, dataIndex: 'shippingOrderNumber', fixed: 'left', className: 'replacecolor' },
-        { title: '订单号', width: 120, dataIndex: 'orderNumber', fixed: 'left', className: 'replacecolor' },
+        { title: '订单号', width: 150, dataIndex: 'orderNumber', fixed: 'left', className: 'replacecolor' },
         { title: '外销发票号码', dataIndex: 'exportInvoiceNo', width: 120, className: 'replacecolor' },
         { title: '客户简称', dataIndex: 'clientAbbreviation', width: 120, className: 'replacecolor' },
         {
@@ -177,55 +190,55 @@ export default {
         {
           title: '实际船期',
           dataIndex: 'theActualShippingDate',
-          width: 120,
+          width: 130,
           // customRender: text => { 有问题 显示当日日期
           //   return moment(text).format('YYYY-MM-DD')
           // },
           className: 'replacecolor'
         },
-        { title: '收汇方式', dataIndex: 'exchangeEarningsValue', width: 120, className: 'replacecolor' },
-        {
-          title: '收货人',
-          dataIndex: 'consignee',
-          width: 100,
-          customRender: t => ellipsis(t),
-          className: 'replacecolor'
-        },
-        {
-          title: '提单或承运收据',
-          dataIndex: 'billOfLadingOrCarriageReceipt',
-          width: 140,
-          customRender: t => ellipsis(t),
-          className: 'replacecolor'
-        },
-        {
-          title: '抬头人',
-          dataIndex: 'addressee',
-          width: 120,
-          customRender: t => ellipsis(t),
-          className: 'replacecolor'
-        },
-        { title: '贸易国别', dataIndex: 'tradeCountry', width: 100, className: 'replacecolor' },
-        { title: '运抵国别', dataIndex: 'arriveInCountry', width: 100, className: 'replacecolor' },
-        { title: '出口口岸', dataIndex: 'exportPort', width: 100, className: 'replacecolor' },
-        {
-          title: '通知人',
-          dataIndex: 'notifier',
-          width: 100,
-          customRender: t => ellipsis(t),
-          className: 'replacecolor'
-        },
-        { title: 'NOTIFY', dataIndex: 'nottfy', width: 150, className: 'replacecolor' },
-        { title: '目的港', dataIndex: 'destinationPort', width: 100, className: 'replacecolor' },
-        { title: '装运期限', dataIndex: 'latestDateOfShipment', width: 100, className: 'replacecolor' },
-        {
-          title: '单据状态',
-          dataIndex: 'theDocumentsState',
-          width: 90,
-          scopedSlots: { customRender: 'documentStateSlot' },
-          fixed: 'right',
-          className: 'replacecolor'
-        },
+        // { title: '收汇方式', dataIndex: 'exchangeEarningsValue', width: 120, className: 'replacecolor' },
+        // {
+        //   title: '收货人',
+        //   dataIndex: 'consignee',
+        //   width: 100,
+        //   customRender: t => ellipsis(t),
+        //   className: 'replacecolor'
+        // },
+        // {
+        //   title: '提单或承运收据',
+        //   dataIndex: 'billOfLadingOrCarriageReceipt',
+        //   width: 140,
+        //   customRender: t => ellipsis(t),
+        //   className: 'replacecolor'
+        // },
+        // {
+        //   title: '抬头人',
+        //   dataIndex: 'addressee',
+        //   width: 120,
+        //   customRender: t => ellipsis(t),
+        //   className: 'replacecolor'
+        // },
+        // { title: '贸易国别', dataIndex: 'tradeCountry', width: 100, className: 'replacecolor' },
+        // { title: '运抵国别', dataIndex: 'arriveInCountry', width: 100, className: 'replacecolor' },
+        // { title: '出口口岸', dataIndex: 'exportPort', width: 100, className: 'replacecolor' },
+        // {
+        //   title: '通知人',
+        //   dataIndex: 'notifier',
+        //   width: 100,
+        //   customRender: t => ellipsis(t),
+        //   className: 'replacecolor'
+        // },
+        // { title: 'NOTIFY', dataIndex: 'nottfy', width: 150, className: 'replacecolor' },
+        // { title: '目的港', dataIndex: 'destinationPort', width: 100, className: 'replacecolor' },
+        // { title: '装运期限', dataIndex: 'latestDateOfShipment', width: 100, className: 'replacecolor' },
+        // {
+        //   title: '单据状态',
+        //   dataIndex: 'theDocumentsState',
+        //   width: 90,
+        //   scopedSlots: { customRender: 'documentStateSlot' },
+        //   fixed: 'right',
+        //   className: 'replacecolor'
+        // },
         {
           title: '操作',
           dataIndex: 'operation',