From ed36047f6ce0b91dad25efc10c8a0e83dd533a68 Mon Sep 17 00:00:00 2001
From: zhangwencui <1064582902@qq.com>
Date: 星期五, 20 三月 2026 17:15:37 +0800
Subject: [PATCH] change

---
 src/views/productionManagement/processRoute/index.vue |   45 +++++++++++++++++++++++++++++++++++++++++++++
 1 files changed, 45 insertions(+), 0 deletions(-)

diff --git a/src/views/productionManagement/processRoute/index.vue b/src/views/productionManagement/processRoute/index.vue
index 2ba70f2..f907915 100644
--- a/src/views/productionManagement/processRoute/index.vue
+++ b/src/views/productionManagement/processRoute/index.vue
@@ -15,6 +15,18 @@
                        :value="option.dictCode" />
           </el-select>
         </el-form-item>
+        <el-form-item label="鐘舵��:">
+          <el-select v-model="searchForm.status"
+                     style="width: 200px;"
+                     placeholder="璇烽�夋嫨鐘舵��"
+                     clearable
+                     @change="handleQuery">
+            <el-option label="宸叉壒鍑�"
+                       :value="true" />
+            <el-option label="鑽夌"
+                       :value="false" />
+          </el-select>
+        </el-form-item>
         <el-form-item>
           <el-button type="primary"
                      @click="handleQuery">鎼滅储</el-button>
@@ -73,6 +85,7 @@
   const data = reactive({
     searchForm: {
       dictCode: "",
+      status: "",
     },
   });
   const { searchForm } = toRefs(data);
@@ -80,10 +93,33 @@
     {
       label: "宸ヨ壓璺嚎缂栧彿",
       prop: "processRouteCode",
+      width: "200px",
+      className: "status-cell",
+    },
+    {
+      label: "鐘舵��",
+      prop: "status",
+      dataType: "tag",
+
+      formatData: params => {
+        if (params) {
+          return "宸叉壒鍑�";
+        } else {
+          return "鑽夌";
+        }
+      },
+      formatType: params => {
+        if (params) {
+          return "success";
+        } else {
+          return "info";
+        }
+      },
     },
     {
       label: "浜у搧绫诲瀷",
       prop: "dictLabel",
+      dataType: "tag",
     },
     {
       label: "BOM缂栧彿",
@@ -207,6 +243,7 @@
         model: row.model || "",
         bomNo: row.bomNo || "",
         dictLabel: row.dictLabel || "",
+        orderId: row.id || "",
         bomId: row.bomId || null,
         description: row.description || "",
         type: "route",
@@ -287,3 +324,11 @@
 </script>
 
 <style scoped></style>
+<style lang="scss">
+  .status-cell {
+    font-weight: 600;
+    color: #409eff;
+    font-family: "Courier New", monospace;
+    text-shadow: 0 1px 2px rgba(64, 158, 255, 0.2);
+  }
+</style>
\ No newline at end of file

--
Gitblit v1.9.3