<template>
	<view>
		<view>
			<hs-show label="申请人" :data="data.formData.apply_user_name"></hs-show>
			<hs-show label="部门" :data="data.formData.dept_id" mode="dept"></hs-show>
			<hs-show label="申请原因" :data="data.formData.remark"></hs-show>
			<hs-show label="用途" :data="data.formData.what_use"></hs-show>
			<hs-show label="规格型号" :data="data.formData.goods_gg"></hs-show>
			<hs-show label="物品类型" :data="data.formData.goods_type" mode="dict" dictKey="goods_storage_type"></hs-show>
			<hs-show label="物品名称" :data="data.formData.goods_name"></hs-show>
			<hs-show label="需求数量" :data="data.formData.want_use_amount"></hs-show>
			<hs-show label="预估单价" :data="data.formData.yg_unit_price"></hs-show>
			<hs-show label="预估总价" :data="data.formData.yg_total_prices"></hs-show>
			<hs-show label="采购状态" :data="data.formData.purchase_status"></hs-show>
			<view class="desc">
				已添加照片
			</view>
			<view class="desc">
				<uni-file-picker :value="JSON.parse(data.formData.photos)" file-mediatype="image" readonly>
				</uni-file-picker>
			</view>
		</view>
		<ge></ge>
	</view>
</template>

<script>
	import ge from '../components/ge'
	export default {
		components: {
			ge
		},
		data() {
			return {
				data: uni.getStorageSync("approval")
			}
		},
		mounted() {}
	}
</script>

<style>
	.desc {
		padding: 10rpx 30rpx;
		color: #818181;
	}
</style>