<template>
	<view :class="dataContent.scaned?'scan_view':''" style="background-color: #fff; ">
		<view class="uni-flex uni-row space-between" style="align-items: center">
			<view style="word-break: break-all;">
				<item :dataContent="dataContent" style="margin-left: 4px; padding:0px 5px 5px;"></item>
				<pack v-if="dataContent.packingNumber" :packingCode="dataContent.packingNumber"></pack>
				<batch v-if="dataContent.batch!=null" :batch="dataContent.batch"></batch>
				<location v-if="dataContent.locationCode!=null" :locationCode="dataContent.locationCode"></location>
			</view>
			<view class="uni-flex uni-row" style="word-break: break-all;">
				<recommend-qty
					:dataContent="dataContent" :isShowStdPack="false" :isShowStatus="true"
					:isShowPackCount="false"></recommend-qty>
			</view>
		</view>
	</view>
</template>

<script>
	import item from '@/mycomponents/item/item.vue'
	import pack from '@/mycomponents/balance/pack.vue'
	import batch from '@/mycomponents/balance/batch.vue'
	import location from '@/mycomponents/balance/location.vue'
	import recommendQty from '@/mycomponents/qty/recommendQty.vue'

	export default {
		components: {
			pack,
			batch,
			recommendQty,
			location,
			item
		},

		data() {
			return {

			}
		},
		props: {
			dataContent: {
				type: Object,
				default: null
			},
		},
		watch: {
			
		},
		methods: {
		 
		}
	}
</script>

<style>
</style>