<template>
	<view class="">
		<view class="item">
			<text class="item_title">物品描述1 : </text>
			<text class="text_wrap">{{dataContent.itemDesc1}} </text>
		</view>
		<view class="item">
			<text class="item_title">物品描述2 : </text>
			<text class="text_wrap">{{dataContent.itemDesc2}} </text>
		</view>
		<view class="item">
			<text class="item_title">数量 : </text>
			<text class="text_wrap">{{dataContent.qty}} </text>
		</view>
		<view class="item">
			<text class="item_title">计量单位 : </text>
			<text class="text_wrap">{{getUnitInfo(dataContent.uom)}} </text>
		</view>
	</view>
</template>

<script>
	import{getUnitInfo} from "@/common/directory.js"
	export default {
		components: {},
		data() {
			return {

			}
		},

		mounted() {},
		props: {
			dataContent: {
				type: Object,
				default: {}
			}
		},

		methods: {
			getUnitInfo(value){
				return getUnitInfo(value).label
			}
		}
	}
</script>

<style>

</style>
