<template>
	<view>
		<view class="center">
			<view class="uni-flex uni-row text_balance">
				<text>
					{{Number(dataContent.qty)}}
				</text>
			</view>
			<!-- v-if="dataContent.packQty==undefined" -->
			<uom :uom="dataContent.uom"></uom>
		</view>
		<view class="uni-flex uni-row center">
			<pack-unit :dataContent="dataContent"></pack-unit>
		</view>
	</view>
</template>

<script>
	import packQty from '@/mycomponents/qty/packQty.vue'
	import uom from '@/mycomponents/qty/uom.vue'
	import status from '@/mycomponents/status/status.vue'
	import packUnit from '@/mycomponents/qty/packUnit.vue'

	export default {
		components: {
			packQty,
			uom,
			status,
			packUnit
		},
		data() {
			return {

			};
		},
		// 此处定义传入的数据
		props: {
			type: {
				type: String,
				default: 'default' //recommend:推荐 compare:对比 
			},

			dataContent: {
				type: Object,
				default: {}
			},
			recommendQty: {
				type: Number,
				default: 0
			},

			handleQty: {
				type: Number,
				default: 0
			},

			isShowStatus: {
				type: Boolean,
				default: true
			},
			isShowStdPack: {
				type: Boolean,
				default: true
			}
		},
		watch: {

		},
		methods: {

		},
	}
</script>

<style lang="scss">
</style>
