<template>
	<!-- <page-meta root-font-size="18px"></page-meta> -->
	<view class="content">
	<uni-list>
	  <uni-list-item :title="baseInfo.companyCode.desc" :rightText="baseInfo.companyCode.value" />
	</uni-list>
	<uni-list>
		<uni-list-item :title="baseInfo.warehouseCode.desc" :rightText="baseInfo.warehouseCode.value" />
	</uni-list>
	<uni-list>
		<uni-list-item :title="baseInfo.dev.desc" :rightText="baseInfo.dev.value" />
	</uni-list>
	<uni-list v-for="item in configList">
		<uni-list-item :title="item.desc" :rightText="item.value?'是':'否'" />
	</uni-list>
	</view>
</template>

<script>
	import {
		goHome,
	} from '@/common/basic.js';
	export default {
		data() {
			return {
				configList: [],
				baseInfo: {}
			}
		},
		onShow() {
			this.baseInfo = this.$baseInfo;
			this.configList = this.$recepit_configList;
			console.log(this.configList)
		},
		onNavigationBarButtonTap(e) {
			if (e.index === 0) {
				goHome();
			}
		},
		methods: {

		}
	}
</script>

<style scoped>
	.item {
		display: flex;
		justify-content: space-between;
		flex-direction: row;
	}

	.uni-list-item__content-title {
		font-size: 50rpx;
		color: #3b4144;
		overflow: hidden;
	}
</style>
