严智鑫
2024-03-04 dd10a4e58513a66c6a3075dc5c1776f06b1f2a00
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
<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 >生产报表</template>
          <el-menu-item index="/main/report/WorkInProgress">在制品报表</el-menu-item>
          <el-menu-item index="/main/report/ProcessToBeCompleted">工序待完成</el-menu-item>
          <el-menu-item index="/main/report/ProductionSchedule">生产发货进度</el-menu-item>
          <el-menu-item index="/main/report/ProcessCardProgress">流程卡进度</el-menu-item>
          <el-menu-item index="/main/report/OrderPlanDecomposition">订单计划分解</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-menu-item  index="/main/report/DamageReport">次破报表</el-menu-item>
        <el-menu-item  index="/main/report/SplittingDetailsOutside">分架明细</el-menu-item>
        <el-menu-item  index="/main/report/TaskCompletionStatus">任务完成情况</el-menu-item>
        <el-menu-item  index="/main/report/RawMaterialRequisition">原片领料</el-menu-item>
        <el-menu-item  index="/main/report/QualityReport">品质报表</el-menu-item>
        <el-menu-item  index="/main/report/Yield">成品率报表</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>