|
@@ -1,6 +1,22 @@
|
|
|
<template>
|
|
<template>
|
|
|
<div>
|
|
<div>
|
|
|
<headerTitle title="Bom审批"></headerTitle>
|
|
<headerTitle title="Bom审批"></headerTitle>
|
|
|
|
|
+ <div class="title">
|
|
|
|
|
+ <div>
|
|
|
|
|
+ 类型:{{
|
|
|
|
|
+ this.form.bomType == 1
|
|
|
|
|
+ ? 'PBOM'
|
|
|
|
|
+ : this.form.bomType == 2
|
|
|
|
|
+ ? 'MBOM'
|
|
|
|
|
+ : this.form.bomType == 3
|
|
|
|
|
+ ? 'ABOM'
|
|
|
|
|
+ : 'EBOM'
|
|
|
|
|
+ }}
|
|
|
|
|
+ </div>
|
|
|
|
|
+ <div> 编码:{{ this.form.code }} </div>
|
|
|
|
|
+ <div> 名称:{{ this.form.name }} </div>
|
|
|
|
|
+ <div> 版本:V{{ this.form.versions }} </div>
|
|
|
|
|
+ </div>
|
|
|
<BOMSearch @search="reload" :statusOpt="statusOpt" />
|
|
<BOMSearch @search="reload" :statusOpt="statusOpt" />
|
|
|
|
|
|
|
|
<ele-pro-table
|
|
<ele-pro-table
|
|
@@ -106,7 +122,7 @@
|
|
|
</template>
|
|
</template>
|
|
|
|
|
|
|
|
<script>
|
|
<script>
|
|
|
- import BOMSearch from './BOM-search.vue';
|
|
|
|
|
|
|
+import BOMSearch from './BOM-search.vue';
|
|
|
import {
|
|
import {
|
|
|
getBomPageCategoryId,
|
|
getBomPageCategoryId,
|
|
|
contactList,
|
|
contactList,
|
|
@@ -133,7 +149,7 @@
|
|
|
visible: false,
|
|
visible: false,
|
|
|
title: '',
|
|
title: '',
|
|
|
gysList: [],
|
|
gysList: [],
|
|
|
-
|
|
|
|
|
|
|
+ form: {},
|
|
|
materielDesignationPL: null,
|
|
materielDesignationPL: null,
|
|
|
supplierIdPL: null,
|
|
supplierIdPL: null,
|
|
|
|
|
|
|
@@ -257,6 +273,7 @@
|
|
|
handBomDetails(id) {
|
|
handBomDetails(id) {
|
|
|
if (id) {
|
|
if (id) {
|
|
|
getBomGetById(id).then((res) => {
|
|
getBomGetById(id).then((res) => {
|
|
|
|
|
+ this.form=resolve
|
|
|
this.baseCount = res.baseCount;
|
|
this.baseCount = res.baseCount;
|
|
|
this.unit = res.category.measuringUnit;
|
|
this.unit = res.category.measuringUnit;
|
|
|
});
|
|
});
|
|
@@ -299,6 +316,15 @@
|
|
|
</script>
|
|
</script>
|
|
|
|
|
|
|
|
<style lang="scss" scoped>
|
|
<style lang="scss" scoped>
|
|
|
|
|
+ .title {
|
|
|
|
|
+ display: flex;
|
|
|
|
|
+ > div {
|
|
|
|
|
+ flex: 1;
|
|
|
|
|
+ }
|
|
|
|
|
+ margin-bottom: 15px;
|
|
|
|
|
+ font-weight: 800;
|
|
|
|
|
+ font-size: 16px;
|
|
|
|
|
+ }
|
|
|
:deep(.el-table__expanded-cell) {
|
|
:deep(.el-table__expanded-cell) {
|
|
|
padding-bottom: 30px !important;
|
|
padding-bottom: 30px !important;
|
|
|
border-bottom: 12px solid #ccffcc !important;
|
|
border-bottom: 12px solid #ccffcc !important;
|