瀏覽代碼

生产工单展示工单号

lxf 1 年之前
父節點
當前提交
8c64c5c3a0
共有 1 個文件被更改,包括 10 次插入28 次删除
  1. 10 28
      src/views/production/schedule/production-work-order/index.vue

+ 10 - 28
src/views/production/schedule/production-work-order/index.vue

@@ -162,7 +162,14 @@ const config = computed(() => {
       attrs: {
         label: "订单号",
         prop: "orderCode",
-        width: 180,
+        width: 150,
+      },
+    },
+    {
+      attrs: {
+        label: "工单号",
+        prop: "code",
+        width: 190,
       },
     },
     {
@@ -190,7 +197,7 @@ const config = computed(() => {
       attrs: {
         label: "BOM品号",
         prop: "bomSpecCode",
-        width: 140,
+        width: 130,
       },
     },
     {
@@ -204,7 +211,7 @@ const config = computed(() => {
       attrs: {
         label: "生产状态",
         prop: "status",
-        width: 100,
+        width: 80,
       },
       render(val) {
         if (val == 0) {
@@ -212,22 +219,6 @@ const config = computed(() => {
         }
       },
     },
-    // {
-    //   attrs: {
-    //     label: "工艺路线",
-    //     prop: "departmentName",
-    //     width: 120,
-    //   },
-    // },
-    // {
-    //   attrs: {
-    //     label: "投产时间",
-    //     prop: "departmentName",
-    //     width: 160,
-    //     align: "center",
-    //     fixed: "right",
-    //   },
-    // },
     {
       attrs: {
         label: "完成时间",
@@ -237,15 +228,6 @@ const config = computed(() => {
         fixed: "right",
       },
     },
-    // {
-    //   attrs: {
-    //     label: "生产用时",
-    //     prop: "departmentName",
-    //     width: 160,
-    //     align: "center",
-    //     fixed: "right",
-    //   },
-    // },
     {
       attrs: {
         label: "操作",