Prechádzať zdrojové kódy

发运明细-编辑-字段更改

jbb 2 rokov pred
rodič
commit
08cf7a0308
1 zmenil súbory, kde vykonal 151 pridanie a 115 odobranie
  1. 151 115
      src/views/shipment-details/editShipDetDrawer.vue

+ 151 - 115
src/views/shipment-details/editShipDetDrawer.vue

@@ -270,7 +270,7 @@ export default {
         {
           title: '订单号',
           dataIndex: 'orderNumber',
-          width: 120,
+          width: 90,
           // fixed: 'left',
           className: 'replacecolor',
            ellipsis: true,
@@ -283,16 +283,16 @@ export default {
           className: 'replacecolor',
            ellipsis: true,
         },
-        {
-          title: '订单日期',
-          dataIndex: 'orderDate',
-          width: 120,
-          className: 'replacecolor',
-          customRender: text => {
-            return moment(text).format('YYYY-MM-DD')
-          },
-           ellipsis: true,
-        },
+        // {
+        //   title: '订单日期',
+        //   dataIndex: 'orderDate',
+        //   width: 120,
+        //   className: 'replacecolor',
+        //   customRender: text => {
+        //     return moment(text).format('YYYY-MM-DD')
+        //   },
+        //    ellipsis: true,
+        // },
         
          {
           title: '预发货日期',
@@ -317,13 +317,13 @@ export default {
           width: 100,
           className: 'replacecolor',
         },
-        {
-          title: '业务类型',
-          dataIndex: 'businessTypeText',
-          width: 120,
-          className: 'replacecolor',
-           ellipsis: true,
-        },
+        // {
+        //   title: '业务类型',
+        //   dataIndex: 'businessTypeText',
+        //   width: 120,
+        //   className: 'replacecolor',
+        //    ellipsis: true,
+        // },
         // {
         //   title: '客户订单',
         //   dataIndex: 'customerOrder',
@@ -354,47 +354,83 @@ export default {
            ellipsis: true,
         },
         {
-          title: '采购/委外订单号',
-          dataIndex: 'purOrSubOrder',
-          scopedSlots: { customRender: 'purOrSubOrder' },
-          // fixed: 'left',
-          width: 180,
+          title: '存货编码',
+          dataIndex: 'inventoryCode',
+          width: 110,
           className: 'replacecolor',
+           ellipsis: true,
         },
         {
-          title: '单价(销售)',
-          // scopedSlots: { customRender: 'salesUnitPrice' },
-          dataIndex: 'salesUnitPrice',
+          title: '存货名称',
+          dataIndex: 'inventoryName',
           width: 110,
           className: 'replacecolor',
            ellipsis: true,
         },
-          {
-          title: '佣金',
-          // scopedSlots: { customRender: 'ymoney' },
-          dataIndex: 'ymoney',
+        {
+          title: '颜色',
+          dataIndex: 'colour',
           width: 80,
           className: 'replacecolor',
            ellipsis: true,
         },
-
         {
-          title: ' 报关单价',
-          dataIndex: 'customsDeclarationUnitPrice',
-          // scopedSlots: { customRender: 'customsDeclarationUnitPrice' },
-          // fixed: 'left',
-          width: 90,
+          title: '尺码',
+          dataIndex: 'size',
+          width: 80,
           className: 'replacecolor',
            ellipsis: true,
         },
-         {
-          title: '工厂单价',
-          dataIndex: 'factoryUnitPrice',
-          width: 90,
-          // scopedSlots: { customRender: 'factoryUnitPrice' },
+        {
+          title: '配码规格',
+          dataIndex: 'codingRules',
+          width: 110,
           className: 'replacecolor',
            ellipsis: true,
         },
+        
+        {
+          title: '采购/委外订单号',
+          dataIndex: 'purOrSubOrder',
+          // scopedSlots: { customRender: 'purOrSubOrder' },
+          // fixed: 'left',
+          width: 130,
+          className: 'replacecolor',
+        },
+        // {
+        //   title: '单价(销售)',
+        //   // scopedSlots: { customRender: 'salesUnitPrice' },
+        //   dataIndex: 'salesUnitPrice',
+        //   width: 110,
+        //   className: 'replacecolor',
+        //    ellipsis: true,
+        // },
+        //   {
+        //   title: '佣金',
+        //   // scopedSlots: { customRender: 'ymoney' },
+        //   dataIndex: 'ymoney',
+        //   width: 80,
+        //   className: 'replacecolor',
+        //    ellipsis: true,
+        // },
+
+        // {
+        //   title: ' 报关单价',
+        //   dataIndex: 'customsDeclarationUnitPrice',
+        //   // scopedSlots: { customRender: 'customsDeclarationUnitPrice' },
+        //   // fixed: 'left',
+        //   width: 90,
+        //   className: 'replacecolor',
+        //    ellipsis: true,
+        // },
+        //  {
+        //   title: '工厂单价',
+        //   dataIndex: 'factoryUnitPrice',
+        //   width: 90,
+        //   // scopedSlots: { customRender: 'factoryUnitPrice' },
+        //   className: 'replacecolor',
+        //    ellipsis: true,
+        // },
 
         {
           title: '订单数量',
@@ -403,13 +439,13 @@ export default {
           className: 'replacecolor',
            ellipsis: true,
         },
-        {
-          title: '订单剩余数量',
-          dataIndex: 'orderRemainingQuantity',
-          width: 120,
-          className: 'replacecolor',
-           ellipsis: true,
-        },
+        // {
+        //   title: '订单剩余数量',
+        //   dataIndex: 'orderRemainingQuantity',
+        //   width: 120,
+        //   className: 'replacecolor',
+        //    ellipsis: true,
+        // },
 
         {
           title: '发货数量',
@@ -446,23 +482,23 @@ export default {
         //   width: 120,
         //   className: 'replacecolor'
         // },
-        {
-          title: '客户简称',
-          dataIndex: 'customerAbbreviation',
-          width: 120,
-          align: 'left',
-          className: 'replacecolor',
-           ellipsis: true,
-        },
-        {
-          title: '客户名称',
-          dataIndex: 'customerName',
-          width: 300,
-          align: 'left',
-          className: 'replacecolor',
-          //  customRender: t => ellipsis(t),
-           ellipsis: true,
-        },
+        // {
+        //   title: '客户简称',
+        //   dataIndex: 'customerAbbreviation',
+        //   width: 120,
+        //   align: 'left',
+        //   className: 'replacecolor',
+        //    ellipsis: true,
+        // },
+        // {
+        //   title: '客户名称',
+        //   dataIndex: 'customerName',
+        //   width: 300,
+        //   align: 'left',
+        //   className: 'replacecolor',
+        //   //  customRender: t => ellipsis(t),
+        //    ellipsis: true,
+        // },
         // {
         //   title: '汇率',
         //   dataIndex: 'exchangeRate',
@@ -470,43 +506,43 @@ export default {
         //   className: 'replacecolor'
         // },
 
-        {
-          title: '销售部门',
-          dataIndex: 'salesDepartment',
-          width: 100,
-          className: 'replacecolor',
-           ellipsis: true,
-        },
-        {
-          title: '业务员',
-          dataIndex: 'salesman',
-          width: 100,
-          className: 'replacecolor',
-           ellipsis: true,
-        },
-        {
-          title: '币种',
-          dataIndex: 'currencyText',
-          width: 90,
-          className: 'replacecolor',
-           ellipsis: true,
-        },
+        // {
+        //   title: '销售部门',
+        //   dataIndex: 'salesDepartment',
+        //   width: 100,
+        //   className: 'replacecolor',
+        //    ellipsis: true,
+        // },
+        // {
+        //   title: '业务员',
+        //   dataIndex: 'salesman',
+        //   width: 100,
+        //   className: 'replacecolor',
+        //    ellipsis: true,
+        // },
+        // {
+        //   title: '币种',
+        //   dataIndex: 'currencyText',
+        //   width: 90,
+        //   className: 'replacecolor',
+        //    ellipsis: true,
+        // },
 
-        {
-          title: '品牌方',
-          dataIndex: 'brandSide',
-          width: 100,
-          className: 'replacecolor',
-           ellipsis: true,
-        },
-        {
-          title: '第三方',
-          dataIndex: 'thirdParty',
-          width: 220,
-          align: 'left',
-          className: 'replacecolor',
-           ellipsis: true,
-        },
+        // {
+        //   title: '品牌方',
+        //   dataIndex: 'brandSide',
+        //   width: 100,
+        //   className: 'replacecolor',
+        //    ellipsis: true,
+        // },
+        // {
+        //   title: '第三方',
+        //   dataIndex: 'thirdParty',
+        //   width: 220,
+        //   align: 'left',
+        //   className: 'replacecolor',
+        //    ellipsis: true,
+        // },
         // {
         //   title: '定金比例(%)',
         //   dataIndex: 'depositRatio',
@@ -535,20 +571,20 @@ export default {
         //   customRender: t => ellipsis(t),
         //   className: 'replacecolor'
         // },
-        {
-          title: '最终客户',
-          dataIndex: 'endCustomer',
-          width: 120,
-          className: 'replacecolor'
-        },
-        {
-          title: '订单备注',
-          dataIndex: 'orderRemarks',
-          width: 200,
-          // customRender: t => ellipsis(t),
-          className: 'replacecolor',
-           ellipsis: true,
-        },
+        // {
+        //   title: '最终客户',
+        //   dataIndex: 'endCustomer',
+        //   width: 120,
+        //   className: 'replacecolor'
+        // },
+        // {
+        //   title: '订单备注',
+        //   dataIndex: 'orderRemarks',
+        //   width: 200,
+        //   // customRender: t => ellipsis(t),
+        //   className: 'replacecolor',
+        //    ellipsis: true,
+        // },
         // {
         //   title: '价格备注',
         //   dataIndex: 'priceRemarks',