From a4b23bbf535f10c5ecc31b16bc8177bcfc23e996 Mon Sep 17 00:00:00 2001
From: hailin <1356886193@qq.com>
Date: 星期一, 07 八月 2023 09:44:13 +0800
Subject: [PATCH] 添加原材料检验单第一次
---
src/view/index.vue | 27 ++++++++++++++-------------
1 files changed, 14 insertions(+), 13 deletions(-)
diff --git a/src/view/index.vue b/src/view/index.vue
index 3745280..f6e7402 100644
--- a/src/view/index.vue
+++ b/src/view/index.vue
@@ -292,27 +292,27 @@
k: 3,
v: "鍘熸潗鏂欐楠�",
i: "font icon-shouye",
- u: ""
+ u: "rawInsBox"
}, {
k: 4,
v: "鍘熸潗鏂欎笉鍚堟牸鍝�",
i: "font icon-shouye",
- u: ""
+ u: "rawUnqualifiedBox"
}, {
k: 5,
v: "杩囩▼妫�楠�",
i: "font icon-shouye",
- u: ""
+ u: "processInspection"
}, {
k: 6,
v: "鎴愬搧妫�楠�",
i: "font icon-shouye",
- u: ""
+ u: "finishedProductInspection"
}, {
k: 7,
v: "涓嶅悎鏍煎搧绠$悊",
i: "font icon-shouye",
- u: ""
+ u: "unqualifiedManagement"
}, {
k: 8,
v: "瀹為獙瀹ょ鐞�",
@@ -330,14 +330,14 @@
u: ""
}]
}],
- activeBox: 1,
- activeP: 1,
- tabActive: 1,
+ activeBox: 0,
+ activeP: 0,
+ tabActive: 0,
tabs: [{
- k: 1,
- v: "鏍囧噯BOM",
+ k: 0,
+ v: "棣栭〉",
i: "font icon-shouye",
- u: "standard"
+ u: "index-index"
}],
upIndex: 0
};
@@ -349,14 +349,15 @@
methods: {
addTab(ob) {
if (ob.k == 0) this.activeBox = 0
- this.activeP = ob.k
- this.tabActive = ob.k
+ this.activeP = ob.k //0
+ this.tabActive = ob.k //0
let num = -1;
this.tabs.forEach((a, ai) => {
if (ob.k == a.k) {
num = a.k
}
})
+ // 濡傛灉娌℃湁閬嶅巻鍒皌abs閲屾病鏈夎ob瀵瑰簲鐨則able锛屽線tabs閲岄潰鍔犲叆璇b
if (num == -1) {
this.tabs.push(ob)
}
--
Gitblit v1.9.3