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