| New file |
| | |
| | | <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-breadcrumb :separator-icon="ArrowRight">--> |
| | | <!-- <el-breadcrumb-item :to="{ path: '/main/Replenish/SelectReplenish' }">管理</el-breadcrumb-item>--> |
| | | <!-- <el-breadcrumb-item :to="{ path: '/main/Replenish/AddReplenish' }">补片新增</el-breadcrumb-item>--> |
| | | <!-- <el-breadcrumb-item :to="{ path: '/main/Replenish/PrintReplenishFlowCard' }">补片打印</el-breadcrumb-item>--> |
| | | <!-- <el-breadcrumb-item :to="{ path: '/main/processCard/SelectPrintFlowCard' }" style="display: none">打印</el-breadcrumb-item>--> |
| | | <!-- </el-breadcrumb>--> |
| | | <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/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> |