From 8a00af1f534f4dd7d90cf48985d0b4ca536b0784 Mon Sep 17 00:00:00 2001
From: Fixiaobai <fixiaobai@163.com>
Date: 星期日, 24 九月 2023 16:36:11 +0800
Subject: [PATCH] modified: src/components/view/sale.vue
---
src/view/index.vue | 36 ++++++++----------------------------
1 files changed, 8 insertions(+), 28 deletions(-)
diff --git a/src/view/index.vue b/src/view/index.vue
index 95ba3db..0c7c5f5 100644
--- a/src/view/index.vue
+++ b/src/view/index.vue
@@ -91,7 +91,7 @@
}
.left .box i {
- font-size: 32px;
+ font-size: 24px;
margin-bottom: 8px;
}
@@ -209,7 +209,6 @@
height: 100%;
}
</style>
-<style></style>
<template>
<div class="all">
<div class="title">
@@ -260,7 +259,7 @@
</div>
<div class="component_view">
<component class="com_index" v-for="(com, index) in tabs" :is="com.u" :key="upIndex + '|' + index"
- v-show="com.k == tabActive">
+ v-show="com.k == tabActive" @removeAllTab="removeAllTab">
</component>
</div>
</div>
@@ -353,18 +352,6 @@
v: "WMS绠$悊",
i: "font icon-a-Inventorydumprequest",
c: [{
- k: 15,
- v: "鍘熸潗鏂欏簱瀛�",
- i: "font icon-shouye",
- u: ""
- },
- {
- k: 16,
- v: "鍥炲崟绠$悊",
- i: "font icon-shouye",
- u: ""
- },
- {
k: 17,
v: "鍗婃垚鍝佸簱瀛�",
i: "font icon-shouye",
@@ -414,7 +401,7 @@
},
{
k: 6,
- v: "鎴愬搧妫�楠�",
+ v: "浜у搧妫�楠�",
i: "font icon-shouye",
u: "finishedProductInspection"
},
@@ -473,12 +460,6 @@
u: "record-content"
},
{
- k: 24,
- v: "鑷椤圭洰缁存姢",
- i: "font icon-shouye",
- u: "self-inspection"
- },
- {
k: 25,
v: "鎶�鏈寚鏍囩淮鎶�",
i: "font icon-shouye",
@@ -501,12 +482,6 @@
v: "鐗╂枡娓呭崟缁存姢",
i: "font icon-shouye",
u: "mbom"
- },
- {
- k: 30,
- v: "鐢熶骇宸ヨ壓缁存姢",
- i: "font icon-shouye",
- u: "equipmentmaintain"
}
]
}
@@ -560,6 +535,7 @@
u: "index-index"
}]
},
+
upTabActive(num) {
this.tabActive = num;
this.activeP = num;
@@ -576,6 +552,10 @@
sessionStorage.clear();
localStorage.removeItem("autoenter");
this.$router.push("/enter");
+ },
+ removeAllTab() {
+ this.upIndex++
+ this.$message.warning('鏁版嵁鍙樺姩杈冨ぇ,椤甸潰鑷姩鏇存柊!')
}
}
};
--
Gitblit v1.9.3