|
|
@@ -0,0 +1,153 @@
|
|
|
+<template>
|
|
|
+ <div class="ele-body">
|
|
|
+ <el-card>
|
|
|
+ <div class="page-title">
|
|
|
+ <el-page-header @back="$router.go(-1)">
|
|
|
+ <div slot="content" class="pageContent">
|
|
|
+ <div>生产报工</div>
|
|
|
+ </div>
|
|
|
+ </el-page-header>
|
|
|
+ </div>
|
|
|
+
|
|
|
+ <el-collapse-transition>
|
|
|
+ <el-descriptions
|
|
|
+ title=""
|
|
|
+ direction="vertical"
|
|
|
+ :column="7"
|
|
|
+ border
|
|
|
+ v-if="descriptionsShow"
|
|
|
+ >
|
|
|
+ <el-descriptions-item label="工单号"
|
|
|
+ >kooriookami</el-descriptions-item
|
|
|
+ >
|
|
|
+ <el-descriptions-item label="生产版本"
|
|
|
+ >18100000000</el-descriptions-item
|
|
|
+ >
|
|
|
+ <el-descriptions-item label="工单类型">苏州市</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="产线">苏州市</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="工艺路线版本"
|
|
|
+ >苏州市</el-descriptions-item
|
|
|
+ >
|
|
|
+ <el-descriptions-item label="计划编号">苏州市</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="计划类型">苏州市</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="产品编码">苏州市</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="产品名称">苏州市</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="牌号 | 型号"
|
|
|
+ >苏州市</el-descriptions-item
|
|
|
+ >
|
|
|
+ <el-descriptions-item label="要求成型数量(PCS)"
|
|
|
+ >苏州市</el-descriptions-item
|
|
|
+ >
|
|
|
+ <el-descriptions-item label="要求成型重量(KG)"
|
|
|
+ >苏州市</el-descriptions-item
|
|
|
+ >
|
|
|
+ <el-descriptions-item label="计划开始时间"
|
|
|
+ >苏州市</el-descriptions-item
|
|
|
+ >
|
|
|
+ <el-descriptions-item label="实际开始时间"
|
|
|
+ >苏州市</el-descriptions-item
|
|
|
+ >
|
|
|
+ <el-descriptions-item label="已成型数量(PCS)"
|
|
|
+ >苏州市</el-descriptions-item
|
|
|
+ >
|
|
|
+ <el-descriptions-item label="已成型重量(KG)"
|
|
|
+ >苏州市</el-descriptions-item
|
|
|
+ >
|
|
|
+ <el-descriptions-item label="已交付数量(PCS)"
|
|
|
+ >苏州市</el-descriptions-item
|
|
|
+ >
|
|
|
+ <el-descriptions-item label="已交付重量(KG)"
|
|
|
+ >苏州市</el-descriptions-item
|
|
|
+ >
|
|
|
+ <el-descriptions-item label="工单状态">苏州市</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="完成时间">苏州市</el-descriptions-item>
|
|
|
+ <el-descriptions-item label="生产周期">苏州市</el-descriptions-item>
|
|
|
+ </el-descriptions>
|
|
|
+ </el-collapse-transition>
|
|
|
+ <div>
|
|
|
+ <el-button
|
|
|
+ class="w100"
|
|
|
+ type="primary"
|
|
|
+ size="mini"
|
|
|
+ plain
|
|
|
+ @click="descriptionsShow = !descriptionsShow"
|
|
|
+ >
|
|
|
+ <i
|
|
|
+ class="el-icon el-icon-d-arrow-left"
|
|
|
+ :class="[descriptionsShow ? 'slideDown-icon' : 'slideUp-icon']"
|
|
|
+ ></i>
|
|
|
+ </el-button>
|
|
|
+ </div>
|
|
|
+ </el-card>
|
|
|
+
|
|
|
+ <el-tabs v-model="activeName" type="card">
|
|
|
+ <el-tab-pane label="挤压成型" name="1"></el-tab-pane>
|
|
|
+ <el-tab-pane label="自然干燥" name="2"></el-tab-pane>
|
|
|
+ <el-tab-pane label="升温干燥" name="3"></el-tab-pane>
|
|
|
+ <el-tab-pane label="半加定长" name="4"></el-tab-pane>
|
|
|
+ <el-tab-pane label="备炉" name="5"></el-tab-pane>
|
|
|
+ <el-tab-pane label="烧结" name="6"></el-tab-pane>
|
|
|
+ <el-tab-pane label="深加工" name="7"></el-tab-pane>
|
|
|
+ <el-tab-pane label="包装" name="8"></el-tab-pane>
|
|
|
+ <el-tab-pane label="入库" name="9"></el-tab-pane>
|
|
|
+ </el-tabs>
|
|
|
+ <components :is="componentsList[activeName]"></components>
|
|
|
+ </div>
|
|
|
+</template>
|
|
|
+
|
|
|
+<script>
|
|
|
+ import Extrusion from './components/report/Extrusion';
|
|
|
+ import Drying from './components/report/Drying';
|
|
|
+ import Heating from './components/report/Heating';
|
|
|
+ import HalfAdded from './components/report/HalfAdded';
|
|
|
+ import Processing from './components/report/Processing';
|
|
|
+ import Package from './components/report/Package';
|
|
|
+ import Warehousing from './components/report/Warehousing';
|
|
|
+ import Sinter from './components/report/Sinter';
|
|
|
+ import Furnace from './components/report/Furnace';
|
|
|
+ export default {
|
|
|
+ components: {
|
|
|
+ Extrusion,
|
|
|
+ Drying,
|
|
|
+ Heating,
|
|
|
+ HalfAdded,
|
|
|
+ Processing,
|
|
|
+ Package,
|
|
|
+ Sinter,
|
|
|
+ Furnace,
|
|
|
+ Warehousing
|
|
|
+ },
|
|
|
+ data () {
|
|
|
+ return {
|
|
|
+ descriptionsShow: true,
|
|
|
+ activeName: '1',
|
|
|
+ componentsList: {
|
|
|
+ 1: 'Extrusion',
|
|
|
+ 2: 'Drying',
|
|
|
+ 3: 'Heating',
|
|
|
+ 4: 'HalfAdded',
|
|
|
+ 5: 'Furnace',
|
|
|
+ 6: 'Sinter',
|
|
|
+ 7: 'Processing',
|
|
|
+ 8: 'Package',
|
|
|
+ 9: 'Warehousing'
|
|
|
+ }
|
|
|
+ };
|
|
|
+ }
|
|
|
+ };
|
|
|
+</script>
|
|
|
+
|
|
|
+<style lang="scss" scoped>
|
|
|
+ .el-tabs {
|
|
|
+ margin-top: 20px;
|
|
|
+ }
|
|
|
+ .el-button {
|
|
|
+ margin-top: 10px;
|
|
|
+ }
|
|
|
+ .slideUp-icon {
|
|
|
+ transform: rotate(-90deg);
|
|
|
+ }
|
|
|
+ .slideDown-icon {
|
|
|
+ transform: rotate(90deg);
|
|
|
+ }
|
|
|
+</style>
|