From f3f5a0c0db0b782401a9a0fcf6176312f420d941 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期三, 25 三月 2026 14:01:19 +0800
Subject: [PATCH] 军泰伟业 1.不要树形结构。根据图纸编号为唯一索引添加产品并可以导入 2.要求可以上传图纸 3.产品可以绑定工艺路线 4.工艺路线改成由工序组成,新增编辑是工序可以挪动顺序 5.工序添加报工权限字段,可以多选人员

---
 src/views/inventoryManagement/dispatchLog/index.vue |   26 +++++++++++++++++---------
 1 files changed, 17 insertions(+), 9 deletions(-)

diff --git a/src/views/inventoryManagement/dispatchLog/index.vue b/src/views/inventoryManagement/dispatchLog/index.vue
index 88d9984..2f70131 100644
--- a/src/views/inventoryManagement/dispatchLog/index.vue
+++ b/src/views/inventoryManagement/dispatchLog/index.vue
@@ -14,25 +14,33 @@
 
 <script setup>
 import Record from "@/views/inventoryManagement/dispatchLog/Record.vue";
-const activeTab = ref('qualified')
-const type = ref(0)
+import { computed, ref } from "vue";
+
+const activeTab = ref('selfMade')
+const type = ref(1)
 const tabs = computed(() => {
   return [
     {
-      label: '鍚堟牸鍑哄簱',
-      name: 'qualified',
-      type: '0'
+      label: '鑷埗',
+      name: 'selfMade',
+      type: 1
     },
     {
-      label: '涓嶅悎鏍煎嚭搴�',
-      name: 'unqualified',
-      type: '1'
+      label: '澶栬喘',
+      name: 'purchase',
+      type: 2
+    },
+    {
+      label: '濮斿',
+      name: 'outsourcing',
+      type: 3
     }
   ]
 })
 
 const handleTabChange = (tabName) => {
   activeTab.value = tabName;
-  type.value = tabName === 'qualified' ? 0 : 1
+  const tab = tabs.value.find(t => t.name === tabName);
+  type.value = tab ? tab.type : 1;
 }
 </script>

--
Gitblit v1.9.3