From 00d9fec5ce60e626fadceebcb2b657fc17e04285 Mon Sep 17 00:00:00 2001
From: NNowhZzU <1539353356@qq.com>
Date: 星期五, 29 十二月 2023 11:45:33 +0800
Subject: [PATCH] 入库,退货增加弹窗

---
 north-glass-erp/northglass-erp/src/views/mm/stockReport/StockReport.vue |   31 ++++++++++++++++++-------------
 1 files changed, 18 insertions(+), 13 deletions(-)

diff --git a/north-glass-erp/northglass-erp/src/views/mm/stockReport/StockReport.vue b/north-glass-erp/northglass-erp/src/views/mm/stockReport/StockReport.vue
index 631737d..845b896 100644
--- a/north-glass-erp/northglass-erp/src/views/mm/stockReport/StockReport.vue
+++ b/north-glass-erp/northglass-erp/src/views/mm/stockReport/StockReport.vue
@@ -3,16 +3,17 @@
     <el-container>
       <el-header style="height: 30px">
         <el-breadcrumb :separator-icon="ArrowRight">
-<!--          <el-breadcrumb-item>閲囪喘涓庣墿璧�</el-breadcrumb-item>
-          <el-breadcrumb-item>浠撳偍鎶ヨ〃
-          </el-breadcrumb-item>-->
-          <el-breadcrumb-item :to="{path:'/main/stockReport/WarehouseReport'}">鍘熸潗鏂欐姤琛�
+          <el-breadcrumb-item @click="changeRouter(1)" :class="indexFlag===1?'indexTag':''"
+                              :to="{path:'/main/stockReport/WarehouseReport'}">鍘熸潗鏂欐姤琛�
           </el-breadcrumb-item>
-          <el-breadcrumb-item :to="{path:'/main/stockReport/StockWarehouseReport'}">鎴愬搧鎶ヨ〃
+          <el-breadcrumb-item @click="changeRouter(2)" :class="indexFlag===2?'indexTag':''"
+                              :to="{path:'/main/stockReport/StockWarehouseReport'}">鎴愬搧鎶ヨ〃
           </el-breadcrumb-item>
-          <el-breadcrumb-item :to="{path:'/main/stockReport/StockMonthReport'}">鍘熺墖鏈堢粨
+          <el-breadcrumb-item @click="changeRouter(3)" :class="indexFlag===3?'indexTag':''"
+                              :to="{path:'/main/stockReport/StockMonthReport'}">鍘熺墖鏈堢粨
           </el-breadcrumb-item>
-          <el-breadcrumb-item :to="{path:'/main/stockReport/SubsidiaryMonthReport'}">
+          <el-breadcrumb-item @click="changeRouter(4)" :class="indexFlag===4?'indexTag':''"
+                              :to="{path:'/main/stockReport/SubsidiaryMonthReport'}">
             杈呮枡鏈堢粨
           </el-breadcrumb-item>
           <el-breadcrumb-item style="display: none"></el-breadcrumb-item>
@@ -26,19 +27,23 @@
   </div>
 
 </template>
+
 <script setup>
+import {nextTick, ref} from 'vue'
+import {ArrowRight, Search} from "@element-plus/icons-vue";
 
-import {ArrowRight} from "@element-plus/icons-vue";
+let indexFlag = $ref(1)
 
-import {useRouter} from "vue-router";
+function changeRouter(index) {
+  indexFlag = index
+}
 
-const router = useRouter();
 </script>
 
 
 <style scoped>
-.ei-1 {
-  font-weight: 500;
+:deep(.indexTag .el-breadcrumb__inner) {
+  color: #5CADFE !important;
+  font-weight: 900;
 }
-
 </style>
\ No newline at end of file

--
Gitblit v1.8.0