|
@@ -13,7 +13,7 @@
|
|
|
产品名称
|
|
|
</div>
|
|
|
</template>
|
|
|
- kooriookami
|
|
|
+ {{ infoData.materialName ? infoData.materialName : "-" }}
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template #label>
|
|
@@ -24,7 +24,7 @@
|
|
|
流转卡号
|
|
|
</div>
|
|
|
</template>
|
|
|
- 18100000000
|
|
|
+ {{ infoData.seqNo ? infoData.seqNo : "-" }}
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template #label>
|
|
@@ -35,7 +35,7 @@
|
|
|
物料编号
|
|
|
</div>
|
|
|
</template>
|
|
|
- Suzhou
|
|
|
+ {{ infoData.materialCode ? infoData.materialCode : "-" }}
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template #label>
|
|
@@ -46,7 +46,7 @@
|
|
|
产品规格
|
|
|
</div>
|
|
|
</template>
|
|
|
- <el-tag size="small">School</el-tag>
|
|
|
+ {{ infoData.materialModel ? infoData.materialModel : "-" }}
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template #label>
|
|
@@ -57,7 +57,7 @@
|
|
|
铭牌号
|
|
|
</div>
|
|
|
</template>
|
|
|
- <el-tag size="small">School</el-tag>
|
|
|
+ {{ infoData.materialName ? infoData.materialName : "-" }}
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template #label>
|
|
@@ -65,10 +65,10 @@
|
|
|
<el-icon>
|
|
|
<tickets />
|
|
|
</el-icon>
|
|
|
- Remarks
|
|
|
+ 是否返工
|
|
|
</div>
|
|
|
</template>
|
|
|
- <el-tag size="small">School</el-tag>
|
|
|
+ {{ infoData.materialName ? infoData.materialName : "-" }}
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template #label>
|
|
@@ -79,7 +79,7 @@
|
|
|
工单出站
|
|
|
</div>
|
|
|
</template>
|
|
|
- <el-tag size="small">School</el-tag>
|
|
|
+ {{ infoData.outNum ? infoData.outNum : "-" }}
|
|
|
</el-descriptions-item>
|
|
|
<el-descriptions-item>
|
|
|
<template #label>
|
|
@@ -90,7 +90,7 @@
|
|
|
交付日期
|
|
|
</div>
|
|
|
</template>
|
|
|
- <el-tag size="small">School</el-tag>
|
|
|
+ {{ infoData.planStartEnd ? infoData.planStartEnd : "-" }}
|
|
|
</el-descriptions-item>
|
|
|
</el-descriptions>
|
|
|
</div>
|
|
@@ -109,9 +109,7 @@
|
|
|
:type="activeName == 'f2' ? 'warning' : 'primary'">已采物料</el-badge>
|
|
|
</template>
|
|
|
<keep-alive>
|
|
|
- <template>
|
|
|
- <Materials v-if="activeName == 'f2'" />
|
|
|
- </template>
|
|
|
+ <Materials v-if="activeName == 'f2'" />
|
|
|
</keep-alive>
|
|
|
</el-tab-pane>
|
|
|
<el-tab-pane name="f3">
|
|
@@ -124,24 +122,40 @@
|
|
|
</template> </keep-alive></el-tab-pane>
|
|
|
<el-tab-pane name="f4">
|
|
|
<template #label>
|
|
|
- <el-badge :value="tabCountData.check" :type="activeName == 'f4' ? 'warning' : 'primary'">点检判定</el-badge>
|
|
|
+ <el-badge :value="tabCountData.checks" :type="activeName == 'f4' ? 'warning' : 'primary'">点检判定</el-badge>
|
|
|
</template>
|
|
|
- Config</el-tab-pane>
|
|
|
+ <keep-alive>
|
|
|
+ <template v-if="activeName == 'f4'">
|
|
|
+ <Check />
|
|
|
+ </template>
|
|
|
+ </keep-alive>
|
|
|
+ </el-tab-pane>
|
|
|
<el-tab-pane name="f5">
|
|
|
<template #label>
|
|
|
<el-badge :value="tabCountData.equit" :type="activeName == 'f5' ? 'warning' : 'danger'">设备使用</el-badge>
|
|
|
</template>
|
|
|
- Config</el-tab-pane>
|
|
|
+ <keep-alive>
|
|
|
+ <template v-if="activeName == 'f5'">
|
|
|
+ <Equit />
|
|
|
+ </template>
|
|
|
+ </keep-alive>
|
|
|
+ </el-tab-pane>
|
|
|
<el-tab-pane name="f6">
|
|
|
<template #label>
|
|
|
<el-badge :value="tabCountData.fault" :type="activeName == 'f6' ? 'warning' : 'danger'">报故记录</el-badge>
|
|
|
</template>
|
|
|
- Config</el-tab-pane>
|
|
|
+ <keep-alive>
|
|
|
+ <template v-if="activeName == 'f6'">
|
|
|
+ <Fault />
|
|
|
+ </template> </keep-alive></el-tab-pane>
|
|
|
<el-tab-pane name="f7">
|
|
|
<template #label>
|
|
|
- <el-badge :value="12" :type="activeName == 'f7' ? 'warning' : 'danger'">缺陷项</el-badge>
|
|
|
+ <el-badge :value="12" :type="activeName == 'f7' ? 'warning' : 'danger'">图片采集</el-badge>
|
|
|
</template>
|
|
|
- Config</el-tab-pane>
|
|
|
+ <keep-alive>
|
|
|
+ <template v-if="activeName == 'f7'">
|
|
|
+ <Media />
|
|
|
+ </template> </keep-alive></el-tab-pane>
|
|
|
</el-tabs>
|
|
|
</div>
|
|
|
</div>
|
|
@@ -157,6 +171,10 @@ const Materials = defineAsyncComponent(
|
|
|
() => import("./components/materials.vue")
|
|
|
);
|
|
|
const Record = defineAsyncComponent(() => import("./components/record.vue"));
|
|
|
+const Check = defineAsyncComponent(() => import("./components/check.vue"));
|
|
|
+const Equit = defineAsyncComponent(() => import("./components/equit.vue"));
|
|
|
+const Fault = defineAsyncComponent(() => import("./components/fault.vue"));
|
|
|
+const Media = defineAsyncComponent(() => import("./components/media.vue"));
|
|
|
const store = useProcessStore();
|
|
|
const router = useRouter();
|
|
|
const activeName = ref("f1");
|
|
@@ -186,6 +204,8 @@ onMounted(() => {
|
|
|
</script>
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
|
+@import "./style/index.scss";
|
|
|
+
|
|
|
.mainContentBox {
|
|
|
padding: 20px 10%;
|
|
|
padding-top: 0;
|
|
@@ -200,13 +220,32 @@ onMounted(() => {
|
|
|
|
|
|
.headerInfo {
|
|
|
width: 100%;
|
|
|
- height: 130px;
|
|
|
+ height: 180px;
|
|
|
+ margin-bottom: 10px;
|
|
|
}
|
|
|
|
|
|
.tabBox {
|
|
|
- height: calc(100% - 160px);
|
|
|
+ height: calc(100% - 240px);
|
|
|
width: 100%;
|
|
|
}
|
|
|
}
|
|
|
}
|
|
|
+
|
|
|
+:deep(.el-tabs__item) {
|
|
|
+ height: 60px !important;
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.cell-item) {
|
|
|
+ font-size: $f24;
|
|
|
+ display: flex;
|
|
|
+ padding: 10px 0;
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.el-icon) {
|
|
|
+ margin-right: 5px;
|
|
|
+}
|
|
|
+
|
|
|
+:deep(.is-bordered-content) {
|
|
|
+ font-size: $f24 !important;
|
|
|
+}
|
|
|
</style>
|