<template>
	<view>
		<view class="cmain">
			<view class="box order_detail">
				<u-divider text="商铺信息"></u-divider>
				<view class="item">
					<text class="label">商铺编码</text>
					<text class="desc">{{item.shopNo}}</text>
				</view>
				<view class="item">
					<text class="label">商铺名称</text>
					<text class="desc">{{item.shopName}}</text>
				</view>
				<view class="item">
					<text class="label">商铺类型</text>
					<text class="desc" v-if="item.shopType == 1">中方商铺</text>
					<text class="desc" v-if="item.shopType == 2">外国商铺</text>
				</view>
				<view class="item">
					<text class="label">铺主</text>
					<text class="desc">{{item.ownerName}}</text>
				</view>
				<view class="item">
					<text class="label">联系方式</text>
					<text class="desc">{{item.ownerTel}}</text>
				</view>
				<view class="item">
					<text class="label">营业执照</text>
					<text class="desc">{{item.shopSccd}}</text>
				</view>
				<view class="item">
					<text class="label">开户行</text>
					<text class="desc">{{item.bank}}</text>
				</view>
				<view class="item">
					<text class="label">开户行账号</text>
					<text class="desc">{{item.bankAccount}}</text>
				</view>
				<view class="item">
					<text class="label">互市区</text>
					<text class="desc">{{item.tradeAreaName}}</text>
				</view>
				<view class="item">
					<text class="label">经营范围</text>
					<text class="desc">{{item.bnsScope}}</text>
				</view>
				<view class="item">
					<text class="label">店铺地址</text>
					<text class="desc">{{item.shopAddr}}</text>
				</view>
				<view class="item">
					<text class="label">有效期</text>
					<text class="desc">{{item.expiry}}</text>
				</view>
				<view class="item">
				</view>
			</view>
		</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				item: {}
			}
		},
		onLoad(e) {
			if(e.id) {
				this.http.request({
					url: '/level-one-server/app/TbShop/getDetailById',
					data: { id: e.id },
					success: res=> {
						this.item = res.data.data;
					}
				})
			}
		},
		methods: {

		}
	}
</script>


<style lang="scss">
	page {
		background-color: $pg;
	}
</style>
