<template>
	<view class="">
		<uni-collapse ref="collapse1" @change="">
			<uni-collapse-item :open="true">
				<view class='split_line'></view>
				<template v-slot:title>
					<itemQty :dataContent="dataContent" :isShowBalance="true"></itemQty>
				</template>
			 
				<view v-for="(item, index) in dataContent.list">
					<balance :dataContent="item" :isShowFromLocation="false" :isShowPack="isShowPack"
						:isShowStdPack="false">
					</balance>
				</view>
			</uni-collapse-item>
		</uni-collapse>
	</view>
</template>

<script>
	import itemQty from '@/mycomponents/item/itemQty.vue'
	import balance from '@/mycomponents/balance/balance.vue'
	export default {
		components: {
			itemQty,
			balance
		},
		data() {
			return {



			};
		},
		props: {
			dataContent: {
				type: Object,
				default: {},
			},
			isShowPack: {
				type: Boolean,
				default: true
			},
			isShowBatch: {
				type: Boolean,
				default: true
			},
			isShowLocation: {
				type: Boolean,
				default: true
			},
			isShowStdPack: {
				type: Boolean,
				default: true
			},
		},

		methods: {
			edit() {

			},
			detail() {

			},
			remove() {

			},
			resetScan() {

			}

		}
	}
</script>

<style>
</style>
