chenlu
2025-11-27 b70ea28f51757ed39992d5a71b2e15b1d4cc7c7d
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
<script setup>
import {ref} from "vue";
import {ArrowLeftBold, ArrowRight} from "@element-plus/icons-vue";
import request from "@/utils/request";
import deepClone from "@/utils/deepClone";
import {ElMessage} from "element-plus";
import {useRouter} from "vue-router";
import  GlassType from '@/components/basic/product/GlassType.vue'
 
 
 
const router = useRouter()
let flag = $ref(true)
let flag1 = $ref(true)
function intoRelease(){
  if(flag){
    router.push('/main/Replenish/AddReplenish')
  }else {
    router.push('/main/Replenish/SelectReplenish')
  }
  flag=!flag
}
function intoAddWorkOrder(){
  if(flag1){
    router.push('/main/Replenish/PrintReplenishFlowCard')
  }else {
    router.push('/main/Replenish/SelectReplenish')
  }
  flag1=!flag1
}
</script>
 
<template>
  <div id="main">
    <div id="div-title">
      <el-menu
          class="el-menu-demo"
          mode="horizontal"
          :default-active="$route.path"
          router
          background-color="#5CADFE"
          text-color="#000000"
          active-text-color="#ffffff"
 
      >
 
        <el-sub-menu index="1" >
          <template #title >{{$t('report.productionReport')}}</template>
          <el-menu-item index="/main/report/WorkInProgressCombination">{{$t('report.WorkInProgressCombination')}}</el-menu-item>
          <el-menu-item index="/main/report/WorkInProgress">{{$t('report.workInProgressReport')}}</el-menu-item>
          <el-menu-item index="/main/report/ProcessCompletedSummarize">{{$t('report.processCompleted')}}</el-menu-item>
 
          <el-menu-item index="/main/report/ProcessToBeCompleted">{{$t('report.processToBeCompleted')}}</el-menu-item>
          <el-menu-item index="/main/report/ProductionSchedule">{{$t('report.productionAndShippingProgress')}}</el-menu-item>
          <el-menu-item index="/main/report/ProcessCardProgress">{{$t('report.processCardProgress')}}</el-menu-item>
          <el-menu-item index="/main/report/OrderPlanDecomposition">{{$t('report.orderPlanDecomposition')}}</el-menu-item>
          <el-menu-item index="/main/report/OrderReportingWorks">{{$t('report.page.orderWorkReportForm')}}</el-menu-item>
        </el-sub-menu>
<!--        <el-sub-menu  index="2" popper-class="test">-->
<!--          <template #title>产量报表</template>-->
<!--          <el-menu-item index="/main/report/TeamOutput">班组产量</el-menu-item>-->
<!--          <el-menu-item index="/main/report/EquipmentOutput">设备产量</el-menu-item>-->
<!--        </el-sub-menu>-->
        <el-sub-menu  index="3" popper-class="test">
          <template #title>{{$t('report.secondaryBrokenReport')}}</template>
          <el-menu-item  index="/main/report/DamageReport">{{$t('report.secondaryBrokenTotal')}}</el-menu-item>
          <el-menu-item index="/main/report/CrossProcessBreaking">{{$t('report.crossProcessBreakdown')}}</el-menu-item>
          <el-menu-item index="/main/report/NotCrossProcessBreaking">{{$t('report.notCrossProcessBreakdown')}}</el-menu-item>
        </el-sub-menu>
        <el-menu-item  index="/main/report/TeamOutput">{{$t('report.teamOutput')}}</el-menu-item>
        <el-menu-item  index="/main/report/SplittingDetailsOutside">{{$t('report.splittingDetails')}}</el-menu-item>
        <el-menu-item  index="/main/report/TaskCompletionStatus">{{$t('report.TaskCompletionStatus')}}</el-menu-item>
        <el-menu-item  index="/main/report/RawMaterialRequisition">{{$t('report.rawMaterialRequisition')}}</el-menu-item>
        <el-menu-item  index="/main/report/QualityReport">{{$t('report.qualityReport')}}</el-menu-item>
 
        <el-sub-menu  index="4" popper-class="test">
          <template #title>{{$t('report.yieldReport')}}</template>
          <el-menu-item  index="/main/report/Yield">{{$t('report.yieldReport')}}</el-menu-item>
          <el-menu-item index="/main/report/YieldProcess">{{$t('report.yieldProcessReport')}}</el-menu-item>
        </el-sub-menu>
        <el-menu-item  index="/main/report/ScheduleProductionSchedule">{{$t('report.productionScheduling')}}</el-menu-item>
<!--        <el-menu-item  index="/main/report/OrderBOMOutside">BOM报表</el-menu-item>-->
      </el-menu>
    </div>
 
    <div id="main-body">
      <router-view  />
    </div>
  </div>
</template>
 
<style scoped>
#main{
  width: 100%;
  height: 100%;
}
#main-body{
  width: 99%;
  height: 92%;
  margin-top: 1%;
}
/*main-body样式*/
.el-menu-demo{
  height: 40px;
}
 
#div-title{
  height: 5%;
  width: 100%;
  //color: #ffd04b;
}
 
 
 
 
 
 
</style>