<template>
	<view>
		<view class="item">
			<text class="item_title">供应商代码 : </text>
			<text class="text_wrap">{{dataContent.supplierCode}}</text>
		</view>
		<view class="item">
			<text class="item_title">采购订单 : </text>
			<text class="text_wrap">{{dataContent.asnNumber}}</text>
		</view>
		<view class="item">
			<text class="item_title">订单行 : </text>
			<text class="text_wrap">{{dataContent.poNumber}}</text>
		</view>
		<view class="item">
			<text class="item_title">订单行 : </text>
			<view class="text_wrap">
				<text class="text_wrap">{{dataContent.poLine}}</text>
			</view>
		</view>
		<view class="item">
			<text class="item_title">标包 : </text>
			<view class="text_wrap">
				<text class="text_wrap">{{dataContent.stdPackQty}}{{dataContent.stdPackUnit}}</text>
			</view>
		</view>
	</view>
</template>

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

			}
		},

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

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

<style>

</style>
