|
|
|
@ -3,35 +3,35 @@ |
|
|
|
|
<view class="approval"> |
|
|
|
|
已实名认证 |
|
|
|
|
</view> |
|
|
|
|
<form @submit="formSubmit" v-if="!isValid"> |
|
|
|
|
<form @submit.stop="formSubmit" v-if="!isValid"> |
|
|
|
|
<view class='addAddress'> |
|
|
|
|
<view class='list'> |
|
|
|
|
<view class="listItem"> |
|
|
|
|
<view class='item acea-row row-between-wrapper'> |
|
|
|
|
<view class='name'>{{$t(`姓名`)}}</view> |
|
|
|
|
<input type='text' :placeholder='$t(`请输入`)' name='name' :value="infoForm.name" |
|
|
|
|
<input type='text' :placeholder='$t(`请输入`)' name='name' v-model="infoForm.name" |
|
|
|
|
placeholder-class='placeholder'></input> |
|
|
|
|
</view> |
|
|
|
|
<view class='item acea-row row-between-wrapper'> |
|
|
|
|
<view class='name'>{{$t(`身份证`)}}</view> |
|
|
|
|
<input type='text' :placeholder='$t(`请输入`)' name='id' :value="infoForm.id" |
|
|
|
|
<input type='text' :placeholder='$t(`请输入`)' name='id' v-model="infoForm.id" |
|
|
|
|
placeholder-class='placeholder'></input> |
|
|
|
|
</view> |
|
|
|
|
<view class='item acea-row row-between-wrapper'> |
|
|
|
|
<view class='name'>{{$t(`手机号`)}}</view> |
|
|
|
|
<input type='text' :placeholder='$t(`请输入`)' name='phone' :value="infoForm.phone" |
|
|
|
|
<input type='text' :placeholder='$t(`请输入`)' name='phone' v-model="infoForm.phone" |
|
|
|
|
placeholder-class='placeholder'></input> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="listItem"> |
|
|
|
|
<view class='item acea-row row-between-wrapper'> |
|
|
|
|
<view class='name'>{{$t(`企业名称`)}}</view> |
|
|
|
|
<input type='text' :placeholder='$t(`请输入`)' name='companyName' :value="infoForm.companyName" |
|
|
|
|
<input type='text' :placeholder='$t(`请输入`)' name='companyName' v-model="infoForm.companyName" |
|
|
|
|
placeholder-class='placeholder'></input> |
|
|
|
|
</view> |
|
|
|
|
<view class='item acea-row row-between-wrapper'> |
|
|
|
|
<view class='name'>{{$t(`企业统一社会信用代码`)}}</view> |
|
|
|
|
<input type='text' :placeholder='$t(`请输入`)' name='companyId' :value="infoForm.companyId" |
|
|
|
|
<input type='text' :placeholder='$t(`请输入`)' name='companyId' v-model="infoForm.companyId" |
|
|
|
|
placeholder-class='placeholder'></input> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -165,7 +165,7 @@ |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}, |
|
|
|
|
formSubmit: function(e) { |
|
|
|
|
formSubmit(e) { |
|
|
|
|
console.log(e) |
|
|
|
|
let that = this, |
|
|
|
|
value = e.detail.value; |
|
|
|
@ -188,18 +188,18 @@ |
|
|
|
|
if (!value.companyId) return that.$util.Tips({ |
|
|
|
|
title: that.$t(`请填写企业统一社会信用代码`) |
|
|
|
|
}); |
|
|
|
|
uni.showLoading({ |
|
|
|
|
title: that.$t(`保存中`), |
|
|
|
|
mask: true |
|
|
|
|
}) |
|
|
|
|
// uni.showLoading({ |
|
|
|
|
// title: that.$t(`保存中`), |
|
|
|
|
// mask: true |
|
|
|
|
// }) |
|
|
|
|
setRealInfo({ |
|
|
|
|
realname:this.infoForm.name, |
|
|
|
|
idcardno:this.infoForm.id, |
|
|
|
|
phone:this.infoForm.phone, |
|
|
|
|
company_name:this.infoForm.companyName, |
|
|
|
|
company_code:this.infoForm.companyId, |
|
|
|
|
// business_licens_ide:1 |
|
|
|
|
// shop_img_id:2 |
|
|
|
|
business_licens_ide:this.infoForm.companyResPic, |
|
|
|
|
shop_img_id:this.infoForm.companyPics, |
|
|
|
|
}).then(res => { |
|
|
|
|
console.log(res,"ooooooo") |
|
|
|
|
}) |
|
|
|
|