|
|
|
@ -7,22 +7,26 @@
|
|
|
|
|
<a-divider></a-divider>
|
|
|
|
|
<a-form-model>
|
|
|
|
|
<a-form-model-item label="主体类型">
|
|
|
|
|
<a-radio-group @change="changeType" v-model="form.type" size="large" buttonStyle="solid">
|
|
|
|
|
<a-radio-button :value="3">个体户</a-radio-button>
|
|
|
|
|
<a-radio-group disabled @change="changeType" v-model="form.type" size="large" buttonStyle="solid">
|
|
|
|
|
<a-radio-button :value="1">个体户</a-radio-button>
|
|
|
|
|
<a-radio-button :value="2">企业</a-radio-button>
|
|
|
|
|
<a-radio-button :value="1">个人</a-radio-button>
|
|
|
|
|
<a-radio-button :value="3">个人</a-radio-button>
|
|
|
|
|
</a-radio-group>
|
|
|
|
|
<div>
|
|
|
|
|
<a-card class="card-item" size="small" :bordered="false">
|
|
|
|
|
<span v-if="form.type == 3">“个体户”在营业执照上的主体类型一般为:个体户、个体工商户、个体经营。</span>
|
|
|
|
|
<span v-if="form.type == 1">“个体户”在营业执照上的主体类型一般为:个体户、个体工商户、个体经营。</span>
|
|
|
|
|
<span v-if="form.type == 2">“企业”在营业执照上的主体类型一般为:有限公司、有限责任公司等。</span>
|
|
|
|
|
<span v-if="form.type == 1">“个人”为根据法律法规和相关规定免于办理工商登记,无营业执照的商家。 </span>
|
|
|
|
|
<div v-if="form.type == 1">(若年交易额大于10万元,则不属于个人商家范畴,需依法办理营业执照。)</div>
|
|
|
|
|
<span v-if="form.type == 3">“个人”为根据法律法规和相关规定免于办理工商登记,无营业执照的商家。 </span>
|
|
|
|
|
<div v-if="form.type == 3">(若年交易额大于10万元,则不属于个人商家范畴,需依法办理营业执照。)</div>
|
|
|
|
|
</a-card>
|
|
|
|
|
</div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="经营类目">
|
|
|
|
|
|
|
|
|
|
<a-select mode="multiple" style="width: 467px" v-model="form.authenticationOperateInfoUpdateDTO.categoryIds">
|
|
|
|
|
<a-select-option v-for="(item) in cateList" :key="item.id" :value="item.id">
|
|
|
|
|
{{item.name}}
|
|
|
|
|
</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-form-model>
|
|
|
|
|
</div>
|
|
|
|
@ -49,14 +53,14 @@
|
|
|
|
|
<a-alert message="依据中国人民银行《关于进一步加强支付结算管理防范电信网络新型违法犯罪有关事项的通知》要求,
|
|
|
|
|
切实履行账户实名管理,商户身份核实、交易风险管理等职责,需核实相关信息,感谢你的配合。" type="info" show-icon />
|
|
|
|
|
<a-tabs v-model="activeTab" style="margin-top: 24px">
|
|
|
|
|
<a-tab-pane :key="1" tab="填写主体信息" v-if="form.type == 3 || form.type == 2">
|
|
|
|
|
<a-tab-pane :key="1" tab="填写主体信息" v-if="form.type == 1 || form.type == 2">
|
|
|
|
|
<h3 style="padding: 16px">主体类型</h3>
|
|
|
|
|
<a-form-model style="margin-left: 12px" :labelCol="{span: 3}" :wrapperCol="{span: 5}">
|
|
|
|
|
<a-form-model-item label="主体类型">
|
|
|
|
|
<a-radio-group v-model="form.type" disabled>
|
|
|
|
|
<a-radio :value="3">个体户</a-radio>
|
|
|
|
|
<a-radio :value="1">个体户</a-radio>
|
|
|
|
|
<a-radio :value="2">企业</a-radio>
|
|
|
|
|
<a-radio :value="1">个人</a-radio>
|
|
|
|
|
<a-radio :value="3">个人</a-radio>
|
|
|
|
|
</a-radio-group>
|
|
|
|
|
<div><span>如需修改主体类型请返回<a>上一步</a>进行操作</span></div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
@ -87,27 +91,27 @@
|
|
|
|
|
<h3 style="padding: 16px">主体证件照片</h3>
|
|
|
|
|
<a-form-model style="margin-left: 12px" :labelCol="{span: 3}" :wrapperCol="{span: 5}">
|
|
|
|
|
<a-form-model-item label="统一社会信用代码证">
|
|
|
|
|
<commonUpload
|
|
|
|
|
<!-- <commonUpload
|
|
|
|
|
:fileList="fileList"
|
|
|
|
|
@handleChange="handleChange"
|
|
|
|
|
></commonUpload>
|
|
|
|
|
></commonUpload> -->
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="其他资质证明">
|
|
|
|
|
<commonUpload
|
|
|
|
|
<!-- <commonUpload
|
|
|
|
|
:fileList="fileList"
|
|
|
|
|
@handleChange="handleChange"
|
|
|
|
|
></commonUpload>
|
|
|
|
|
></commonUpload> -->
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-form-model>
|
|
|
|
|
</a-tab-pane>
|
|
|
|
|
<a-tab-pane :key="2" tab="填写个人信息">
|
|
|
|
|
<h3 v-if="form.type==1" style="padding: 16px">主体类型</h3>
|
|
|
|
|
<a-form-model v-if="form.type==1" style="margin-left: 12px" :labelCol="{span: 3}" :wrapperCol="{span: 5}">
|
|
|
|
|
<h3 v-if="form.type==3" style="padding: 16px">主体类型</h3>
|
|
|
|
|
<a-form-model v-if="form.type==3" style="margin-left: 12px" :labelCol="{span: 3}" :wrapperCol="{span: 5}">
|
|
|
|
|
<a-form-model-item label="主体类型">
|
|
|
|
|
<a-radio-group v-model="form.type" disabled>
|
|
|
|
|
<a-radio :value="3">个体户</a-radio>
|
|
|
|
|
<a-radio :value="1">个体户</a-radio>
|
|
|
|
|
<a-radio :value="2">企业</a-radio>
|
|
|
|
|
<a-radio :value="1">个人</a-radio>
|
|
|
|
|
<a-radio :value="3">个人</a-radio>
|
|
|
|
|
</a-radio-group>
|
|
|
|
|
<div><span>如需修改主体类型请返回<a>上一步</a>进行操作</span></div>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
@ -116,20 +120,20 @@
|
|
|
|
|
<a-form-model style="margin-left: 12px" :labelCol="{span: 3}" :wrapperCol="{span: 5}">
|
|
|
|
|
<a-form-model-item label="手持身份证照">
|
|
|
|
|
<commonUpload
|
|
|
|
|
:fileList="fileList"
|
|
|
|
|
@handleChange="handleChange"
|
|
|
|
|
:fileList="fileList.handheldIdCardImgUrls"
|
|
|
|
|
@handleChange="handlehhChange"
|
|
|
|
|
></commonUpload>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="证件照正面">
|
|
|
|
|
<commonUpload
|
|
|
|
|
:fileList="fileList"
|
|
|
|
|
@handleChange="handleChange"
|
|
|
|
|
:fileList="fileList.idCardFrontImgUrls"
|
|
|
|
|
@handleChange="handlefrontChange"
|
|
|
|
|
></commonUpload>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="证件照反面">
|
|
|
|
|
<commonUpload
|
|
|
|
|
:fileList="fileList"
|
|
|
|
|
@handleChange="handleChange"
|
|
|
|
|
:fileList="fileList.idCardBackImgUrls"
|
|
|
|
|
@handleChange="handlebackChange"
|
|
|
|
|
></commonUpload>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-form-model>
|
|
|
|
@ -140,31 +144,31 @@
|
|
|
|
|
大陆身份证
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="法定代表人姓名">
|
|
|
|
|
<a-input v-model="form.authenticationPersonalInfoDTO.name"></a-input>
|
|
|
|
|
<a-input v-model="form.authenticationPersonalInfoUpdateDTO.name"></a-input>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="证件号码">
|
|
|
|
|
<a-input v-model="form.authenticationPersonalInfoDTO.idNumber"></a-input>
|
|
|
|
|
<a-input v-model="form.authenticationPersonalInfoUpdateDTO.idNumber"></a-input>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="出生日期">
|
|
|
|
|
<a-date-picker v-model="form.authenticationPersonalInfoDTO.birthday"></a-date-picker>
|
|
|
|
|
<a-date-picker v-model="form.authenticationPersonalInfoUpdateDTO.birthday" value-format="YYYY-MM-DD HH:mm:ss"></a-date-picker>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="证件有效期">
|
|
|
|
|
<a-radio-group v-model="isIdCardLongtime">
|
|
|
|
|
<a-radio :value="0">区间有效</a-radio>
|
|
|
|
|
<a-radio :value="1">长期有效</a-radio>
|
|
|
|
|
</a-radio-group>
|
|
|
|
|
<a-date-picker v-model="form.authenticationPersonalInfoDTO.idValidityStart" v-if="isIdCardLongtime == 1"></a-date-picker>
|
|
|
|
|
<a-range-picker v-model="selTime2" v-if="isIdCardLongtime == 0"></a-range-picker>
|
|
|
|
|
<a-date-picker v-model="form.authenticationPersonalInfoUpdateDTO.idValidityStart" value-format="YYYY-MM-DD HH:mm:ss" v-if="isIdCardLongtime == 1"></a-date-picker>
|
|
|
|
|
<a-range-picker v-model="selTime2" v-if="isIdCardLongtime == 0" value-format="YYYY-MM-DD HH:mm:ss"></a-range-picker>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="性别">
|
|
|
|
|
<a-select v-model="form.authenticationPersonalInfoDTO.sex">
|
|
|
|
|
<a-select v-model="form.authenticationPersonalInfoUpdateDTO.sex">
|
|
|
|
|
<a-select-option :value="1">男</a-select-option>
|
|
|
|
|
<a-select-option :value="2">女</a-select-option>
|
|
|
|
|
<a-select-option :value="3">保密</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="职业">
|
|
|
|
|
<a-input v-model="form.authenticationPersonalInfoDTO.occupation"></a-input>
|
|
|
|
|
<a-input v-model="form.authenticationPersonalInfoUpdateDTO.occupation"></a-input>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-form-model>
|
|
|
|
|
</a-tab-pane>
|
|
|
|
@ -172,26 +176,26 @@
|
|
|
|
|
<h3 style="padding: 16px">联系人</h3>
|
|
|
|
|
<a-form-model style="margin-left: 12px" :labelCol="{span: 3}" :wrapperCol="{span: 5}">
|
|
|
|
|
<a-form-model-item label="联系人姓名">
|
|
|
|
|
<a-input v-model="form.authenticationOperateInfoDTO.name"></a-input>
|
|
|
|
|
<a-input v-model="form.authenticationOperateInfoUpdateDTO.name"></a-input>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="手机号">
|
|
|
|
|
<a-input v-model="form.authenticationOperateInfoDTO.tel"></a-input>
|
|
|
|
|
<a-input v-model="form.authenticationOperateInfoUpdateDTO.tel"></a-input>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="常用邮箱">
|
|
|
|
|
<a-input v-model="form.authenticationOperateInfoDTO.email"></a-input>
|
|
|
|
|
<a-input v-model="form.authenticationOperateInfoUpdateDTO.email"></a-input>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="客服电话">
|
|
|
|
|
<a-input v-model="form.authenticationOperateInfoDTO.customerServiceTel"></a-input>
|
|
|
|
|
<a-input v-model="form.authenticationOperateInfoUpdateDTO.customerServiceTel"></a-input>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-form-model>
|
|
|
|
|
<h3 style="padding: 16px">结算账户信息</h3>
|
|
|
|
|
<a-form-model style="margin-left: 12px" :labelCol="{span: 3}" :wrapperCol="{span: 5}">
|
|
|
|
|
<a-form-model-item label="结算类型">支付宝</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="支付宝用户名称">
|
|
|
|
|
<a-input v-model="form.authenticationOperateInfoDTO.alipayName"></a-input>
|
|
|
|
|
<a-input v-model="form.authenticationOperateInfoUpdateDTO.alipayName"></a-input>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="支付宝账号">
|
|
|
|
|
<a-input v-model="form.authenticationOperateInfoDTO.alipayAccount"></a-input>
|
|
|
|
|
<a-input v-model="form.authenticationOperateInfoUpdateDTO.alipayAccount"></a-input>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-form-model>
|
|
|
|
|
<h3 style="padding: 16px">经营信息</h3>
|
|
|
|
@ -203,30 +207,53 @@
|
|
|
|
|
<a-cascader :options="cityList" placeholder="请选择"
|
|
|
|
|
:field-names="{ label: 'name', value: 'id', children: 'cityList', }" @change="changeBusCity"
|
|
|
|
|
></a-cascader>
|
|
|
|
|
<a-textarea v-model="form.authenticationOperateInfoDTO.operateAddressDetail"></a-textarea>
|
|
|
|
|
<a-textarea v-model="form.authenticationOperateInfoUpdateDTO.operateAddressDetail"></a-textarea>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="经营类型">
|
|
|
|
|
<a-select v-model="form.authenticationOperateInfoDTO.operateType">
|
|
|
|
|
|
|
|
|
|
<a-form-model-item v-if="form.type == 3" label="经营类型">
|
|
|
|
|
<a-select v-model="form.authenticationOperateInfoUpdateDTO.operateType">
|
|
|
|
|
<a-select-option :value="1">个人销售自产农副产品</a-select-option>
|
|
|
|
|
<a-select-option :value="2">个人销售家庭手工业产品</a-select-option>
|
|
|
|
|
<a-select-option :value="3">个人利用自己的技能从事便民劳务活动</a-select-option>
|
|
|
|
|
<a-select-option :value="4">个人从事零星小额交易活动</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="经营类目">
|
|
|
|
|
<a-checkbox-group v-model="form.authenticationOperateInfoDTO.categoryIds"></a-checkbox-group>
|
|
|
|
|
<a-select mode="multiple" v-model="form.authenticationOperateInfoUpdateDTO.categoryIds">
|
|
|
|
|
<a-select-option v-for="(item) in cateList" :key="item.id" :value="item.id">
|
|
|
|
|
{{item.name}}
|
|
|
|
|
</a-select-option>
|
|
|
|
|
</a-select>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<h4 style="padding: 12px">“食品>生鲜果蔬”特殊资质证明</h4>
|
|
|
|
|
<a-form-model-item label="具体资质">
|
|
|
|
|
<a-checkbox-group v-model="form.qualificationDTO" :options="zOption"></a-checkbox-group>
|
|
|
|
|
<a-checkbox-group v-model="form.qualificationDTO" @change="qualificationChange" :options="zOption"></a-checkbox-group>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<!-- <a-form-model-item label="许可证资质证明">
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-form-model-item> -->
|
|
|
|
|
<a-form-model-item label="门店门头照片">
|
|
|
|
|
<commonUpload
|
|
|
|
|
:fileList="fileList.doorHeadImgUrls"
|
|
|
|
|
@handleChange="handleDoorHeadChange"
|
|
|
|
|
></commonUpload>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="门店内景照片">
|
|
|
|
|
<commonUpload
|
|
|
|
|
:fileList="fileList.indoorSceneImgUrls"
|
|
|
|
|
@handleChange="handleDoorInsideChange"
|
|
|
|
|
></commonUpload>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="收银台照片">
|
|
|
|
|
<commonUpload
|
|
|
|
|
:fileList="fileList.cashierImgUrls"
|
|
|
|
|
@handleChange="handleCashChange"
|
|
|
|
|
></commonUpload>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
<a-form-model-item label="补充信息">
|
|
|
|
|
</a-form-model-item> -->
|
|
|
|
|
<commonUpload
|
|
|
|
|
:fileList="fileList.otherImgUrls"
|
|
|
|
|
@handleChange="handleOtherChange"
|
|
|
|
|
></commonUpload>
|
|
|
|
|
</a-form-model-item>
|
|
|
|
|
</a-form-model>
|
|
|
|
|
</a-tab-pane>
|
|
|
|
|
</a-tabs>
|
|
|
|
@ -247,7 +274,8 @@
|
|
|
|
|
|
|
|
|
|
<script>
|
|
|
|
|
import { columns1,tableData1,tableData2,tableData3 } from "./depend/config"
|
|
|
|
|
import { merchantList, getCityList } from "@/api/public"
|
|
|
|
|
import { merchantList, getCityList, updateCertification } from "@/api/public"
|
|
|
|
|
import { getCertiDetail } from "@/api/public"
|
|
|
|
|
export default {
|
|
|
|
|
name: 'certification',
|
|
|
|
|
data() {
|
|
|
|
@ -263,9 +291,10 @@ export default {
|
|
|
|
|
{label:'食品生产许可证',value:3},{label:'食品小作坊登记证',value:4},
|
|
|
|
|
{label:'国境口岸卫生许可证',value:5},{label:'预包装食品备案凭证',value:6},],
|
|
|
|
|
form: {
|
|
|
|
|
id: undefined,
|
|
|
|
|
type: 3,
|
|
|
|
|
//个人信息
|
|
|
|
|
authenticationPersonalInfoDTO: {
|
|
|
|
|
authenticationPersonalInfoUpdateDTO: {
|
|
|
|
|
handheldIdCardImgUrls: [], //手持身份证照片
|
|
|
|
|
idCardFrontImgUrls: [], //身份证正面
|
|
|
|
|
idCardBackImgUrls: [], //身份证反面
|
|
|
|
@ -279,7 +308,7 @@ export default {
|
|
|
|
|
occupation: '',
|
|
|
|
|
},
|
|
|
|
|
//经营信息
|
|
|
|
|
authenticationOperateInfoDTO: {
|
|
|
|
|
authenticationOperateInfoUpdateDTO: {
|
|
|
|
|
name: '',
|
|
|
|
|
tel: '',
|
|
|
|
|
email: '',
|
|
|
|
@ -310,11 +339,20 @@ export default {
|
|
|
|
|
otherImgUrls: [], //其他资质证明
|
|
|
|
|
},
|
|
|
|
|
cityList: [],
|
|
|
|
|
cateList: [],
|
|
|
|
|
isLongtime: 1,
|
|
|
|
|
isIdCardLongtime: 1,
|
|
|
|
|
selTime: [],
|
|
|
|
|
selTime2: [],
|
|
|
|
|
fileList: [],
|
|
|
|
|
fileList: {
|
|
|
|
|
handheldIdCardImgUrls: [],
|
|
|
|
|
idCardFrontImgUrls: [],
|
|
|
|
|
idCardBackImgUrls: [],
|
|
|
|
|
doorHeadImgUrls: [],
|
|
|
|
|
indoorSceneImgUrls: [],
|
|
|
|
|
cashierImgUrls: [],
|
|
|
|
|
otherImgUrls:[],
|
|
|
|
|
},
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
created() {
|
|
|
|
@ -324,22 +362,53 @@ export default {
|
|
|
|
|
getApi() {
|
|
|
|
|
merchantList({type: this.form.type}).then(res => {
|
|
|
|
|
let data = res.data;
|
|
|
|
|
let arr = [];
|
|
|
|
|
data.forEach(ele => {
|
|
|
|
|
ele.childList.forEach(e => {
|
|
|
|
|
let obj = {
|
|
|
|
|
id: e.id,
|
|
|
|
|
name: ele.name+'-'+e.name
|
|
|
|
|
};
|
|
|
|
|
arr.push(obj)
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
this.cateList = arr;
|
|
|
|
|
});
|
|
|
|
|
getCityList().then(res => {
|
|
|
|
|
let data = res.data;
|
|
|
|
|
this.cityList = data;
|
|
|
|
|
});
|
|
|
|
|
getCertiDetail({merchantShopId: this.getShopInfo.id}).then(res => {
|
|
|
|
|
let data = res.data;
|
|
|
|
|
//主体信息
|
|
|
|
|
this.form.id = data.id;
|
|
|
|
|
this.form.type = data.type;
|
|
|
|
|
//个人信息
|
|
|
|
|
|
|
|
|
|
//经营信息
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
changeType() {
|
|
|
|
|
merchantList({type: this.form.type}).then(res => {
|
|
|
|
|
let data = res.data;
|
|
|
|
|
let arr = [];
|
|
|
|
|
data.forEach(ele => {
|
|
|
|
|
ele.childList.forEach(e => {
|
|
|
|
|
let obj = {
|
|
|
|
|
id: e.id,
|
|
|
|
|
name: ele.name+'-'+e.name
|
|
|
|
|
};
|
|
|
|
|
arr.push(obj)
|
|
|
|
|
})
|
|
|
|
|
})
|
|
|
|
|
this.cateList = arr;
|
|
|
|
|
});
|
|
|
|
|
},
|
|
|
|
|
changeCity(value) {
|
|
|
|
|
this.conpanyForm.registerAddress = value[2]
|
|
|
|
|
},
|
|
|
|
|
changeBusCity(value) {
|
|
|
|
|
this.form.authenticationOperateInfoDTO.operateAddress = value[2]
|
|
|
|
|
this.form.authenticationOperateInfoUpdateDTO.operateAddress = value[2]
|
|
|
|
|
},
|
|
|
|
|
goNext() {
|
|
|
|
|
if(this.isChecked == true) {
|
|
|
|
@ -352,10 +421,101 @@ export default {
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
submit() {
|
|
|
|
|
this.stage = 1;
|
|
|
|
|
if(this.form.type == 3) {
|
|
|
|
|
updateCertification(this.form).then(res => {
|
|
|
|
|
if(res.code == 200) {
|
|
|
|
|
this.$message.success(res.msg);
|
|
|
|
|
this.$router.go(-1);
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(res.msg);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
} else {
|
|
|
|
|
let obj = Object.assign(this.form,this.conpanyForm);
|
|
|
|
|
updateCertification(obj).then(res => {
|
|
|
|
|
if(res.code == 200) {
|
|
|
|
|
this.$message.success(res.msg);
|
|
|
|
|
this.$router.go(-1);
|
|
|
|
|
} else {
|
|
|
|
|
this.$message.error(res.msg);
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
}
|
|
|
|
|
},
|
|
|
|
|
handleChange(data) {
|
|
|
|
|
|
|
|
|
|
handlehhChange(data) { //手持身份证
|
|
|
|
|
this.fileList.handheldIdCardImgUrls = data;
|
|
|
|
|
this.form.authenticationPersonalInfoUpdateDTO.handheldIdCardImgUrls = [];
|
|
|
|
|
data.forEach(ele => {
|
|
|
|
|
if(ele.status == 'done') {
|
|
|
|
|
this.form.authenticationPersonalInfoUpdateDTO.handheldIdCardImgUrls.push(ele.response.data)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
handlefrontChange(data) { //身份证正面
|
|
|
|
|
this.fileList.idCardFrontImgUrls = data;
|
|
|
|
|
this.form.authenticationPersonalInfoUpdateDTO.idCardFrontImgUrls = [];
|
|
|
|
|
data.forEach(ele => {
|
|
|
|
|
if(ele.status == 'done') {
|
|
|
|
|
this.form.authenticationPersonalInfoUpdateDTO.idCardFrontImgUrls.push(ele.response.data)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
handlebackChange(data) { //身份证反面
|
|
|
|
|
this.fileList.idCardBackImgUrls = data;
|
|
|
|
|
this.form.authenticationPersonalInfoUpdateDTO.idCardBackImgUrls = [];
|
|
|
|
|
data.forEach(ele => {
|
|
|
|
|
if(ele.status == 'done') {
|
|
|
|
|
this.form.authenticationPersonalInfoUpdateDTO.idCardBackImgUrls.push(ele.response.data)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
handleDoorHeadChange(data) { //门头
|
|
|
|
|
this.fileList.doorHeadImgUrls = data;
|
|
|
|
|
this.form.authenticationOperateInfoUpdateDTO.doorHeadImgUrls = [];
|
|
|
|
|
data.forEach(ele => {
|
|
|
|
|
if(ele.status == 'done') {
|
|
|
|
|
this.form.authenticationOperateInfoUpdateDTO.doorHeadImgUrls.push(ele.response.data)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
handleDoorInsideChange(data) { //门店内景
|
|
|
|
|
this.fileList.indoorSceneImgUrls = data;
|
|
|
|
|
this.form.authenticationOperateInfoUpdateDTO.indoorSceneImgUrls = [];
|
|
|
|
|
data.forEach(ele => {
|
|
|
|
|
if(ele.status == 'done') {
|
|
|
|
|
this.form.authenticationOperateInfoUpdateDTO.indoorSceneImgUrls.push(ele.response.data)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
handleCashChange(data) { //收银台
|
|
|
|
|
this.fileList.cashierImgUrls = data;
|
|
|
|
|
this.form.authenticationOperateInfoUpdateDTO.cashierImgUrls = [];
|
|
|
|
|
data.forEach(ele => {
|
|
|
|
|
if(ele.status == 'done') {
|
|
|
|
|
this.form.authenticationOperateInfoUpdateDTO.cashierImgUrls.push(ele.response.data)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
handleOtherChange(data) { //补充信息
|
|
|
|
|
this.fileList.otherImgUrls = data;
|
|
|
|
|
this.form.authenticationOperateInfoUpdateDTO.otherImgUrls = [];
|
|
|
|
|
data.forEach(ele => {
|
|
|
|
|
if(ele.status == 'done') {
|
|
|
|
|
this.form.authenticationOperateInfoUpdateDTO.otherImgUrls.push(ele.response.data)
|
|
|
|
|
}
|
|
|
|
|
})
|
|
|
|
|
},
|
|
|
|
|
//食品生鲜特殊资质证明
|
|
|
|
|
qualificationChange(value) {
|
|
|
|
|
let arr = [];
|
|
|
|
|
value.forEach(ele => {
|
|
|
|
|
let obj = {
|
|
|
|
|
id: ele,
|
|
|
|
|
qualificationsImgUrls: []
|
|
|
|
|
};
|
|
|
|
|
arr.push(obj)
|
|
|
|
|
});
|
|
|
|
|
this.qualificationDTO = arr;
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|