<template>
	<view class="uni-flex">
		<view class="uni-flex uni-column">
			<text>{{dataContent.itemCode}}</text>
			<text>{{dataContent.itemName}}</text>
			<text>{{dataContent.itemDesc1}}</text>
			<text>{{dataContent.itemDesc2}}</text>
		</view>
		<text @click="openDetailInfo()">查看详情</text>
		<win-item-detail-info ref="itemDetailInfo"></win-item-detail-info>
	</view>
</template>

<script>
	import winItemDetailInfo from '@/mycomponents/wincom/unitCom/winItemDetailInfo.vue'
	export default {
		components: {
			winItemDetailInfo
		},
		data() {
			return {

			}
		},
		props: {
			dataContent: {
				type: Object,
				default: {}
			},
		},
		methods: {
			openDetailInfo() {
				this.$refs.itemDetailInfo.openDetail();
			}
		}
	}
</script>

<style>
</style>
