Bläddra i källkod

出运明细列表增加颜色字段

yuansh 3 dagar sedan
förälder
incheckning
75a3f1dc46
1 ändrade filer med 9 tillägg och 0 borttagningar
  1. 9 0
      src/views/shipment-details/shipmentList.vue

+ 9 - 0
src/views/shipment-details/shipmentList.vue

@@ -366,6 +366,14 @@ export default {
           className: 'replacecolor',
           sorter:(a, b) => a.smallPo - b.smallPo,
         },
+        {
+          title: '颜色',
+          dataIndex: 'colour',
+          width: 110,
+          ellipsis: true,
+          className: 'replacecolor',
+          sorter:(a, b) => a.colour - b.colour,
+        },
 
         {
           title: '存货名称',
@@ -596,6 +604,7 @@ export default {
           { field: "salesman", key: "d", title: "业务员", align: "center", width: 100,sortBy: "", ellipsis: {showTitle: true,},},
           { field: "distributionPoint", key: "e", title: "分销点", align: "center", width: 110,sortBy: "", ellipsis: {showTitle: true,},},
           { field: "smallPo", key: "f", title: "小po", align: "center", width: 200,sortBy: "", ellipsis: {showTitle: true,},},
+          { field: "colour", key: "cc", title: "颜色", align: "center", width: 200,sortBy: "", ellipsis: {showTitle: true,},},
           { field: "inventoryName", key: "g", title: "存货名称", align: "center", width: 350,sortBy: "", ellipsis: {showTitle: true},
             renderBodyCell: ({ row, column, rowIndex }, h) => {
               const text = row[column.field];