1
This commit is contained in:
@@ -8,7 +8,7 @@
|
||||
<el-dialog
|
||||
:visible="showDetail"
|
||||
@close="showDetail = false"
|
||||
title="产品信息"
|
||||
:title="product.productName"
|
||||
width="500px"
|
||||
append-to-body
|
||||
>
|
||||
|
||||
@@ -6,14 +6,13 @@
|
||||
{{ material.rawMaterialName ? material.rawMaterialName : '--' }}
|
||||
</slot>
|
||||
</span>
|
||||
<el-dialog :visible="showDetail" @close="showDetail = false" :title="material.name" width="400px"
|
||||
<el-dialog :visible="showDetail" @close="showDetail = false" :title="material.rawMaterialName" width="400px"
|
||||
append-to-body>
|
||||
<el-descriptions :column="1" border>
|
||||
<el-descriptions-item label="ID">{{ material.rawMaterialId }}</el-descriptions-item>
|
||||
<el-descriptions-item label="名称">{{ material.rawMaterialName }}</el-descriptions-item>
|
||||
<el-descriptions-item label="描述">{{ material.rawMaterialCode }}</el-descriptions-item>
|
||||
</el-descriptions>
|
||||
|
||||
<BomInfo :bomId="material.bomId" />
|
||||
</el-dialog>
|
||||
</div>
|
||||
@@ -21,8 +20,13 @@
|
||||
|
||||
<script>
|
||||
import { mapState } from 'vuex';
|
||||
import BomInfo from './BomInfo.vue';
|
||||
|
||||
export default {
|
||||
name: 'RawMaterialInfo',
|
||||
components: {
|
||||
BomInfo
|
||||
},
|
||||
props: {
|
||||
materialId: {
|
||||
type: [String, Number],
|
||||
|
||||
Reference in New Issue
Block a user