<template>
	<view class="uni-flex uni-row space-between center" style=" margin-left: 15px;">
		<view>
			<item :dataContent="dataContent" :isSpecial="isSpecial"></item>
		</view>
		<view>
			<balance-qty v-if="isShowBalanceQty" :dataContent="dataContent"></balance-qty>
			<compare-qty v-else :dataContent="dataContent" :recommendQty="Number(dataContent.qty)"
				:handleQty="dataContent.handleQty"
				:isShowRecommendQty="isShowRecommendQty"
				 :isShowStatus="false" :isShowStdPack="showStdPack" :isShowNumView='isShowNumView'>
			</compare-qty>
		</view>
	</view>
</template>
<script>
	import item from '@/mycomponents/item/item.vue'
	import balanceQty from '@/mycomponents/qty/balanceQty.vue'
	import compareQty from '@/mycomponents/qty/compareQty.vue'

	export default {
		components: {
			item,
			balanceQty,
			compareQty
		},
		data() {
			return {

			};
		},
		// 此处定义传入的数据
		props: {
			dataContent: {
				type: Object,
				default: {}
			},
			handleQty: {
				type: Number,
				default: 0
			},
			isShowBalanceQty: {
				type: Boolean,
				default: true
			},
			showStdPack: {
				type: Boolean,
				default: false
			},
			isShowRecommendQty: {
				type: Boolean,
				default: true
			},
			isSpecial: {
				type: Boolean,
				default: false
			},
			//是否显示任务数量和扫描数量组件
			isShowNumView: {
				type: Boolean,
				default: true
			},
		},
		watch: {

		},
		methods: {

		},
	}
</script>

<style>
</style>
