<template>
	<view class="">
		<view class="" v-for="(item,index) in dataList" :key="index">
			<view class="" style="border-radius: 10rpx; background-color: #fff; font-size: 35rpx; margin: 15rpx; padding: 20rpx;">
				<view class="">
					ERP料号 : {{item.itemCode}}
				</view>
				<view class="">
					ERP名称 : {{item.itemName}}
				</view>
				<view class="">
					描述1 : {{item.itemDesc1}}
				</view>
				<view class="">
					箱码 : {{item.packingCode}}
				</view>
				<view class="" style="margin-top: 10rpx;">
					数量 : {{item.qty}}
				</view>
			</view>
			
		</view>

	</view>
</template>

<script>
	import {
		goHome
	} from '@/common/basic.js';


	export default {
		components: {},
		data() {
			return {
				dataList: []
			};
		},
		onLoad(e){
			if(e.data==undefined||e.data=='undefined'){
				
			}else {
				this.dataList =JSON.parse(decodeURIComponent(e.data))
			}
		},
		
		
		onPullDownRefresh() {},

		//返回首页
		onNavigationBarButtonTap(e) {
			if (e.index === 0) {
				goHome();
			} else if (e.index === 1) {
				window.location.reload();
			}
		},
		methods: {

		},
	}
</script>

<style scoped lang="scss">
	movable-view {
		display: flex;
		align-items: center;
		justify-content: center;
		height: 150rpx;
		width: 150rpx;
	}

	movable-area {
		height: 500rpx;
		width: 100%;
		overflow: hidden;
	}

	.movable-max {
		width: 500rpx;
		height: 500rpx;
	}
</style>