You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
51 lines
927 B
51 lines
927 B
2 years ago
|
<!-- 零件基础信息卡片包括:
|
||
|
零件号、名称、描述、数量和单位
|
||
|
箱码、批次、库位、状态
|
||
|
可以通过属性控制库位和状态是否显示 -->
|
||
|
<template>
|
||
|
<view class="common_card">
|
||
|
<com-item-top :dataContent="dataContent"></com-item-top>
|
||
|
<com-item-bottom :dataContent="dataContent" v-if="displayBottomInfo"></com-item-bottom>
|
||
|
</view>
|
||
|
</template>
|
||
|
|
||
|
<script>
|
||
|
import comItemTop from '@/mycomponents/comItem/comItemTop.vue'
|
||
|
import comItemBottom from '@/mycomponents/comItem/comItemBottom.vue'
|
||
|
|
||
|
export default {
|
||
|
name: 'comBaseItem',
|
||
|
components: {
|
||
|
comItemTop,
|
||
|
comItemBottom
|
||
|
},
|
||
|
props: {
|
||
|
dataContent: {
|
||
|
type: Object,
|
||
|
default: {}
|
||
|
},
|
||
|
displayStatus: {
|
||
|
type: Boolean,
|
||
|
default: true
|
||
|
},
|
||
|
displayBottomInfo: {
|
||
|
type: Boolean,
|
||
|
default: true
|
||
|
},
|
||
|
},
|
||
|
data() {
|
||
|
return {}
|
||
|
},
|
||
|
|
||
|
created() {
|
||
|
|
||
|
},
|
||
|
methods: {
|
||
|
|
||
|
}
|
||
|
}
|
||
|
</script>
|
||
|
|
||
|
<style>
|
||
|
</style>
|