From 28efa940c280a4f84f0f24b8e4fc92a173af29e2 Mon Sep 17 00:00:00 2001
From: spring <2396852758@qq.com>
Date: 星期一, 16 三月 2026 13:47:15 +0800
Subject: [PATCH] fix: 修正前端报错

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

diff --git a/src/views/productionManagement/productionOrder/index.vue b/src/views/productionManagement/productionOrder/index.vue
index 04f5a45..5db077d 100644
--- a/src/views/productionManagement/productionOrder/index.vue
+++ b/src/views/productionManagement/productionOrder/index.vue
@@ -1,3 +1,4 @@
+<!-- 鐢熶骇璁㈠崟 -->
 <template>
   <div class="app-container">
     <div class="search_form">
@@ -114,12 +115,32 @@
   const NewProductOrder = defineAsyncComponent(() => import("@/views/productionManagement/productionOrder/New.vue"));
 
   const { proxy } = getCurrentInstance();
+  const { priority_type } = proxy.useDict("priority_type");
 
   const router = useRouter();
   const isShowNewModal = ref(false);
 
   const tableColumn = ref([
     {
+      label: "浼樺厛绾�",
+      prop: "priority",
+      width: '100px',
+      dataType: "tag",
+      formatData: val => proxy.selectDictLabel(priority_type.value, val),
+      formatType: val => {
+        const v = Number(val);
+        if (v === 0) return "danger";   // 绾㈣壊
+        if (v === 1) return "warning";  // 榛勮壊
+        if (v === 2) return "success";  // 缁胯壊
+        return "";
+      },
+    },
+    {
+      label: "鐢熶骇鎵瑰彿",
+      prop: "lotNo",
+      width: '120px',
+    },
+    {
       label: "鐢熶骇璁㈠崟鍙�",
       prop: "npsNo",
       width: '120px',

--
Gitblit v1.9.3