From 1615528985f30b496d3c294e82136434ee36397c Mon Sep 17 00:00:00 2001
From: 李林 <z1292839451@163.com>
Date: 星期三, 09 八月 2023 17:54:23 +0800
Subject: [PATCH] 8.9编写销售管理

---
 src/view/index.vue |   21 +++++++++++++++++++--
 1 files changed, 19 insertions(+), 2 deletions(-)

diff --git a/src/view/index.vue b/src/view/index.vue
index b3129ef..d00260b 100644
--- a/src/view/index.vue
+++ b/src/view/index.vue
@@ -210,7 +210,11 @@
         <i class="font icon-shouye"></i>
         <div>棣栭〉</div>
       </div>
-      <el-popover placement="right-start" width="90" trigger="click" v-for="(a, ai) in menu" :key="ai" v-if="a.k!='0'">
+			<div :class="`box ${activeBox==3?'active_box':''}`" @click="addTab(menu[1].c[0])">
+			  <i class="font icon-jine"></i>
+			  <div>閿�鍞鐞�</div>
+			</div>
+      <el-popover placement="right-start" width="90" trigger="click" v-for="(a, ai) in menu" :key="ai" v-if="a.k!='0'&&a.k!='3'">
         <div :class="`box ${activeBox==a.k?'active_box':''}`" @click="activeBox = a.k" slot="reference">
           <i :class="a.i"></i>
           <div>{{a.v}}</div>
@@ -268,6 +272,16 @@
             v: "棣栭〉",
             i: "font icon-shouye",
             u: "index-index"
+          }]
+        },{
+          k: 3,
+          v: "閿�鍞鐞�",
+          i: "font icon-jine",
+          c: [{
+            k: 11,
+            v: "閿�鍞鐞�",
+            i: "font icon-jine",
+            u: "sale"
           }]
         }, {
           k: 1,
@@ -349,6 +363,7 @@
     methods: {
       addTab(ob) {
         if (ob.k == 0) this.activeBox = 0
+				if (ob.k == 11) this.activeBox = 3
         this.activeP = ob.k  //0
         this.tabActive = ob.k  //0
         let num = -1;
@@ -380,7 +395,9 @@
           this.activeBox = 1
         } else if (num > 2 && num <= 10) {
           this.activeBox = 2
-        }
+        } else if(num == 11){
+					this.activeBox = 3
+				}
       },
       out() {
         sessionStorage.clear()

--
Gitblit v1.9.3