<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>
