<template>
	<view class="">
		<uni-popup ref="popup">
			<detail-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.productionLineCode}} </text>
						</view>
						<view class="item">
							<text class="item_title">工位代码 : </text>
							<text class="text_wrap">{{dataContent.workStationCode}} </text>
						</view>
						<view class="item">
							<text class="item_title">工序代码 : </text>
							<text class="text_wrap">{{dataContent.processCode}} </text>
						</view>
						
						<view class="item">
							<text class="item_title">标包数量 : </text>
							<text class="text_wrap">{{dataContent.stdPackQty}} </text>
						</view>
						<view class="item">
							<text class="item_title">标包单位 : </text>
							<text class="text_wrap">{{dataContent.stdPackUnit}} </text>
						</view>
						
						<view class="item">
							<text class="item_title">生产日期 : </text>
							<text class="text_wrap">{{dataContent.produceDate}} </text>
						</view>
						<view class="item">
							<text class="item_title">过期日期 : </text>
							<text class="text_wrap">{{dataContent.expireDate}} </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.poLine}} </text>
						</view>
						
					</view>
				</view>
			</detail-common-info>
		</uni-popup>
	</view>
</template>

<script>
	import detailCommonInfo from '@/mycomponents/detail/detailCommonInfo.vue'
	export default {
		components: {
			detailCommonInfo
		},
		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>
