<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:[]
			}
		},
		watch:{
		},

		mounted() {},
		props: {
		},

		methods: {
			openPopup(val) {
				this.dataContent = val;
				this.dataList=[{
						title: '采购收货记录单号',
						content: this.dataContent.purchaseReceiptRecordNumber
					}, {
						title: '发货单号',
						content: this.dataContent.asnNumbe
					},{
						title: '要货计划单号',
						content: this.dataContent.ppNumber,
					},{
						title: '供应商代码',
						content: this.dataContent.supplierCode,
					},{
						title: '承运商',
						content: this.dataContent.carrierCode,
					},{
						title: '运输方式',
						content: this.dataContent.transferMode,
					},{
						title: '车牌号',
						content: this.dataContent.vehiclePlateNumber,
					},{
						title: '从仓库代码',
						content: this.dataContent.fromWarehouseCode,
					},{
						title: '到仓库代码',
						content: this.dataContent.toWarehouseCode,
					},{
						title: '从库位类型范围',
						content: this.dataContent.fromLocationTypes
					},
					{
						title: '到库位类型范围',
						content: this.dataContent.toLocationTypes
					},
					{
						title: '从库区代码范围',
						content: this.dataContent.fromAreaCodes
					},
					{
						title: '到库区代码范围',
						content: this.dataContent.toAreaCodes
					},
					{
						title: '从月台代码',
						content: this.dataContent.fromDockCode
					}];
				this.$refs.popup.open('bottom')
			},
			closePopup() {
				this.$refs.popup.close()
			},
		}
	}
</script>

<style>


</style>
