Browse Source

feat: 在生产计划、销售订单和工单中添加创建人和修改人信息列

xieyong 17 hours ago
parent
commit
4fd5f67e42
3 changed files with 70 additions and 0 deletions
  1. 21 0
      src/views/productionPlan/index.vue
  2. 28 0
      src/views/saleOrder/index.vue
  3. 21 0
      src/views/workOrder/index.vue

+ 21 - 0
src/views/productionPlan/index.vue

@@ -1114,6 +1114,13 @@
             width: 80,
             showOverflowTooltip: true
           },
+          {
+            prop: 'createUserName',
+            label: '创建人',
+            align: 'center',
+            width: 110,
+            showOverflowTooltip: true
+          },
           {
             prop: 'createTime',
             label: '创建时间',
@@ -1121,6 +1128,20 @@
             width: 110,
             showOverflowTooltip: true
           },
+          {
+            prop: 'updateUserName',
+            label: '修改人',
+            align: 'center',
+            width: 110,
+            showOverflowTooltip: true
+          },
+          {
+            prop: 'updateTime',
+            label: '修改时间',
+            align: 'center',
+            width: 110,
+            showOverflowTooltip: true
+          },
           {
             columnKey: 'status',
             slot: 'status',

+ 28 - 0
src/views/saleOrder/index.vue

@@ -588,6 +588,34 @@
             label: '生产要求',
             align: 'center',
             showOverflowTooltip: true
+          },
+          {
+            prop: 'createUserName',
+            label: '创建人',
+            align: 'center',
+            showOverflowTooltip: true,
+            minWidth: 110
+          },
+          {
+            prop: 'createTime',
+            label: '创建时间',
+            align: 'center',
+            showOverflowTooltip: true,
+            minWidth: 110
+          },
+          {
+            prop: 'updateUserName',
+            label: '修改人',
+            align: 'center',
+            showOverflowTooltip: true,
+            minWidth: 110
+          },
+          {
+            prop: 'updateTime',
+            label: '修改时间',
+            align: 'center',
+            showOverflowTooltip: true,
+            minWidth: 110
           }
         ];
       },

+ 21 - 0
src/views/workOrder/index.vue

@@ -704,6 +704,13 @@
             showOverflowTooltip: true
           },
 
+          {
+            prop: 'createUserName',
+            label: '创建人',
+            align: 'center',
+            showOverflowTooltip: true,
+            minWidth: 110
+          },
           {
             prop: 'createTime',
             label: '创建时间',
@@ -712,6 +719,20 @@
             minWidth: 110,
             sortable: 'custom'
           },
+          {
+            prop: 'updateUserName',
+            label: '修改人',
+            align: 'center',
+            showOverflowTooltip: true,
+            minWidth: 110
+          },
+          {
+            prop: 'updateTime',
+            label: '修改时间',
+            align: 'center',
+            showOverflowTooltip: true,
+            minWidth: 110
+          },
           // {
           //   slot: 'status',
           //   label: '状态',