<template>
	<view class="">
		<uni-popup ref="popup">
			<request-common-info :dataContent="dataContent"  @onClose="closePopup">
				<view class="">
					<comListItem :dataList="dataList"></comListItem>
				</view>
				<u-line></u-line>
			</request-common-info>
		</uni-popup>
	</view>
</template>

<script>
	import requestCommonInfo from '@/mycomponents/request/requestCommonInfo.vue'
	import comListItem from '@/mycomponents/common/comListItem.vue';
	export default {
		components: {
			requestCommonInfo,
			comListItem
		},
		data() {
			return {
				dataContent:{},
				dataList:[]
			}
		},

		mounted() {},
		props: {},

		methods: {
			openPopup(val) {
				this.dataContent = val;
				this.dataList=[{
						title: '从仓库代码',
						content: this.dataContent.fromWarehouseCode
					}, {
						title: '从库位类型范围',
						content: this.dataContent.fromLocationTypes,
						type:"locationType"
					},{
						title: '从库区代码范围',
						content: this.dataContent.fromAreaCodes,
					}];
				this.$refs.popup.open('bottom')
			},
			closePopup() {
				this.$refs.popup.close()
			},
		}
	}
</script>

<style>


</style>
