<template>
	<view>
		<!-- <view class="item_big_title">
			[扫描]
		</view> -->
		<view class="item">
			<text class="item_title">扫描箱码 : </text>
			<text class="text_wrap">{{dataContent.record.packingNumber}}</text>
		</view>
		<view class="item">
			<text class="item_title">扫描批次 : </text>
			<text class="text_wrap">{{dataContent.record.batch}}</text>
		</view>
		<view class="item">
			<text class="item_title">扫描数量 : </text>
			<view class="text_wrap">
				<text class="text_wrap">{{Number(dataContent.record.qty)}}</text>
				<text class="text_wrap">{{dataContent.record.uom}}</text>
			</view>
		</view>
		<view class="item">
			<text class="item_title">扫描状态 : </text>
			<text class="item_title">{{getInventoryStatusInfo(dataContent.record.inventoryStatus)}}</text>
		</view>
		<view class="item">
			<text class="item_title">目标库位 : </text>
			<text class="item_title">{{dataContent.record.locationCode}}</text>
		</view>
	</view>
</template>

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

			}
		},

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

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

<style>

</style>
