From 612c77e7b76e803b7604e260c41f8843694315b1 Mon Sep 17 00:00:00 2001
From: gaoluyang <2820782392@qq.com>
Date: 星期五, 27 三月 2026 15:55:47 +0800
Subject: [PATCH] 军泰伟业 1.已发货数量等于总数量时,状态为已发货。已发货数量小于总数量时,状态建议新增发货中 2.产品清除工艺路线点击确定后,仍然回显绑定的工艺路线
---
src/views/inventoryManagement/receiptManagement/index.vue | 24 +++++++++++++++---------
1 files changed, 15 insertions(+), 9 deletions(-)
diff --git a/src/views/inventoryManagement/receiptManagement/index.vue b/src/views/inventoryManagement/receiptManagement/index.vue
index 8ca110f..879e3c3 100644
--- a/src/views/inventoryManagement/receiptManagement/index.vue
+++ b/src/views/inventoryManagement/receiptManagement/index.vue
@@ -14,23 +14,29 @@
<script setup>
import Record from "@/views/inventoryManagement/receiptManagement/Record.vue";
-const activeTab = ref('qualified')
-const type = ref(0)
+const activeTab = ref('selfMade')
+const type = ref(1)
const tabs = ref([
{
- 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