From 0c4bdf3dca76f9b8c348f2f7e48f9a6319dee4e1 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 17 四月 2026 17:09:22 +0800
Subject: [PATCH] 进销存升级 1.销售台账不能删除和编辑别人维护的数据 2.产品维护固定产品大类为:成品、半成品、原材料。

---
 src/views/productionManagement/productionProcess/index.vue |   16 +++++++++++++++-
 1 files changed, 15 insertions(+), 1 deletions(-)

diff --git a/src/views/productionManagement/productionProcess/index.vue b/src/views/productionManagement/productionProcess/index.vue
index 9761f25..98c070f 100644
--- a/src/views/productionManagement/productionProcess/index.vue
+++ b/src/views/productionManagement/productionProcess/index.vue
@@ -114,6 +114,20 @@
       },
     },
     {
+      label: "鏄惁鍏ュ簱",
+      prop: "inbound",
+      formatData: (params) => {
+        return params ? "鏄�" : "鍚�";
+      },
+    },
+    {
+      label: "鏄惁鎶ュ伐",
+      prop: "reportWork",
+      formatData: (params) => {
+        return params ? "鏄�" : "鍚�";
+      },
+    },
+    {
       label: "澶囨敞",
       prop: "remark",
     },
@@ -179,7 +193,7 @@
         tableLoading.value = false;
         tableData.value = res.data.records.map(item => ({
           ...item,
-          typeText: item.type ? (item.type === 0 ? "璁℃椂" : "璁′欢") : "",
+          typeText: item.type !== undefined && item.type !== null ? (item.type === 0 ? "璁℃椂" : "璁′欢") : "",
         }));
         page.total = res.data.total;
       })

--
Gitblit v1.9.3