<template>
	<uni-popup ref="popup">
		<view class="uni-flex uni-column" style="background-color: white;width: 200px; height:60%;">
			<view class="uni-flex">
				<text>零件号</text>
				<text>{{dataContent.code}}</text>
			</view>
			<view class="uni-flex">
				<text>零件名称</text>
				<text>{{dataContent.name}}</text>
			</view>
			<view class="uni-flex">
				<text>描述1</text>
				<text>{{dataContent.desc1}}</text>
			</view>
			<view class="uni-flex">
				<text>描述2</text>
				<text>{{dataContent.desc2}}</text>
			</view>
			<view class="uni-flex">
				<text>状态</text>
				<text>{{dataContent.status}}</text>
			</view>
			<view class="uni-flex">
				<text>类型</text>
				<text>{{dataContent.type}}</text>
			</view>
			<view class="uni-flex">
				<text>制造件</text>
				<text>{{dataContent.canMake}}</text>
			</view>

			<view class="uni-flex">
				<text>采购件</text>
				<text>{{dataContent.canBuy}}</text>
			</view>
			<view class="uni-flex">
				<text>外包件</text>
				<text>{{dataContent.canOutsourcing}}</text>
			</view>
			<view class="uni-flex">
				<text>回收件</text>
				<text>{{dataContent.isRecycled}}</text>
			</view>
			<view class="uni-flex">
				<text>ABC类</text>
				<text>{{dataContent.abcClass}}</text>
			</view>
		</view>
	</uni-popup>
</template>

<script>
	export default {
		data() {
			return {
				dataContent: {}
			}
		},
		props: {

		},
		methods: {
			openDetail() {
				this.$refs['popup'].open("center");
			},
			closeScanPopup() {
				this.$refs.popup.close()
			},
		}
	}
</script>
<style>
</style>
