| | |
| | | <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> |
| | |
| | | </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> |