ysy 2 rokov pred
rodič
commit
a57b3760ff

+ 28 - 8
src/views/material/manage/components/index-data.vue

@@ -75,7 +75,7 @@
           {
             columnKey: 'index',
             type: 'index',
-            width: 55,
+            width: 50,
             align: 'center',
             showOverflowTooltip: true,
             label: '序号'
@@ -84,20 +84,17 @@
             prop: 'code',
             label: '编码',
             align: 'center',
-            showOverflowTooltip: true
+            showOverflowTooltip: true,
+            minWidth: 110
           },
           {
             prop: 'name',
             label: '名称',
             align: 'center',
-            showOverflowTooltip: true
-          },
-          {
-            prop: 'categoryLevelGroupName',
-            label: '物料组',
             showOverflowTooltip: true,
             minWidth: 110
           },
+      
           {
             prop: 'brandNum',
             align: 'center',
@@ -120,8 +117,31 @@
             prop: 'measuringUnit',
             label: '计量单位',
             showOverflowTooltip: true,
-            minWidth: 110
+            minWidth: 90
+          },
+
+          {
+            prop: 'weightUnit',
+            label: '重量单位',
+            showOverflowTooltip: true,
+            minWidth: 90
           },
+
+          {
+            prop: 'roughWeight',
+            label: '毛重',
+            showOverflowTooltip: true,
+            minWidth: 90
+          },
+
+          {
+            prop: 'netWeight',
+            label: '净重',
+            showOverflowTooltip: true,
+            minWidth: 90
+          },
+
+
           {
             prop: 'packingUnit',
             align: 'center',

+ 40 - 6
src/views/material/product/index.vue

@@ -64,28 +64,62 @@
           },
           {
             prop: 'code',
-            label: '产品编码'
+            label: '产品编码',
+            minWidth: 100
           },
           {
             prop: 'name',
             label: '产品名称',
-            showOverflowTooltip: true
+            showOverflowTooltip: true,
+            minWidth: 130
           },
+
+          {
+            prop: 'categoryLevelGroupCode',
+            label: '物料组编码',
+            showOverflowTooltip: true,
+            width: 100
+          },
+
           {
             prop: 'brandNum',
-            label: '牌号'
+            label: '牌号',
+            width: 70
           },
           {
             prop: 'modelType',
-            label: '型号'
+            label: '型号',
+            minWidth: 130
           },
           {
             prop: 'measuringUnit',
-            label: '计量单位'
+            label: '计量单位',
+            width: 80
+          },
+          {
+            prop: 'weightUnit',
+            label: '重量单位',
+            width: 80
           },
+
+          {
+            prop: 'roughWeight',
+            label: '毛重',
+            width: 100
+        
+          },
+
+          {
+            prop: 'netWeight',
+            label: '净重',
+            width: 100
+       
+          },
+
           {
             prop: 'packingUnit',
-            label: '包装单位'
+            label: '包装单位',
+            width: 80
           },
           {
             action: 'action',