<template>
	<view class="">
		<uni-popup ref="popup">
			<job-common-info :dataContent="dataContent" @onClose="closePopup">
				<view class="">
					<view class="uni-flex uni-column">
						<view class="item">
							<text class="item_title">申请单号 : </text>
							<text class="text_wrap">{{dataContent.requestNumber}} </text>
						</view>
						<view class="item">
							<text class="item_title">采购收货记录单号 : </text>
							<text class="text_wrap">{{dataContent.purchaseReceiptRecordNumber}} </text>
						</view>
						<view class="item">
							<text class="item_title">供应商代码 : </text>
							<text class="text_wrap">{{dataContent.supplierCode}} </text>
						</view>
						<view class="item">
							<text class="item_title">仓库代码 : </text>
							<text class="text_wrap">{{dataContent.warehouseCode}} </text>
						</view>
						<view class="item">
							<text class="item_title">货主代码 : </text>
							<text class="text_wrap">{{dataContent.ownerCode}} </text>
						</view>
						<view class="item">
							<text class="item_title">订单号 : </text>
							<text class="text_wrap">{{dataContent.poNumber}} </text>
						</view>
						<view class="item">
							<text class="item_title">批次 : </text>
							<text class="text_wrap">{{dataContent.batch}} </text>
						</view>
						<view class="item">
							<text class="item_title">物品代码 : </text>
							<text class="text_wrap">{{dataContent.itemCode}} </text>
						</view>
						<view class="item">
							<text class="item_title">检验类型 : </text>
							<text class="text_wrap">{{dataContent.inspectType}} </text>
						</view>
						<view class="item">
							<text class="item_title">下一步检验动作 : </text>
							<text class="text_wrap">{{dataContent.nextAction}} </text>
						</view>
						<view class="item">
							<text class="item_title">抽检方式 : </text>
							<text class="text_wrap">{{dataContent.sampleMethod}} </text>
						</view>
						<view class="item">
							<text class="item_title">计量单位 : </text>
							<text class="text_wrap">{{dataContent.uom}} </text>
						</view>
						<view class="item">
							<text class="item_title">收货数量 : </text>
							<text class="text_wrap">{{dataContent.receiveQty}} </text>
						</view>
						<view class="item">
							<text class="item_title">样品数量 : </text>
							<text class="text_wrap">{{dataContent.sampleQty}} </text>
						</view>
					</view>
				</view>
				<u-line></u-line>
			</job-common-info>
		</uni-popup>
	</view>
</template>

<script>
	import jobCommonInfo from '@/mycomponents/job/jobCommonInfo.vue'
	export default {
		components: {
			jobCommonInfo,
		},
		data() {
			return {
				dataContent: {
					type: Object,
					default: {}
				}
			}
		},

		mounted() {},
		props: {},

		methods: {
			openPopup(val) {
				this.dataContent = val;
				this.$refs.popup.open('bottom')
			},
			closePopup() {
				this.$refs.popup.close()
			},
		}
	}
</script>

<style>


</style>
