Browse Source

refactor(forecast): 调整预测表格列顺序并移除冗余列

yz 3 days ago
parent
commit
227cd14fe0
1 changed files with 30 additions and 30 deletions
  1. 30 30
      src/views/forecast/forecastIndex.js

+ 30 - 30
src/views/forecast/forecastIndex.js

@@ -102,14 +102,6 @@ export default {
         menu: false,
         column: [
           {
-            label: '预测编码',
-            prop: 'forecastCode',
-            search: true,
-            searchSpan: 6,
-            width: 150,
-            overHidden: true
-          },
-          {
             label: '年份',
             prop: 'year',
             type: 'year',
@@ -141,28 +133,6 @@ export default {
             width: 100
           },
           {
-            label: '客户名称',
-            prop: 'customerName',
-            search: true,
-            searchSpan: 6,
-            width: 180,
-            overHidden: true
-          },
-          {
-            label: '客户编码',
-            prop: 'customerCode',
-            search: false,
-            width: 150,
-            overHidden: true
-          },
-          {
-            label: '品牌名称',
-            prop: 'brandName',
-            search: false,
-            width: 120,
-            overHidden: true
-          },
-          {
             label: '物料名称',
             prop: 'itemName',
             search: false,
@@ -202,6 +172,13 @@ export default {
             align: 'right'
           },
           {
+            label: '品牌名称',
+            prop: 'brandName',
+            search: false,
+            width: 120,
+            overHidden: true
+          },
+          {
             label: '审批状态',
             prop: 'approvalStatus',
             type: 'select',
@@ -227,6 +204,29 @@ export default {
             width: 160
           },
           {
+            label: '预测编码',
+            prop: 'forecastCode',
+            search: true,
+            searchSpan: 6,
+            width: 150,
+            overHidden: true
+          },
+          {
+            label: '客户名称',
+            prop: 'customerName',
+            search: true,
+            searchSpan: 6,
+            width: 180,
+            overHidden: true
+          },
+          {
+            label: '客户编码',
+            prop: 'customerCode',
+            search: false,
+            width: 150,
+            overHidden: true
+          },
+          {
             label: '创建时间',
             prop: 'createTime',
             type: 'datetime',