<template>
	<view>
		<region-fields :model-value="region" @update:model-value="$emit('update:region', $event)" />
		<view class="form-row">
			<text class="form-row__label form-row__label--req">经营详细地址</text>
			<input v-model="biz.bizDetailAddress" class="form-row__input" />
		</view>
		<image-upload v-model="biz.businessLicense" label="营业执照电子版" />
	</view>
</template>

<script setup>
import RegionFields from '@/components/mine/RegionFields.vue'
import ImageUpload from '@/components/mine/ImageUpload.vue'

defineProps({
  biz: { type: Object, required: true },
  region: { type: Object, required: true }
})

defineEmits(['update:region'])
</script>

<style lang="scss" scoped>
@import '@/styles/mine.scss';
</style>
