<!-- 零件基础信息卡片包括:
零件号、名称、描述、数量和单位
箱码、批次、库位、状态
可以通过属性控制库位和状态是否显示 -->
<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>
