<template>
	<view class="">
		<view class="uni-flex uni-column">
			<view>
				<view class="item">
					<text class="item_title">允许修改库位 : </text>
					<text class="text_wrap">{{ converter( dataContent.allowModifyLocation)}} </text>
				</view>

				<view class="item">
					<text class="item_title">允许修改数量 : </text>
					<text class="text_wrap">{{converter(dataContent.allowModifyQty)}} </text>
				</view>
				<view class="item">
					<text class="item_title">允许大于推荐数量 : </text>
					<text class="text_wrap">{{converter(dataContent.allowBiggerQty)}} </text>
				</view>
				<view class="item">
					<text class="item_title">允许小于推荐数量 : </text>
					<text class="text_wrap">{{converter(dataContent.allowSmallerQty)}} </text>
				</view>
				<view class="item">
					<text class="item_title">允许修改库存状态 : </text>
					<text class="text_wrap">{{converter(dataContent.allowModifyInventoryStatus)}} </text>
				</view>
				<view class="item">
					<text class="item_title">允许修改箱码 : </text>
					<text class="text_wrap">{{converter(dataContent.allowModifyPackingNumber)}} </text>
				</view>
				<view class="item">
					<text class="item_title">允许修改批次 : </text>
					<text class="text_wrap">{{converter(dataContent.allowModifyBach)}} </text>
				</view>
				<view class="item">
					<text class="item_title">允许部分完成 : </text>
					<text class="text_wrap">{{converter(dataContent.allowPartialComplete)}} </text>
				</view>
				<view class="item">
					<text class="item_title">允许连续扫描 : </text>
					<text class="text_wrap">{{converter(dataContent.allowContinuousScanning)}} </text>
				</view>
			</view>
		</view>
	</view>
</template>

<script setup lang="ts">
	const props = defineProps({
		dataContent: {
			type: Object,
			default: {}
		}
	})
	const converter = (val) => {
		// return '是'
		return val == "TRUE" ? '是' : '否'
	}
</script>

<style>

</style>