|
|
|
@ -16,7 +16,8 @@
|
|
|
|
|
<view class="authbook-box" v-if="form.isLegalPerson == 0"> |
|
|
|
|
<view class="tips">非法人申请需上传加盖公章的申请授权书</view> |
|
|
|
|
<view class="upload-box acea-row row-between"> |
|
|
|
|
<image src="https://download.cyjyyjy.com/sq.png" v-if="form.authorizationPath == ''" @tap="upCard" data-type="ap"></image> |
|
|
|
|
<image src="https://download.cyjyyjy.com/sq.png" v-if="form.authorizationPath == ''" @tap="upCard" |
|
|
|
|
data-type="ap"></image> |
|
|
|
|
<image :src="form.authorizationPath" v-else @tap="upCard" data-type="ap"></image> |
|
|
|
|
<image src="https://download.cyjyyjy.com/sqs.png" @tap="prevImg"></image> |
|
|
|
|
</view> |
|
|
|
@ -34,13 +35,15 @@
|
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">企业名称</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" :value="form.enterpriseName" @input="inpChange" data-type="enterpriseName" placeholder="请填写企业名称"> |
|
|
|
|
<input type="text" :value="form.enterpriseName" @input="inpChange" data-type="enterpriseName" |
|
|
|
|
placeholder="请填写企业名称"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">信用代码</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" :value="form.creditCode" @input="inpChange" data-type="creditCode" placeholder="13位或18位数字及大写字母"> |
|
|
|
|
<input type="text" :value="form.creditCode" @input="inpChange" data-type="creditCode" |
|
|
|
|
placeholder="13位或18位数字及大写字母"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
@ -48,7 +51,8 @@
|
|
|
|
|
<view class="inp-box acea-row row-right row-middle"> |
|
|
|
|
<!-- <input type="text" value="{{form.profession}}" disabled="true" placeholder="请选择" /> |
|
|
|
|
<image src="https://download.cyjyyjy.com/home/arrow-r.png" class="arrorR"></image> --> |
|
|
|
|
<picker class="pick-box" @change="resourcesChange" :value="idx" :range="resourcesList" :range-key="'cagetoryName'" mode="selector"> |
|
|
|
|
<picker class="pick-box" @change="resourcesChange" :value="idx" :range="resourcesList" |
|
|
|
|
:range-key="'cagetoryName'" mode="selector"> |
|
|
|
|
<view class="picker">{{resourcesList[resourcesIdx].cagetoryName || '请选择'}}</view> |
|
|
|
|
</picker> |
|
|
|
|
</view> |
|
|
|
@ -64,7 +68,8 @@
|
|
|
|
|
<view class="form-item noBorder"> |
|
|
|
|
<view class="label">营业执照</view> |
|
|
|
|
<view class="inp-box yyzz"> |
|
|
|
|
<image src="https://download.cyjyyjy.com/yyzz.png" v-if="form.businessLicense == ''" @tap="upCard" data-type="bl"></image> |
|
|
|
|
<image src="https://download.cyjyyjy.com/yyzz.png" v-if="form.businessLicense == ''" @tap="upCard" |
|
|
|
|
data-type="bl"></image> |
|
|
|
|
<image :src="form.businessLicense" v-else @tap="upCard" data-type="bl"></image> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -75,19 +80,22 @@
|
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">银行账号</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" :value="form.bankAccount" @input="inpChange" @blur="checkBank" data-type="bankAccount" placeholder="银行账号"> |
|
|
|
|
<input type="text" :value="form.bankAccount" @input="inpChange" @blur="checkBank" |
|
|
|
|
data-type="bankAccount" placeholder="银行账号"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">开户银行</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" :value="form.bankName" @input="inpChange" data-type="bankName" placeholder="请填写开户银行"> |
|
|
|
|
<input type="text" :value="form.bankName" @input="inpChange" data-type="bankName" |
|
|
|
|
placeholder="请填写开户银行"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">开户网点</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" :value="form.bankBranch" @input="inpChange" data-type="bankBranch" placeholder="请填写开户网点"> |
|
|
|
|
<input type="text" :value="form.bankBranch" @input="inpChange" data-type="bankBranch" |
|
|
|
|
placeholder="请填写开户网点"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
@ -97,19 +105,22 @@
|
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">姓名</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" :value="form.legalPersonName" @input="inpChange" data-type="name" placeholder="请填写姓名"> |
|
|
|
|
<input type="text" :value="form.legalPersonName" @input="inpChange" data-type="name" |
|
|
|
|
placeholder="请填写姓名"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">手机号</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" :value="form.legalPhone" @input="inpChange" data-type="phone" placeholder="请填写手机号"> |
|
|
|
|
<input type="text" :value="form.legalPhone" @input="inpChange" data-type="phone" |
|
|
|
|
placeholder="请填写手机号"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="form-item acea-row row-between row-middle"> |
|
|
|
|
<view class="label">身份证号</view> |
|
|
|
|
<view class="inp-box"> |
|
|
|
|
<input type="text" :value="form.legalPersonIdcard" @input="inpChange" data-type="idcard" placeholder="请填写身份证号"> |
|
|
|
|
<input type="text" :value="form.legalPersonIdcard" @input="inpChange" data-type="idcard" |
|
|
|
|
placeholder="请填写身份证号"> |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<!-- <view class="form-item noBorder"> |
|
|
|
@ -197,41 +208,23 @@ export default {
|
|
|
|
|
|
|
|
|
|
if (options.authInfo) { |
|
|
|
|
let authInfo = JSON.parse(decodeURIComponent(options.authInfo)); |
|
|
|
|
//try fix |
|
|
|
|
this.form.authorizationType = 1; |
|
|
|
|
//try fix |
|
|
|
|
this.form.id = authInfo.id; |
|
|
|
|
//try fix |
|
|
|
|
this.form.enterpriseId = authInfo.enterpriseId; |
|
|
|
|
//try fix |
|
|
|
|
this.form.idcardPicHold = authInfo.idcardPicHold || ''; |
|
|
|
|
//try fix |
|
|
|
|
this.form.idcardPicBehind = authInfo.idcardPicBehind || ''; |
|
|
|
|
//try fix |
|
|
|
|
this.form.idcardPicFront = authInfo.idcardPicFront || ''; |
|
|
|
|
//try fix |
|
|
|
|
this.form.legalPersonIdcard = authInfo.legalPersonIdcard || ''; |
|
|
|
|
//try fix |
|
|
|
|
this.form.legalPhone = authInfo.legalPhone || ''; |
|
|
|
|
//try fix |
|
|
|
|
this.form.legalPersonName = authInfo.legalPersonName || ''; |
|
|
|
|
//try fix |
|
|
|
|
this.form.bankBranch = authInfo.bankBranch || ''; |
|
|
|
|
//try fix |
|
|
|
|
this.form.bankName = authInfo.bankName || ''; |
|
|
|
|
//try fix |
|
|
|
|
this.form.bankAccount = authInfo.bankAccount || ''; |
|
|
|
|
//try fix |
|
|
|
|
this.form.businessLicense = authInfo.businessLicense || ''; |
|
|
|
|
//try fix |
|
|
|
|
this.form.enterpriseScale = authInfo.enterpriseScale || '请选择'; |
|
|
|
|
//try fix |
|
|
|
|
this.form.creditCode = authInfo.creditCode; |
|
|
|
|
//try fix |
|
|
|
|
this.form.enterpriseName = authInfo.enterpriseName; |
|
|
|
|
//try fix |
|
|
|
|
this.form.authorizationPath = authInfo.authorizationPath || ''; |
|
|
|
|
//try fix |
|
|
|
|
this.form.isLegalPerson = 0; |
|
|
|
|
} |
|
|
|
|
}, |
|
|
|
@ -254,7 +247,6 @@ export default {
|
|
|
|
|
this.setData({ //['form.industryId']: this.data.resourcesList[idx].id |
|
|
|
|
resourcesIdx: idx, |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.industryId = this.resourcesList[idx].id; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -284,58 +276,27 @@ export default {
|
|
|
|
|
|
|
|
|
|
switch (type) { |
|
|
|
|
case 'enterpriseName': |
|
|
|
|
this.setData({//['form.enterpriseName']: value |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.enterpriseName = value; |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case 'creditCode': |
|
|
|
|
this.setData({//['form.creditCode']: value |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.creditCode = value; |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case 'bankAccount': |
|
|
|
|
this.setData({//['form.bankAccount']: value |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.bankAccount = value; |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case 'bankName': |
|
|
|
|
this.setData({//['form.bankName']: value |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.bankName = value; |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case 'bankBranch': |
|
|
|
|
this.setData({//['form.bankBranch']: value |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.bankBranch = value; |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case 'name': |
|
|
|
|
this.setData({//['form.legalPersonName']: value |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.legalPersonName = value; |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case 'phone': |
|
|
|
|
this.setData({//['form.legalPhone']: value |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.legalPhone = value; |
|
|
|
|
break; |
|
|
|
|
|
|
|
|
|
case 'idcard': |
|
|
|
|
this.setData({//['form.legalPersonIdcard']: value |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.legalPersonIdcard = value; |
|
|
|
|
break; |
|
|
|
|
} |
|
|
|
@ -345,45 +306,24 @@ export default {
|
|
|
|
|
let type = e.currentTarget.dataset.type; |
|
|
|
|
util.chooseImages(img => { |
|
|
|
|
if (type == 'f') { |
|
|
|
|
this.setData({//['form.idcardPicFront']: img |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.idcardPicFront = img; |
|
|
|
|
} else if (type == 'b') { |
|
|
|
|
this.setData({//.form.idcardPicBehind: img |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.idcardPicBehind = img; |
|
|
|
|
} else if (type == 'h') { |
|
|
|
|
this.setData({//.form.idcardPicHold: img |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.idcardPicHold = img; |
|
|
|
|
} else if (type == 'ap') { |
|
|
|
|
this.setData({//.form.authorizationPath: img |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.authorizationPath = img; |
|
|
|
|
} else if (type == 'bl') { |
|
|
|
|
this.setData({//.form.businessLicense: img |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.businessLicense = img; |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
bindPickerChange(e) { |
|
|
|
|
this.setData({//['form.enterpriseScale']: this.data.scaleArr[e.detail.value] |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.enterpriseScale = this.scaleArr[e.detail.value]; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
|
radioClick(e) { |
|
|
|
|
this.setData({//.form.isLegalPerson: e.detail.value |
|
|
|
|
}); |
|
|
|
|
//try fix |
|
|
|
|
this.form.isLegalPerson = e.detail.value; |
|
|
|
|
}, |
|
|
|
|
|
|
|
|
@ -470,7 +410,6 @@ export default {
|
|
|
|
|
uni.showModal({ |
|
|
|
|
title: '提示!', |
|
|
|
|
content: '提交成功!请等待审核', |
|
|
|
|
|
|
|
|
|
success(res) { |
|
|
|
|
uni.navigateBack({ |
|
|
|
|
delta: 1 |
|
|
|
@ -520,62 +459,76 @@ export default {
|
|
|
|
|
width: 100%; |
|
|
|
|
padding: 30rpx 40rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.is-legal-box label { |
|
|
|
|
margin-right: 40rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.authbook-box { |
|
|
|
|
font-size: 28rpx; |
|
|
|
|
color: #666; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.tips { |
|
|
|
|
margin: 40rpx 0; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.upload-box image { |
|
|
|
|
width: 332rpx; |
|
|
|
|
height: 204rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.splitLine { |
|
|
|
|
width: 100%; |
|
|
|
|
height: 20rpx; |
|
|
|
|
background-color: #eee; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.company-info-box { |
|
|
|
|
width: 100%; |
|
|
|
|
padding: 32rpx 40rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.title { |
|
|
|
|
font-size: 32rpx; |
|
|
|
|
color: #1D1D1D; |
|
|
|
|
margin-bottom: 38rpx; |
|
|
|
|
font-weight: 500; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.form-item { |
|
|
|
|
font-size: 28rpx; |
|
|
|
|
color: #666666; |
|
|
|
|
padding: 16rpx 0; |
|
|
|
|
border-bottom: 2rpx solid #EEEEEE; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.form-item .inp-box { |
|
|
|
|
width: 70%; |
|
|
|
|
text-align: right; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.yyzz image { |
|
|
|
|
width: 670rpx; |
|
|
|
|
height: 368rpx; |
|
|
|
|
margin-top: 26rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.noBorder { |
|
|
|
|
border: none; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.form-item .sfz { |
|
|
|
|
width: 100%; |
|
|
|
|
margin-top: 26rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.sfz image { |
|
|
|
|
width: 332rpx; |
|
|
|
|
height: 205rpx; |
|
|
|
|
margin-bottom: 10rpx; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.submit-btn { |
|
|
|
|
width: 670rpx; |
|
|
|
|
height: 76rpx; |
|
|
|
@ -587,6 +540,7 @@ export default {
|
|
|
|
|
text-align: center; |
|
|
|
|
margin: 40rpx auto; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.arrorR { |
|
|
|
|
width: 14rpx; |
|
|
|
|
height: 24rpx; |
|
|
|
|