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