Browse Source

出运明细详情页调整

jbb 2 years ago
parent
commit
3ed39c99a6
1 changed files with 20 additions and 174 deletions
  1. 20 174
      src/views/shipment-details/detailsShipDetDrawer.vue

+ 20 - 174
src/views/shipment-details/detailsShipDetDrawer.vue

@@ -55,7 +55,7 @@
               :data-source="syShippingDetailsItemList"
               :loading="loading"
               :pagination="ipagination"
-              :scroll="{ x: 1790,y:400 }"
+              :scroll="{y:400 }"
               @change="handleTableChange"
             >
             </a-table>
@@ -103,35 +103,6 @@ export default {
           width: 180,
           className: 'replacecolor'
         },
-        {
-          title: '订单日期',
-          dataIndex: 'orderDate',
-          width: 120,
-          className: 'replacecolor',
-          customRender: text => {
-            return moment(text).format('YYYY-MM-DD')
-          }
-        },
-        
-         {
-          title: '预发货日期',
-          dataIndex: 'preDeliveryDate',
-          width: 100,
-          className: 'replacecolor',
-        
-        },
-         {
-          title: '成衣工厂',
-          dataIndex: 'garmentFactory',
-          width: 100,
-          className: 'replacecolor'
-        },
-        {
-          title: '业务类型',
-          dataIndex: 'businessTypeText',
-          width: 120,
-          className: 'replacecolor'
-        },
         {
           title: '小po',
           dataIndex: 'smallPo',
@@ -150,177 +121,52 @@ export default {
           width: 120,
           className: 'replacecolor'
         },
-        {
-          title: '采购/委外订单号',
-          dataIndex: 'purOrSubOrder',
-          width: 180,
-          className: 'replacecolor'
-        },
-        {
-          title: '单价(销售)',
-          dataIndex: 'salesUnitPrice',
-          width: 120,
-          className: 'replacecolor'
-        },
-          {
-          title: '佣金',
-          dataIndex: 'ymoney',
+         {
+          title: '存货编码',
+          dataIndex: 'inventoryCode',
           width: 120,
           className: 'replacecolor'
         },
-
-        {
-          title: ' 报关单价',
-          dataIndex: 'customsDeclarationUnitPrice',
-          width: 180,
-          className: 'replacecolor'
-        },
          {
-          title: '工厂单价',
-          dataIndex: 'factoryUnitPrice',
+          title: '存货名称',
+          dataIndex: 'inventoryName',
           width: 120,
           className: 'replacecolor'
         },
-
         {
-          title: '订单数量',
-          dataIndex: 'orderQuantity',
+          title: '颜色',
+          dataIndex: 'colour',
           width: 120,
           className: 'replacecolor'
         },
-        {
-          title: '订单剩余数量',
-          dataIndex: 'orderRemainingQuantity',
+         {
+          title: '尺码',
+          dataIndex: 'size',
           width: 120,
           className: 'replacecolor'
         },
-
         {
-          title: '发货数量',
-          dataIndex: 'shipmentQuantity',
-          scopedSlots: { customRender: 'shipmentQuantity' },
-          width: 120,
-        },
-
-        {
-          title: '套装件数',
-          dataIndex: 'numberOfSets',
-          scopedSlots: { customRender: 'numberOfSets' },
+          title: '配码规格',
+          dataIndex: 'codingRules',
           width: 120,
           className: 'replacecolor'
         },
-        {
-          title: '是否TC功能',
-          dataIndex: 'isTC',
-          width: 90,
-          scopedSlots: { customRender: 'isTC' },
-          className: 'replacecolor'
-        },
-        {
-          title: '物料成分',
-          dataIndex: 'materialComposition',
-          width: 140,
-          className: 'replacecolor'
-        },
-        {
-          title: '客户简称',
-          dataIndex: 'customerAbbreviation',
-          width: 220,
-          align: 'left',
-          className: 'replacecolor'
-        },
-        {
-          title: '客户名称',
-          dataIndex: 'customerName',
-          width: 300,
-          align: 'left',
-          className: 'replacecolor',
-           customRender: t => ellipsis(t),
-        },
 
-        {
-          title: '销售部门',
-          dataIndex: 'salesDepartment',
-          width: 120,
-          className: 'replacecolor'
-        },
-        {
-          title: '业务员',
-          dataIndex: 'salesman',
-          width: 120,
-          className: 'replacecolor'
-        },
-        {
-          title: '币种',
-          dataIndex: 'currencyText',
-          width: 120,
-          className: 'replacecolor'
-        },
 
         {
-          title: '品牌方',
-          dataIndex: 'brandSide',
-          width: 180,
-          className: 'replacecolor'
-        },
-        {
-          title: '第三方',
-          dataIndex: 'thirdParty',
-          width: 220,
-          align: 'left',
-          className: 'replacecolor'
-        },
-        {
-          title: '最终客户',
-          dataIndex: 'endCustomer',
+          title: '订单数量',
+          dataIndex: 'orderQuantity',
           width: 120,
           className: 'replacecolor'
         },
+      
         {
-          title: '订单备注',
-          dataIndex: 'orderRemarks',
-          width: 200,
-          customRender: t => ellipsis(t),
-          className: 'replacecolor'
-        },
-
-        {
-          title: '处理方式',
-          dataIndex: 'treatmentMethod',
-          width: 160,
-          scopedSlots: { customRender: 'treatmentMethod' },
-          className: 'replacecolor'
-        },
-        {
-          title: '是否手册纱',
-          dataIndex: 'manualYarnFlag',
-          width: 140,
-          scopedSlots: { customRender: 'manualYarnFlag' },
-          className: 'replacecolor'
-        },
-        {
-          title: '手册纱单价',
-          dataIndex: 'manualYarnUnitPrice',
-          width: 160,
-          scopedSlots: { customRender: 'manualYarnUnitPrice' },
-          className: 'replacecolor'
-        },
-        {
-          title: '手册纱占比',
-          dataIndex: 'manualYarnProportion',
-          width: 120,
-          scopedSlots: { customRender: 'manualYarnProportion' },
-          className: 'replacecolor'
+          title: '发货数量',
+          dataIndex: 'shipmentQuantity',
+          scopedSlots: { customRender: 'shipmentQuantity' },
+          // width: 120,
         },
 
-        {
-          title: '操作',
-          dataIndex: 'operation',
-          scopedSlots: { customRender: 'operationSlot' },
-          width: 100,
-          fixed: 'right',
-          className: 'replacecolor'
-        }
       ],
 
       syShippingDetailsItemList: [], // 子表信息