|
|
@ -175,7 +175,7 @@ |
|
|
|
</view> --> |
|
|
|
</view> --> |
|
|
|
<view class="username"> |
|
|
|
<view class="username"> |
|
|
|
<view class="namecont">mcc编号</view> |
|
|
|
<view class="namecont">mcc编号</view> |
|
|
|
<input placeholder="请选择mcc编号" v-model="mccno" style="width: 70%;" disabled="true" |
|
|
|
<input placeholder="请选择mcc编号" v-model="mccname" style="width: 70%;" disabled="true" |
|
|
|
@click="jumpchangemcc()" placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
@click="jumpchangemcc()" placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
<image src="../../../static/img/jtg.png" mode="widthFix" class="iconw"></image> |
|
|
|
<image src="../../../static/img/jtg.png" mode="widthFix" class="iconw"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -419,21 +419,21 @@ |
|
|
|
</picker> |
|
|
|
</picker> |
|
|
|
<view class="width40 fotct fcor999" v-if="timetype == '2' ">长期有效</view> |
|
|
|
<view class="width40 fotct fcor999" v-if="timetype == '2' ">长期有效</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- <view class="notes font16" style="border-bottom: 0px;" v-if="lementId != 1"> |
|
|
|
<view class="notes font16" style="border-bottom: 0px;" v-if="lementId != 1"> |
|
|
|
<view class="width70 aliitem fcor666"> |
|
|
|
<view class="width70 aliitem fcor666"> |
|
|
|
结算人银行卡照片 |
|
|
|
结算人银行卡照片 |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="width94 displ mart5" v-if="lementId != 1"> |
|
|
|
<view class="width94 displ mart5" v-if="lementId != 1"> |
|
|
|
<image :src="imgsUrl+settleimg" v-if="settleimg" @click="upload(4)" mode="widthFix" class="width100"> |
|
|
|
<image :src="settleimg" v-if="settleimg" @click="upload(4)" mode="widthFix" class="width100"> |
|
|
|
</image> |
|
|
|
</image> |
|
|
|
<image src="../../../static/img/businesslic9.png" v-else @click="upload(4)" mode="widthFix" |
|
|
|
<image src="../../../static/img/businesslic9.png" v-else @click="upload(4)" mode="widthFix" |
|
|
|
class="width100"> |
|
|
|
class="width100"> |
|
|
|
</image> |
|
|
|
</image> |
|
|
|
|
|
|
|
|
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<!-- 对公结算 --> |
|
|
|
<!-- 对公结算 --> |
|
|
|
<!-- <view class="notes font16" style="border-bottom: 0px;" v-if="lementId == 1"> |
|
|
|
<view class="notes font16" style="border-bottom: 0px;" v-if="lementId == 1"> |
|
|
|
<view class="width70 aliitem fcor666"> |
|
|
|
<view class="width70 aliitem fcor666"> |
|
|
|
开户许可证照片 |
|
|
|
开户许可证照片 |
|
|
|
</view> |
|
|
|
</view> |
|
|
@ -447,32 +447,31 @@ |
|
|
|
</image> |
|
|
|
</image> |
|
|
|
<image src="../../../static/img/businesslic11.png" mode="widthFix" class="width100" v-else |
|
|
|
<image src="../../../static/img/businesslic11.png" mode="widthFix" class="width100" v-else |
|
|
|
@click="upload(5)"></image> |
|
|
|
@click="upload(5)"></image> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<!-- <view class="username"> |
|
|
|
<view class="username" v-if="lementId == 1"> |
|
|
|
<view class="namecont">开户行号</view> |
|
|
|
<view class="namecont">开户持有人</view> |
|
|
|
<input placeholder="请输入开户行号" v-model="openingbankNo" style="width: 70%;" |
|
|
|
<input placeholder="请输入开户持有人" v-model="bankName" style="width: 70%;" |
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
<!-- <view class="username"> |
|
|
|
|
|
|
|
<view class="namecont">所属支行</view> |
|
|
|
|
|
|
|
<input placeholder="请输入所属支行" v-model="belongbranch" style="width: 70%;" |
|
|
|
|
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
<view class="username"> |
|
|
|
|
|
|
|
<view class="namecont">银行卡号</view> |
|
|
|
|
|
|
|
<input placeholder="请输入银行卡号" v-model="bankNo" style="width: 70%;" |
|
|
|
|
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="username"> |
|
|
|
|
|
|
|
|
|
|
|
<view class="username" v-else> |
|
|
|
<view class="namecont">银行卡持有人</view> |
|
|
|
<view class="namecont">银行卡持有人</view> |
|
|
|
<input placeholder="请输入银行卡持有人" v-model="bankName" style="width: 70%;" |
|
|
|
<input placeholder="请输入银行卡持有人" v-model="bankName" style="width: 70%;" |
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<view class="username"> |
|
|
|
|
|
|
|
<view class="namecont">所属银行</view> |
|
|
|
<view class="username" v-if="lementId == 1"> |
|
|
|
<input placeholder="请输入所属银行" v-model="belongbank" style="width: 70%;" |
|
|
|
<view class="namecont">开户账号</view> |
|
|
|
|
|
|
|
<input placeholder="请输入开户账号" v-model="bankNo" style="width: 70%;" |
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="username" v-else> |
|
|
|
|
|
|
|
<view class="namecont">银行卡号</view> |
|
|
|
|
|
|
|
<input placeholder="请输入银行卡号" v-model="bankNo" style="width: 70%;" |
|
|
|
|
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<view class="username"> |
|
|
|
<view class="username"> |
|
|
|
<view class="namecont">开户行地址</view> |
|
|
|
<view class="namecont">开户行地址</view> |
|
|
|
<pickRegions :defaultRegion="defaultRegionCode" class="width70" @getRegion="handleBankCityCode"> |
|
|
|
<pickRegions :defaultRegion="defaultRegionCode" class="width70" @getRegion="handleBankCityCode"> |
|
|
@ -483,6 +482,33 @@ |
|
|
|
</pickRegions> |
|
|
|
</pickRegions> |
|
|
|
<image src="../../../static/img/jtg.png" mode="widthFix" class="iconw"></image> |
|
|
|
<image src="../../../static/img/jtg.png" mode="widthFix" class="iconw"></image> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="username"> |
|
|
|
|
|
|
|
<view class="namecont">所属支行</view> |
|
|
|
|
|
|
|
<input placeholder="请选择或者输入所属支行" v-model="belongbranch" style="width: 70%;" |
|
|
|
|
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
|
|
|
|
<image src="../../../static/img/jtg.png" mode="widthFix" class="iconw" @click="showdepositaryBank()"> |
|
|
|
|
|
|
|
</image> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
<!-- <view class="username" v-else> |
|
|
|
|
|
|
|
<view class="namecont">所属支行</view> |
|
|
|
|
|
|
|
<input placeholder="请输入所属支行" v-model="belongbranch" style="width: 70%;" |
|
|
|
|
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
<!-- <view class="username"> |
|
|
|
|
|
|
|
<view class="namecont">开户行号</view> |
|
|
|
|
|
|
|
<input placeholder="请输入开户行号" v-model="openingbankNo" style="width: 70%;" |
|
|
|
|
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
|
|
|
|
</view> --> |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
<view class="username"> |
|
|
|
|
|
|
|
<view class="namecont">所属银行</view> |
|
|
|
|
|
|
|
<input placeholder="请输入所属银行" v-model="belongbank" style="width: 70%;" |
|
|
|
|
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
|
|
|
|
</view> |
|
|
|
|
|
|
|
|
|
|
|
<!-- <view class="notes font16" style="border-bottom: 0px;"> |
|
|
|
<!-- <view class="notes font16" style="border-bottom: 0px;"> |
|
|
|
<view class="width70 aliitem fcor666"> |
|
|
|
<view class="width70 aliitem fcor666"> |
|
|
|
电子协议 |
|
|
|
电子协议 |
|
|
@ -497,7 +523,7 @@ |
|
|
|
<image src="../../../static/img/businesslic12.png" mode="widthFix" class="width100" @click="upload(9)"> |
|
|
|
<image src="../../../static/img/businesslic12.png" mode="widthFix" class="width100" @click="upload(9)"> |
|
|
|
</image> |
|
|
|
</image> |
|
|
|
</view> --> |
|
|
|
</view> --> |
|
|
|
<!-- <view class="username"> |
|
|
|
<!-- <view class="username"> |
|
|
|
<view class="namecont">清算行号</view> |
|
|
|
<view class="namecont">清算行号</view> |
|
|
|
<input placeholder="请输入清算行号" v-model="clearbankNo" style="width: 70%;" |
|
|
|
<input placeholder="请输入清算行号" v-model="clearbankNo" style="width: 70%;" |
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
@ -549,26 +575,26 @@ |
|
|
|
<view class="font14 fcor333 text2 width75 fotrt">{{merDetailInfo.merSettleAcct.settleIdCardPeriodStart}} |
|
|
|
<view class="font14 fcor333 text2 width75 fotrt">{{merDetailInfo.merSettleAcct.settleIdCardPeriodStart}} |
|
|
|
至 {{merDetailInfo.merSettleAcct.settleIdCardPeriodEnd}}</view> |
|
|
|
至 {{merDetailInfo.merSettleAcct.settleIdCardPeriodEnd}}</view> |
|
|
|
</view> |
|
|
|
</view> |
|
|
|
<!-- <view class="titlename fcor666" v-if="merDetailInfo.merSettleAcct.bankCardImg">结算人银行卡照片</view> |
|
|
|
<view class="titlename fcor666" v-if="merDetailInfo.merSettleAcct.bankCardImg">结算人银行卡照片</view> |
|
|
|
<view class="width94 displ" v-if="merDetailInfo.merSettleAcct.bankCardImg"> |
|
|
|
<view class="width94 displ" v-if="merDetailInfo.merSettleAcct.bankCardImg"> |
|
|
|
<image :src="imgsUrl+merDetailInfo.merSettleAcct.bankCardImg" mode="widthFix" class="width30" |
|
|
|
<image :src="imgsUrl+merDetailInfo.merSettleAcct.bankCardImg" mode="widthFix" class="width30" |
|
|
|
@click="perImage(imgsUrl+merDetailInfo.merSettleAcct.bankCardImg)" style="margin-left: 3%;"></image> |
|
|
|
@click="perImage(imgsUrl+merDetailInfo.merSettleAcct.bankCardImg)" style="margin-left: 3%;"></image> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<!-- 对公结算 --> |
|
|
|
<!-- 对公结算 --> |
|
|
|
<!-- <view class="titlename fcor666" v-if="merDetailInfo.merSettleAcct.openningBankLicenseUrl">开户许可证照片</view> |
|
|
|
<view class="titlename fcor666" v-if="merDetailInfo.merSettleAcct.openningBankLicenseUrl">开户许可证照片</view> |
|
|
|
<view class="width94 displ" v-if="merDetailInfo.merSettleAcct.openningBankLicenseUrl"> |
|
|
|
<view class="width94 displ" v-if="merDetailInfo.merSettleAcct.openningBankLicenseUrl"> |
|
|
|
<image :src="imgsUrl+merDetailInfo.merSettleAcct.openningBankLicenseUrl" mode="widthFix" class="width30" |
|
|
|
<image :src="imgsUrl+merDetailInfo.merSettleAcct.openningBankLicenseUrl" mode="widthFix" class="width30" |
|
|
|
@click="perImage(imgsUrl+merDetailInfo.merSettleAcct.openningBankLicenseUrl)" |
|
|
|
@click="perImage(imgsUrl+merDetailInfo.merSettleAcct.openningBankLicenseUrl)" |
|
|
|
style="margin-left: 3%;"></image> |
|
|
|
style="margin-left: 3%;"></image> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<!-- <view class="username"> |
|
|
|
<view class="username"> |
|
|
|
<view class="namecont">开户行号</view> |
|
|
|
<view class="namecont">开户行号</view> |
|
|
|
<view class="font14 fcor333 text2 width75 fotrt">{{merDetailInfo.merSettleAcct.openningBankCode}}</view> |
|
|
|
<view class="font14 fcor333 text2 width75 fotrt">{{merDetailInfo.merSettleAcct.openningBankCode}}</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<!-- <view class="username"> |
|
|
|
<view class="username"> |
|
|
|
<view class="namecont">所属支行</view> |
|
|
|
<view class="namecont">所属支行</view> |
|
|
|
<view class="font14 fcor333 text2 width75 fotrt">{{merDetailInfo.merSettleAcct.openningBankName}}</view> |
|
|
|
<view class="font14 fcor333 text2 width75 fotrt">{{merDetailInfo.merSettleAcct.openningBankName}}</view> |
|
|
|
</view> --> |
|
|
|
</view> |
|
|
|
<view class="username"> |
|
|
|
<view class="username"> |
|
|
|
<view class="namecont">银行卡号</view> |
|
|
|
<view class="namecont">银行卡号</view> |
|
|
|
<view class="font14 fcor333 text2 width75 fotrt">{{merDetailInfo.merSettleAcct.bankCardNo}}</view> |
|
|
|
<view class="font14 fcor333 text2 width75 fotrt">{{merDetailInfo.merSettleAcct.bankCardNo}}</view> |
|
|
@ -590,11 +616,11 @@ |
|
|
|
|
|
|
|
|
|
|
|
<!--第四步 未录入门店信息 --> |
|
|
|
<!--第四步 未录入门店信息 --> |
|
|
|
<view class="width100 mart10 backcorfff" v-if="merchart == 4"> |
|
|
|
<view class="width100 mart10 backcorfff" v-if="merchart == 4"> |
|
|
|
<view class="username"> |
|
|
|
<!-- <view class="username"> |
|
|
|
<view class="namecont">门店账号</view> |
|
|
|
<view class="namecont">门店账号</view> |
|
|
|
<input placeholder="请输入6-20位门店账号" maxlength="20" v-model="storeaccount" style="width: 70%;" |
|
|
|
<input placeholder="请输入6-20位门店账号" maxlength="20" v-model="storeaccount" style="width: 70%;" |
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
</view> |
|
|
|
</view> --> |
|
|
|
<view class="username"> |
|
|
|
<view class="username"> |
|
|
|
<view class="namecont">门店名称</view> |
|
|
|
<view class="namecont">门店名称</view> |
|
|
|
<input placeholder="请输入门店名称" v-model="storename" style="width: 70%;" |
|
|
|
<input placeholder="请输入门店名称" v-model="storename" style="width: 70%;" |
|
|
@ -728,7 +754,9 @@ |
|
|
|
configMerBasis, |
|
|
|
configMerBasis, |
|
|
|
configMerSettlement, |
|
|
|
configMerSettlement, |
|
|
|
configMerStore, |
|
|
|
configMerStore, |
|
|
|
getDictionaryByCodeType |
|
|
|
getDictionaryByCodeType, |
|
|
|
|
|
|
|
getBankCardBin, |
|
|
|
|
|
|
|
recognizeBankAccount |
|
|
|
} from '../../../Utils/Api.js'; |
|
|
|
} from '../../../Utils/Api.js'; |
|
|
|
let app = getApp(); |
|
|
|
let app = getApp(); |
|
|
|
export default { |
|
|
|
export default { |
|
|
@ -778,16 +806,18 @@ |
|
|
|
larIdCardAddress: '', //身份证地址 |
|
|
|
larIdCardAddress: '', //身份证地址 |
|
|
|
idcardtime: '1', // times:选择时间 longterm: 长期 |
|
|
|
idcardtime: '1', // times:选择时间 longterm: 长期 |
|
|
|
uncorporsettelimg: '', //非法人结算授权书 |
|
|
|
uncorporsettelimg: '', //非法人结算授权书 |
|
|
|
// settleimg: '', //结算人银行卡照片 |
|
|
|
settleimg: '', //结算人银行卡照片 |
|
|
|
|
|
|
|
uploadsettleimg: '', //上传结算人银行卡照片 |
|
|
|
accopenperimg: '', //开户许可证图片 |
|
|
|
accopenperimg: '', //开户许可证图片 |
|
|
|
|
|
|
|
uploadaccopenperimg: '', //上传开户许可图片 |
|
|
|
electronicProtocolimg: [], //商户电子协议 |
|
|
|
electronicProtocolimg: [], //商户电子协议 |
|
|
|
// openingbankNo: '', //开户行号 |
|
|
|
openingbankNo: '', //开户行号 |
|
|
|
OpenningBankCityCode: '', //开户行地区 |
|
|
|
OpenningBankCityCode: '', //开户行地区 |
|
|
|
bankNo: '', // 银行卡号 |
|
|
|
bankNo: '', // 银行卡号 |
|
|
|
bankName: '', // 银行卡持有人 |
|
|
|
bankName: '', // 银行卡持有人 |
|
|
|
belongbank: '', //所属银行 |
|
|
|
belongbank: '', //所属银行 |
|
|
|
// belongbranch: '', //所属支行 |
|
|
|
belongbranch: '', //所属支行 |
|
|
|
// clearbankNo: '', //清算行号 |
|
|
|
clearbankNo: '', //清算行号 |
|
|
|
storeaccount: '', //门店账号 |
|
|
|
storeaccount: '', //门店账号 |
|
|
|
storename: '', //门店名称 |
|
|
|
storename: '', //门店名称 |
|
|
|
storephone: '', //门店电话 |
|
|
|
storephone: '', //门店电话 |
|
|
@ -804,7 +834,8 @@ |
|
|
|
cardend_date: '结束时间', //身份证结束时间 |
|
|
|
cardend_date: '结束时间', //身份证结束时间 |
|
|
|
region: [], //选择区域 |
|
|
|
region: [], //选择区域 |
|
|
|
areaCode: '', //区级 |
|
|
|
areaCode: '', //区级 |
|
|
|
// mccno: '', //mcc编号 |
|
|
|
mccno: '', //mcc编号 |
|
|
|
|
|
|
|
mccname: '', //mcc名称 |
|
|
|
defaultRegion: ['北京市', '市辖区', '东城区'], //默认地区 |
|
|
|
defaultRegion: ['北京市', '市辖区', '东城区'], //默认地区 |
|
|
|
defaultRegionCode: '110101', //区级编号 |
|
|
|
defaultRegionCode: '110101', //区级编号 |
|
|
|
regionName: '', |
|
|
|
regionName: '', |
|
|
@ -839,22 +870,35 @@ |
|
|
|
onLoad(options) { |
|
|
|
onLoad(options) { |
|
|
|
this.merId = options.id; |
|
|
|
this.merId = options.id; |
|
|
|
this.getMerDetail(1); |
|
|
|
this.getMerDetail(1); |
|
|
|
console.log('======' + this.cardstart_date); |
|
|
|
|
|
|
|
}, |
|
|
|
}, |
|
|
|
onShow() { |
|
|
|
onShow() { |
|
|
|
if (app.globalData.businessid) { |
|
|
|
if (app.globalData.businessid) { |
|
|
|
this.industrycategory = app.globalData.businessname; |
|
|
|
this.industrycategory = app.globalData.businessname; |
|
|
|
this.inducateid = app.globalData.businessid; |
|
|
|
this.inducateid = app.globalData.businessid; |
|
|
|
} |
|
|
|
} |
|
|
|
// if (app.globalData.mccid) { |
|
|
|
if (app.globalData.mccid) { |
|
|
|
// this.mccno = app.globalData.mccid; |
|
|
|
this.mccno = app.globalData.mccid; |
|
|
|
// } |
|
|
|
this.mccname = app.globalData.mccname; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (app.globalData.depositaryBank) { |
|
|
|
|
|
|
|
this.belongbranch = app.globalData.depositaryBank; |
|
|
|
|
|
|
|
var belongbank = this.belongbranch.split('银行'); |
|
|
|
|
|
|
|
this.belongbank = belongbank[0] + '银行'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (app.globalData.branchBankNo) { |
|
|
|
|
|
|
|
this.openingbankNo = app.globalData.branchBankNo; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (app.globalData.clearNo) { |
|
|
|
|
|
|
|
this.clearbankNo = app.globalData.clearNo; |
|
|
|
|
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
onUnload() { |
|
|
|
onUnload() { |
|
|
|
app.globalData.businessid = ''; |
|
|
|
app.globalData.businessid = ''; |
|
|
|
app.globalData.businessname = ''; |
|
|
|
app.globalData.businessname = ''; |
|
|
|
app.globalData.mccid = ''; |
|
|
|
app.globalData.mccid = ''; |
|
|
|
app.globalData.mccname = ''; |
|
|
|
app.globalData.mccname = ''; |
|
|
|
|
|
|
|
app.globalData.branchBankNo = ''; |
|
|
|
|
|
|
|
app.globalData.clearNo = ''; |
|
|
|
}, |
|
|
|
}, |
|
|
|
methods: { |
|
|
|
methods: { |
|
|
|
//显示商户弹出 |
|
|
|
//显示商户弹出 |
|
|
@ -888,6 +932,7 @@ |
|
|
|
this.region = region; |
|
|
|
this.region = region; |
|
|
|
this.bankareaCode = this.region.map(item => item.code)[2]; |
|
|
|
this.bankareaCode = this.region.map(item => item.code)[2]; |
|
|
|
this.bankregionName = this.region.map(item => item.name).join('-'); |
|
|
|
this.bankregionName = this.region.map(item => item.name).join('-'); |
|
|
|
|
|
|
|
app.globalData.bankareaCode = this.bankareaCode; |
|
|
|
}, |
|
|
|
}, |
|
|
|
//选择行业 |
|
|
|
//选择行业 |
|
|
|
showjob() { |
|
|
|
showjob() { |
|
|
@ -895,6 +940,13 @@ |
|
|
|
url: '../business-category/business-category' |
|
|
|
url: '../business-category/business-category' |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
//选择支行 |
|
|
|
|
|
|
|
showdepositaryBank() { |
|
|
|
|
|
|
|
app.globalData.bankareaCode = this.bankareaCode; |
|
|
|
|
|
|
|
uni.navigateTo({ |
|
|
|
|
|
|
|
url: '/pages/index/depositaryBank/depositaryBank' |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
//选择mcc编号 |
|
|
|
//选择mcc编号 |
|
|
|
jumpchangemcc() { |
|
|
|
jumpchangemcc() { |
|
|
|
uni.navigateTo({ |
|
|
|
uni.navigateTo({ |
|
|
@ -943,7 +995,7 @@ |
|
|
|
if (type === 'start') { |
|
|
|
if (type === 'start') { |
|
|
|
year = year - 60; |
|
|
|
year = year - 60; |
|
|
|
} else if (type === 'end') { |
|
|
|
} else if (type === 'end') { |
|
|
|
year = year + 2; |
|
|
|
year = year + 50; |
|
|
|
} |
|
|
|
} |
|
|
|
month = month > 9 ? month : '0' + month; |
|
|
|
month = month > 9 ? month : '0' + month; |
|
|
|
day = day > 9 ? day : '0' + day; |
|
|
|
day = day > 9 ? day : '0' + day; |
|
|
@ -1029,7 +1081,7 @@ |
|
|
|
sourceType: ['camera', 'album'], |
|
|
|
sourceType: ['camera', 'album'], |
|
|
|
success: function(res) { |
|
|
|
success: function(res) { |
|
|
|
const tempFilePaths = res.tempFilePaths; |
|
|
|
const tempFilePaths = res.tempFilePaths; |
|
|
|
that.uploadFile(tempFilePaths[0], item); |
|
|
|
that.uploadFile(tempFilePaths[0], item, 1); |
|
|
|
}, |
|
|
|
}, |
|
|
|
error: function(e) { |
|
|
|
error: function(e) { |
|
|
|
console.log(e); |
|
|
|
console.log(e); |
|
|
@ -1067,7 +1119,7 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}, |
|
|
|
}, |
|
|
|
//上传 |
|
|
|
//上传 |
|
|
|
uploadFile(item, item1) { |
|
|
|
uploadFile(item, item1, item2) { |
|
|
|
const that = this |
|
|
|
const that = this |
|
|
|
that.translate(item, 0.2, imgURL => { |
|
|
|
that.translate(item, 0.2, imgURL => { |
|
|
|
const uploadTask = uni.uploadFile({ |
|
|
|
const uploadTask = uni.uploadFile({ |
|
|
@ -1083,7 +1135,7 @@ |
|
|
|
}, |
|
|
|
}, |
|
|
|
success: function(uploadFileRes) { |
|
|
|
success: function(uploadFileRes) { |
|
|
|
that.getImgSignedUrl(item1, JSON.parse(uploadFileRes.data) |
|
|
|
that.getImgSignedUrl(item1, JSON.parse(uploadFileRes.data) |
|
|
|
.return_data); |
|
|
|
.return_data, item2); |
|
|
|
} |
|
|
|
} |
|
|
|
}); |
|
|
|
}); |
|
|
|
}) |
|
|
|
}) |
|
|
@ -1093,30 +1145,52 @@ |
|
|
|
this.electronicProtocolimg.splice(e, 1); |
|
|
|
this.electronicProtocolimg.splice(e, 1); |
|
|
|
}, |
|
|
|
}, |
|
|
|
//查看临时图片路径 |
|
|
|
//查看临时图片路径 |
|
|
|
getImgSignedUrl(item, item1) { |
|
|
|
getImgSignedUrl(item, item1, item2) { |
|
|
|
let datas = { |
|
|
|
let datas = { |
|
|
|
"fileUrl": item1 |
|
|
|
"fileUrl": item1 |
|
|
|
} |
|
|
|
} |
|
|
|
getImgSignedUrl(datas).then(res => { |
|
|
|
getImgSignedUrl(datas).then(res => { |
|
|
|
if (res.return_code == '000000') { |
|
|
|
if (res.return_code == '000000') { |
|
|
|
if (item == 1) { |
|
|
|
if (item == 1) { |
|
|
|
this.recognizeBusinessLicense(res.return_data); |
|
|
|
if (item2 == 1) { |
|
|
|
|
|
|
|
this.recognizeBusinessLicense(res.return_data); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.businimg = res.return_data; |
|
|
|
|
|
|
|
} |
|
|
|
this.uploadbusinimg = item1; |
|
|
|
this.uploadbusinimg = item1; |
|
|
|
} |
|
|
|
} |
|
|
|
if (item == 2) { |
|
|
|
if (item == 2) { |
|
|
|
this.recognizeIdCard(1, res.return_data); |
|
|
|
if (item2 == 1) { |
|
|
|
|
|
|
|
this.recognizeIdCard(1, res.return_data); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.idcardposimg = res.return_data; |
|
|
|
|
|
|
|
} |
|
|
|
this.uploadidcardposimg = item1; |
|
|
|
this.uploadidcardposimg = item1; |
|
|
|
} |
|
|
|
} |
|
|
|
if (item == 3) { |
|
|
|
if (item == 3) { |
|
|
|
this.recognizeIdCard(2, res.return_data); |
|
|
|
if (item2 == 1) { |
|
|
|
|
|
|
|
this.recognizeIdCard(2, res.return_data); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.idcardsideimg = res.return_data; |
|
|
|
|
|
|
|
} |
|
|
|
this.uploadidcardsideimg = item1; |
|
|
|
this.uploadidcardsideimg = item1; |
|
|
|
} |
|
|
|
} |
|
|
|
// if (item == 4) { |
|
|
|
if (item == 4) { |
|
|
|
// that.recognizeBankCard(res.return_data); |
|
|
|
this.uploadsettleimg = item1; |
|
|
|
// } |
|
|
|
if (item2 == 1) { |
|
|
|
// if (item == 5) { |
|
|
|
this.recognizeBankCard(res.return_data); |
|
|
|
// that.accopenperimg = res.return_data; |
|
|
|
} else { |
|
|
|
// } |
|
|
|
this.settleimg = res.return_data; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (item == 5) { |
|
|
|
|
|
|
|
this.uploadaccopenperimg = item1; |
|
|
|
|
|
|
|
if (item2 == 1) { |
|
|
|
|
|
|
|
this.recognizeBankAccount(res.return_data); |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
this.accopenperimg = res.return_data; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
} |
|
|
|
if (item == 6) { |
|
|
|
if (item == 6) { |
|
|
|
this.storeimg1 = res.return_data; |
|
|
|
this.storeimg1 = res.return_data; |
|
|
|
this.uploadstoreimg1 = item1; |
|
|
|
this.uploadstoreimg1 = item1; |
|
|
@ -1138,6 +1212,46 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
}) |
|
|
|
}) |
|
|
|
}, |
|
|
|
}, |
|
|
|
|
|
|
|
//查询银行卡信息 |
|
|
|
|
|
|
|
getBankCardBin(item) { |
|
|
|
|
|
|
|
let datas = { |
|
|
|
|
|
|
|
cardNo: item |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
getBankCardBin(datas).then(res => { |
|
|
|
|
|
|
|
if (res.return_code == '000000' && res.return_data) { |
|
|
|
|
|
|
|
this.belongbank = res.return_data.bankName; |
|
|
|
|
|
|
|
this.bankNo = res.return_data.cardNo; |
|
|
|
|
|
|
|
this.openingbankNo = res.return_data.bankCode; |
|
|
|
|
|
|
|
this.belongbranch = res.return_data.bankName; |
|
|
|
|
|
|
|
this.clearbankNo = res.return_data.clearingBankCode; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
|
|
|
|
//开户行识别 |
|
|
|
|
|
|
|
recognizeBankAccount(item) { |
|
|
|
|
|
|
|
uni.showLoading({ |
|
|
|
|
|
|
|
title: '识别中...' |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
let datas = { |
|
|
|
|
|
|
|
url: item |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
recognizeBankAccount(datas).then(res => { |
|
|
|
|
|
|
|
uni.hideLoading(); |
|
|
|
|
|
|
|
this.accopenperimg = item; |
|
|
|
|
|
|
|
if (res.return_code == '000000' && res.return_data) { |
|
|
|
|
|
|
|
var bankAccount = JSON.parse(res.return_data.data).data; |
|
|
|
|
|
|
|
this.bankName = bankAccount.legalRepresentative; |
|
|
|
|
|
|
|
this.bankNo = bankAccount.bankAccount; |
|
|
|
|
|
|
|
app.globalData.depositaryBank = bankAccount.depositaryBank; |
|
|
|
|
|
|
|
} else { |
|
|
|
|
|
|
|
uni.showToast({ |
|
|
|
|
|
|
|
title: '图片识别失败、请重新上传或自动填写内容。', |
|
|
|
|
|
|
|
duration: 3000, |
|
|
|
|
|
|
|
icon: 'none' |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
|
|
|
|
}, |
|
|
|
//营业执照识别 |
|
|
|
//营业执照识别 |
|
|
|
recognizeBusinessLicense(item) { |
|
|
|
recognizeBusinessLicense(item) { |
|
|
|
uni.showLoading({ |
|
|
|
uni.showLoading({ |
|
|
@ -1205,7 +1319,6 @@ |
|
|
|
this.cardstart_date = times[0]; |
|
|
|
this.cardstart_date = times[0]; |
|
|
|
this.idcardsideimg = items; |
|
|
|
this.idcardsideimg = items; |
|
|
|
this.cardend_date = times[1]; |
|
|
|
this.cardend_date = times[1]; |
|
|
|
console.log('======' + this.idcardtime); |
|
|
|
|
|
|
|
} else { |
|
|
|
} else { |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
title: '请上传身份证国徽信息', |
|
|
|
title: '请上传身份证国徽信息', |
|
|
@ -1234,10 +1347,11 @@ |
|
|
|
recognizeBankCard(params).then(res => { |
|
|
|
recognizeBankCard(params).then(res => { |
|
|
|
uni.hideLoading(); |
|
|
|
uni.hideLoading(); |
|
|
|
if (res.return_code == '000000' && res.return_data) { |
|
|
|
if (res.return_code == '000000' && res.return_data) { |
|
|
|
|
|
|
|
this.settleimg = item; |
|
|
|
if (JSON.parse(res.return_data.data).data != undefined) { |
|
|
|
if (JSON.parse(res.return_data.data).data != undefined) { |
|
|
|
this.bankCardlist = JSON.parse(res.return_data.data).data; |
|
|
|
this.bankCardlist = JSON.parse(res.return_data.data).data; |
|
|
|
this.bankNo = this.bankCardlist.cardNumber; |
|
|
|
this.bankNo = this.bankCardlist.cardNumber; |
|
|
|
// this.settleimg = item; |
|
|
|
this.getBankCardBin(this.bankNo); |
|
|
|
this.belongbank = this.bankCardlist.bankName; |
|
|
|
this.belongbank = this.bankCardlist.bankName; |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
@ -1334,18 +1448,27 @@ |
|
|
|
//第二步 |
|
|
|
//第二步 |
|
|
|
if (res.return_data.merType) { |
|
|
|
if (res.return_data.merType) { |
|
|
|
this.merchantId = res.return_data.merType; |
|
|
|
this.merchantId = res.return_data.merType; |
|
|
|
|
|
|
|
if (res.return_data.merType == 1) { |
|
|
|
|
|
|
|
this.merchantType = '个体商户'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (res.return_data.merType == 2) { |
|
|
|
|
|
|
|
this.merchantType = '企业商户'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (res.return_data.merType == 3) { |
|
|
|
|
|
|
|
this.merchantType = '小微商户'; |
|
|
|
|
|
|
|
} |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
this.merchantId = 1; |
|
|
|
this.merchantId = 1; |
|
|
|
} |
|
|
|
} |
|
|
|
this.companyname = res.return_data.merName |
|
|
|
this.companyname = res.return_data.merName |
|
|
|
this.merabbreviation = res.return_data.merAbbreviate; |
|
|
|
this.merabbreviation = res.return_data.merAbbreviate; |
|
|
|
// this.mccno = res.return_data.merMccCode; |
|
|
|
this.mccno = res.return_data.merMccCode; |
|
|
|
|
|
|
|
this.mccname = res.return_data.merMccName; |
|
|
|
// this.businimg = res.return_data.blisUrl; |
|
|
|
// this.businimg = res.return_data.blisUrl; |
|
|
|
// this.uploadbusinimg = res.return_data.blisUrl; |
|
|
|
// this.uploadbusinimg = res.return_data.blisUrl; |
|
|
|
this.companyname = res.return_data.blisName; |
|
|
|
this.companyname = res.return_data.blisName; |
|
|
|
this.businnum = res.return_data.blisNo |
|
|
|
this.businnum = res.return_data.blisNo |
|
|
|
this.regaddress = res.return_data.blisRegAddress; |
|
|
|
this.regaddress = res.return_data.blisRegAddress; |
|
|
|
|
|
|
|
|
|
|
|
if (res.return_data.blisPeriodStart) { |
|
|
|
if (res.return_data.blisPeriodStart) { |
|
|
|
this.start_date = res.return_data.blisPeriodStart; |
|
|
|
this.start_date = res.return_data.blisPeriodStart; |
|
|
|
} |
|
|
|
} |
|
|
@ -1365,16 +1488,17 @@ |
|
|
|
.merRegion.cityName + '-' + res.return_data.merRegion.areaName; |
|
|
|
.merRegion.cityName + '-' + res.return_data.merRegion.areaName; |
|
|
|
this.detailsaddress = res.return_data.merRegion.address; |
|
|
|
this.detailsaddress = res.return_data.merRegion.address; |
|
|
|
} |
|
|
|
} |
|
|
|
if (this.merchart == 2) { |
|
|
|
if (res.return_data && this.merchart == 2) { |
|
|
|
this.idcardname = res.return_data.larName; |
|
|
|
this.idcardname = res.return_data.larName; |
|
|
|
this.idcard = res.return_data.larIdCard; |
|
|
|
this.idcard = res.return_data.larIdCard; |
|
|
|
// this.idcardposimg = res.return_data.larIdCardPortraitImg; |
|
|
|
this.larIdCardAddress = res.return_data.larIdCardAddress |
|
|
|
// this.uploadidcardposimg = res.return_data.larIdCardPortraitImg; |
|
|
|
this.idcardposimg = res.return_data.larIdCardPortraitImg; |
|
|
|
this.getImgSignedUrl(1, res.return_data.blisUrl); |
|
|
|
this.uploadidcardposimg = res.return_data.larIdCardPortraitImg; |
|
|
|
this.getImgSignedUrl(2, res.return_data.larIdCardPortraitImg); |
|
|
|
this.getImgSignedUrl(1, res.return_data.blisUrl, 2); |
|
|
|
// this.idcardsideimg = res.return_data.larIdCardNationalEmblemImg; |
|
|
|
this.getImgSignedUrl(2, res.return_data.larIdCardPortraitImg, 2); |
|
|
|
// this.uploadidcardsideimg = res.return_data.larIdCardNationalEmblemImg; |
|
|
|
this.idcardsideimg = res.return_data.larIdCardNationalEmblemImg; |
|
|
|
this.getImgSignedUrl(3, res.return_data.larIdCardNationalEmblemImg); |
|
|
|
this.uploadidcardsideimg = res.return_data.larIdCardNationalEmblemImg; |
|
|
|
|
|
|
|
this.getImgSignedUrl(3, res.return_data.larIdCardNationalEmblemImg, 2); |
|
|
|
if (res.return_data.larIdCardPeriodStart) { |
|
|
|
if (res.return_data.larIdCardPeriodStart) { |
|
|
|
this.cardstart_date = res.return_data.larIdCardPeriodStart; |
|
|
|
this.cardstart_date = res.return_data.larIdCardPeriodStart; |
|
|
|
} |
|
|
|
} |
|
|
@ -1406,43 +1530,64 @@ |
|
|
|
this.getDictionaryByCodeType(); |
|
|
|
this.getDictionaryByCodeType(); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// this.settleimg = res.return_data.merSettleAcct.bankCardImg; |
|
|
|
|
|
|
|
// this.belongbranch = res.return_data.merSettleAcct.openningBankName; |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
// this.openingbankNo = res.return_data.merSettleAcct.openningBankCode; |
|
|
|
if (res.return_data.merSettleAcct && this.merchart == 3) { |
|
|
|
// this.accopenperimg = res.return_data.merSettleAcct.openningBankLicenseUrl; |
|
|
|
|
|
|
|
// if (res.return_data.merSettleAcct.electronicPact) { |
|
|
|
this.settleimg = res.return_data.merSettleAcct.bankCardImg; |
|
|
|
// this.electronicProtocolimg = res.return_data.merSettleAcct.electronicPact.split( |
|
|
|
this.getImgSignedUrl(4, res.return_data.merSettleAcct.bankCardImg, 2); |
|
|
|
// ';'); |
|
|
|
this.belongbranch = res.return_data.merSettleAcct.openningBankName; |
|
|
|
// } |
|
|
|
|
|
|
|
// this.clearbankNo = res.return_data.merSettleAcct.clearingBankCode; |
|
|
|
this.openingbankNo = res.return_data.merSettleAcct.openningBankCode; |
|
|
|
if (this.merchart == 3 && res.return_data.merSettleAcct) { |
|
|
|
this.accopenperimg = res.return_data.merSettleAcct.openningBankLicenseUrl; |
|
|
|
|
|
|
|
this.getImgSignedUrl(5, res.return_data.merSettleAcct.openningBankLicenseUrl, 2); |
|
|
|
|
|
|
|
if (res.return_data.merSettleAcct.electronicPact) { |
|
|
|
|
|
|
|
this.electronicProtocolimg = res.return_data.merSettleAcct.electronicPact |
|
|
|
|
|
|
|
.split( |
|
|
|
|
|
|
|
';'); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.clearbankNo = res.return_data.merSettleAcct.clearingBankCode; |
|
|
|
|
|
|
|
|
|
|
|
this.lementId = res.return_data.merSettleAcct.settleType; |
|
|
|
this.lementId = res.return_data.merSettleAcct.settleType; |
|
|
|
|
|
|
|
if (this.lementId == 1) { |
|
|
|
|
|
|
|
this.lementType = '对公结算'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.lementId == 2) { |
|
|
|
|
|
|
|
this.lementType = '对私法人结算'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
if (this.lementId == 3) { |
|
|
|
|
|
|
|
this.lementType = '对私非法人结算'; |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
this.bankregionName = res.return_data.merSettleAcct.openningBankProvinceName + |
|
|
|
|
|
|
|
'-' + |
|
|
|
|
|
|
|
res.return_data |
|
|
|
|
|
|
|
.merSettleAcct.openningBankCityName + '-' + res.return_data.merSettleAcct |
|
|
|
|
|
|
|
.openningBankAreaName; |
|
|
|
this.bankNo = res.return_data.merSettleAcct.bankCardNo; |
|
|
|
this.bankNo = res.return_data.merSettleAcct.bankCardNo; |
|
|
|
this.bankName = res.return_data.merSettleAcct.bankCardHolder; |
|
|
|
this.bankName = res.return_data.merSettleAcct.bankCardHolder; |
|
|
|
this.belongbank = res.return_data.merSettleAcct.bankName; |
|
|
|
this.belongbank = res.return_data.merSettleAcct.bankName; |
|
|
|
this.idcardname = res.return_data.merSettleAcct.settleIdCardName; |
|
|
|
this.idcardname = res.return_data.merSettleAcct.settleIdCardName; |
|
|
|
this.idcard = res.return_data.merSettleAcct.settleIdCardNo; |
|
|
|
this.idcard = res.return_data.merSettleAcct.settleIdCardNo; |
|
|
|
this.idcardtime = res.return_data.merSettleAcct.settleIdPeriodType; |
|
|
|
this.idcardtime = res.return_data.merSettleAcct.settleIdPeriodType; |
|
|
|
this.openningBankAreaCode = res.return_data.merSettleAcct.openningBankAreaCode; |
|
|
|
this.bankareaCode = res.return_data.merSettleAcct.openningBankAreaCode; |
|
|
|
// this.idcardposimg = res.return_data.merSettleAcct.settleIdCardPortraitImg; |
|
|
|
this.idcardposimg = res.return_data.merSettleAcct.settleIdCardPortraitImg; |
|
|
|
// this.uploadidcardposimg = res.return_data.merSettleAcct.settleIdCardPortraitImg; |
|
|
|
this.uploadidcardposimg = res.return_data.merSettleAcct.settleIdCardPortraitImg; |
|
|
|
// this.idcardsideimg = res.return_data.merSettleAcct.settleIdCardNationalEmblemImg; |
|
|
|
this.idcardsideimg = res.return_data.merSettleAcct.settleIdCardNationalEmblemImg; |
|
|
|
// this.uploadidcardsideimg = res.return_data.merSettleAcct.settleIdCardNationalEmblemImg; |
|
|
|
this.uploadidcardsideimg = res.return_data.merSettleAcct |
|
|
|
this.getImgSignedUrl(2, res.return_data.merSettleAcct.settleIdCardPortraitImg); |
|
|
|
.settleIdCardNationalEmblemImg; |
|
|
|
|
|
|
|
this.getImgSignedUrl(2, res.return_data.merSettleAcct.settleIdCardPortraitImg, 2); |
|
|
|
this.getImgSignedUrl(3, res.return_data.merSettleAcct |
|
|
|
this.getImgSignedUrl(3, res.return_data.merSettleAcct |
|
|
|
.settleIdCardNationalEmblemImg); |
|
|
|
.settleIdCardNationalEmblemImg, 2); |
|
|
|
this.cardstart_date = res.return_data.merSettleAcct.settleIdCardPeriodStart; |
|
|
|
this.cardstart_date = res.return_data.merSettleAcct.settleIdCardPeriodStart; |
|
|
|
this.cardend_date = res.return_data.merSettleAcct.settleIdCardPeriodEnd; |
|
|
|
this.cardend_date = res.return_data.merSettleAcct.settleIdCardPeriodEnd; |
|
|
|
} |
|
|
|
} |
|
|
|
//第四步 |
|
|
|
//第四步 |
|
|
|
if (res.return_data.storeModel) { |
|
|
|
if (res.return_data.storeModel) { |
|
|
|
this.storeaccount = res.return_data.storeModel.account.loginName; |
|
|
|
// this.storeaccount = res.return_data.storeModel.account.loginName; |
|
|
|
this.storename = res.return_data.storeModel.name; |
|
|
|
this.storename = res.return_data.storeModel.name; |
|
|
|
this.storephone = res.return_data.storeModel.telephone; |
|
|
|
this.storephone = res.return_data.storeModel.telephone; |
|
|
|
this.getImgSignedUrl(6, res.return_data.storeModel.doorHeadImg); |
|
|
|
this.getImgSignedUrl(6, res.return_data.storeModel.doorHeadImg, 2); |
|
|
|
this.getImgSignedUrl(7, res.return_data.storeModel.cashRegisterImg); |
|
|
|
this.getImgSignedUrl(7, res.return_data.storeModel.cashRegisterImg, 2); |
|
|
|
this.getImgSignedUrl(8, res.return_data.storeModel.internalImg); |
|
|
|
this.getImgSignedUrl(8, res.return_data.storeModel.internalImg, 2); |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
} else { |
|
|
|
} else { |
|
|
@ -1600,14 +1745,14 @@ |
|
|
|
}); |
|
|
|
}); |
|
|
|
return; |
|
|
|
return; |
|
|
|
} |
|
|
|
} |
|
|
|
// if (!that.mccno) { |
|
|
|
if (!that.mccno) { |
|
|
|
// uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
// title: '请填写mcc编号', |
|
|
|
title: '请选择mcc编号', |
|
|
|
// icon: "none", |
|
|
|
icon: "none", |
|
|
|
// duration: 2000 |
|
|
|
duration: 2000 |
|
|
|
// }); |
|
|
|
}); |
|
|
|
// return; |
|
|
|
return; |
|
|
|
// } |
|
|
|
} |
|
|
|
// if (that.mccno.length != 4) { |
|
|
|
// if (that.mccno.length != 4) { |
|
|
|
// uni.showToast({ |
|
|
|
// uni.showToast({ |
|
|
|
// title: '请填写正确的mcc编号', |
|
|
|
// title: '请填写正确的mcc编号', |
|
|
@ -1703,7 +1848,7 @@ |
|
|
|
"merType": that.merchantId, |
|
|
|
"merType": that.merchantId, |
|
|
|
"merName": that.companyname, |
|
|
|
"merName": that.companyname, |
|
|
|
"merAbbreviate": that.merabbreviation, |
|
|
|
"merAbbreviate": that.merabbreviation, |
|
|
|
// "merMccCode": that.mccno, |
|
|
|
"merMccCode": that.mccno, |
|
|
|
"blisUrl": that.uploadbusinimg, |
|
|
|
"blisUrl": that.uploadbusinimg, |
|
|
|
"blisName": that.companyname, |
|
|
|
"blisName": that.companyname, |
|
|
|
"blisNo": that.businnum, |
|
|
|
"blisNo": that.businnum, |
|
|
@ -1730,7 +1875,6 @@ |
|
|
|
configMerBasis(datas).then(res => { |
|
|
|
configMerBasis(datas).then(res => { |
|
|
|
uni.hideLoading(); |
|
|
|
uni.hideLoading(); |
|
|
|
if (res.return_code == '000000') { |
|
|
|
if (res.return_code == '000000') { |
|
|
|
that.getMerDetail(0); |
|
|
|
|
|
|
|
that.idcardposimg = ''; |
|
|
|
that.idcardposimg = ''; |
|
|
|
that.idcardsideimg = ''; |
|
|
|
that.idcardsideimg = ''; |
|
|
|
that.uploadidcardposimg = ''; |
|
|
|
that.uploadidcardposimg = ''; |
|
|
@ -1739,17 +1883,14 @@ |
|
|
|
that.idcard = ''; |
|
|
|
that.idcard = ''; |
|
|
|
that.idcardtime = 1; |
|
|
|
that.idcardtime = 1; |
|
|
|
that.cardstart_date = '开始时间'; |
|
|
|
that.cardstart_date = '开始时间'; |
|
|
|
that.cardend_date = '结束时间' |
|
|
|
that.cardend_date = '结束时间'; |
|
|
|
|
|
|
|
that.merchart = 3; |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
title: '提交成功', |
|
|
|
title: '提交成功', |
|
|
|
icon: 'none', |
|
|
|
icon: 'none', |
|
|
|
duration: 2000, |
|
|
|
duration: 2000 |
|
|
|
success() { |
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
|
|
|
that.merchart = 3; |
|
|
|
|
|
|
|
}, 1000); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
that.getMerDetail(0); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
title: res.return_msg, |
|
|
|
title: res.return_msg, |
|
|
@ -1764,26 +1905,26 @@ |
|
|
|
//结算信息提交 |
|
|
|
//结算信息提交 |
|
|
|
submitsettlement() { |
|
|
|
submitsettlement() { |
|
|
|
let that = this; |
|
|
|
let that = this; |
|
|
|
// if (that.lementId == 1) { |
|
|
|
if (that.lementId == 1) { |
|
|
|
// if (!that.accopenperimg) { |
|
|
|
if (!that.accopenperimg) { |
|
|
|
// uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
// title: '请上传开户许可证照片', |
|
|
|
title: '请上传开户许可证照片', |
|
|
|
// icon: "none", |
|
|
|
icon: "none", |
|
|
|
// duration: 2000 |
|
|
|
duration: 2000 |
|
|
|
// }); |
|
|
|
}); |
|
|
|
// return; |
|
|
|
return; |
|
|
|
// } |
|
|
|
} |
|
|
|
// } |
|
|
|
} |
|
|
|
// if (that.lementId == 2 || that.lementId == 3) { |
|
|
|
if (that.lementId == 2 || that.lementId == 3) { |
|
|
|
// if (!that.settleimg) { |
|
|
|
if (!that.settleimg) { |
|
|
|
// uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
// title: '请上传银行卡照片', |
|
|
|
title: '请上传银行卡照片', |
|
|
|
// icon: "none", |
|
|
|
icon: "none", |
|
|
|
// duration: 2000 |
|
|
|
duration: 2000 |
|
|
|
// }); |
|
|
|
}); |
|
|
|
// return; |
|
|
|
return; |
|
|
|
// } |
|
|
|
} |
|
|
|
// } |
|
|
|
} |
|
|
|
// if (that.lementId == 3) { |
|
|
|
// if (that.lementId == 3) { |
|
|
|
// if (!that.uncorporsettelimg) { |
|
|
|
// if (!that.uncorporsettelimg) { |
|
|
|
// uni.showToast({ |
|
|
|
// uni.showToast({ |
|
|
@ -1855,14 +1996,14 @@ |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
// if (!that.openingbankNo) { |
|
|
|
if (!that.openingbankNo) { |
|
|
|
// uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
// title: '请填写开户行号', |
|
|
|
title: '请填写开户行号', |
|
|
|
// icon: "none", |
|
|
|
icon: "none", |
|
|
|
// duration: 2000 |
|
|
|
duration: 2000 |
|
|
|
// }); |
|
|
|
}); |
|
|
|
// return; |
|
|
|
return; |
|
|
|
// } |
|
|
|
} |
|
|
|
|
|
|
|
|
|
|
|
if (!that.bankareaCode) { |
|
|
|
if (!that.bankareaCode) { |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
@ -1904,14 +2045,14 @@ |
|
|
|
// }); |
|
|
|
// }); |
|
|
|
// return; |
|
|
|
// return; |
|
|
|
// } |
|
|
|
// } |
|
|
|
// if (!that.clearbankNo) { |
|
|
|
if (!that.clearbankNo) { |
|
|
|
// uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
// title: '请填写清算行号', |
|
|
|
title: '请填写清算行号', |
|
|
|
// icon: "none", |
|
|
|
icon: "none", |
|
|
|
// duration: 2000 |
|
|
|
duration: 2000 |
|
|
|
// }); |
|
|
|
}); |
|
|
|
// return; |
|
|
|
return; |
|
|
|
// } |
|
|
|
} |
|
|
|
if (that.merRateList.length != that.rateCodeList.length) { |
|
|
|
if (that.merRateList.length != that.rateCodeList.length) { |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
title: '请完善商户费率', |
|
|
|
title: '请完善商户费率', |
|
|
@ -1935,16 +2076,16 @@ |
|
|
|
let datas = { |
|
|
|
let datas = { |
|
|
|
"merId": that.merId, |
|
|
|
"merId": that.merId, |
|
|
|
"settleType": that.lementId, //结算类型 1:对公结算 2:对私法人结算 3:对私非法人结算, |
|
|
|
"settleType": that.lementId, //结算类型 1:对公结算 2:对私法人结算 3:对私非法人结算, |
|
|
|
// "bankCardImg": that.settleimg, //"银行卡照片", |
|
|
|
"bankCardImg": that.uploadsettleimg, //"银行卡照片", |
|
|
|
// "openningBankName": that.belongbranch, //"银行名称", |
|
|
|
"openningBankName": that.belongbranch, //"银行名称", |
|
|
|
"bankCardNo": that.bankNo, //"银行卡号", |
|
|
|
"bankCardNo": that.bankNo, //"银行卡号", |
|
|
|
"openningBankAreaCode": that.bankareaCode, // 开户地址 |
|
|
|
"openningBankAreaCode": that.bankareaCode, // 开户地址 |
|
|
|
"bankCardHolder": that.bankName, //"银行卡持有人", |
|
|
|
"bankCardHolder": that.bankName, //"银行卡持有人", |
|
|
|
// "openningBankCode": that.openingbankNo, //"开户行号", |
|
|
|
"openningBankCode": that.openingbankNo, //"开户行号", |
|
|
|
"bankName": that.belongbank, //"开户行名称", |
|
|
|
"bankName": that.belongbank, //"开户行名称", |
|
|
|
// "openningBankLicenseUrl": that.accopenperimg, //"开户许可证照片", |
|
|
|
"openningBankLicenseUrl": that.uploadaccopenperimg, //"开户许可证照片", |
|
|
|
// "electronicPact": imgsqes, //电子协议 |
|
|
|
// "electronicPact": imgsqes, //电子协议 |
|
|
|
// "clearingBankCode": that.clearbankNo, //"账户清算行号", |
|
|
|
"clearingBankCode": that.clearbankNo, //"账户清算行号", |
|
|
|
"settleIdCardName": that.idcardname, //身份证名字 |
|
|
|
"settleIdCardName": that.idcardname, //身份证名字 |
|
|
|
"settleIdCardNo": that.idcard, //身份证号 |
|
|
|
"settleIdCardNo": that.idcard, //身份证号 |
|
|
|
"settleIdCardAddress": that.larIdCardAddress, // 身份证地址 |
|
|
|
"settleIdCardAddress": that.larIdCardAddress, // 身份证地址 |
|
|
@ -1959,17 +2100,13 @@ |
|
|
|
configMerSettlement(datas).then(res => { |
|
|
|
configMerSettlement(datas).then(res => { |
|
|
|
uni.hideLoading(); |
|
|
|
uni.hideLoading(); |
|
|
|
if (res.return_code == '000000') { |
|
|
|
if (res.return_code == '000000') { |
|
|
|
that.getMerDetail(0); |
|
|
|
that.merchart = 4; |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
title: '提交成功', |
|
|
|
title: '提交成功', |
|
|
|
icon: 'none', |
|
|
|
icon: 'none', |
|
|
|
duration: 2000, |
|
|
|
duration: 2000 |
|
|
|
success() { |
|
|
|
|
|
|
|
setTimeout(() => { |
|
|
|
|
|
|
|
that.merchart = 4; |
|
|
|
|
|
|
|
}, 1000); |
|
|
|
|
|
|
|
} |
|
|
|
|
|
|
|
}) |
|
|
|
}) |
|
|
|
|
|
|
|
that.getMerDetail(0); |
|
|
|
} else { |
|
|
|
} else { |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
title: res.return_msg, |
|
|
|
title: res.return_msg, |
|
|
@ -1982,14 +2119,14 @@ |
|
|
|
//提交门店进行审核 |
|
|
|
//提交门店进行审核 |
|
|
|
submitsotre() { |
|
|
|
submitsotre() { |
|
|
|
let that = this; |
|
|
|
let that = this; |
|
|
|
if (!that.storeaccount) { |
|
|
|
// if (!that.storeaccount) { |
|
|
|
uni.showToast({ |
|
|
|
// uni.showToast({ |
|
|
|
title: '请填写门店账号', |
|
|
|
// title: '请填写门店账号', |
|
|
|
icon: "none", |
|
|
|
// icon: "none", |
|
|
|
duration: 2000 |
|
|
|
// duration: 2000 |
|
|
|
}); |
|
|
|
// }); |
|
|
|
return; |
|
|
|
// return; |
|
|
|
} |
|
|
|
// } |
|
|
|
if (!that.storename) { |
|
|
|
if (!that.storename) { |
|
|
|
uni.showToast({ |
|
|
|
uni.showToast({ |
|
|
|
title: '请填写门店名称', |
|
|
|
title: '请填写门店名称', |
|
|
@ -2040,9 +2177,9 @@ |
|
|
|
}) |
|
|
|
}) |
|
|
|
let datas = { |
|
|
|
let datas = { |
|
|
|
"merId": that.merId, |
|
|
|
"merId": that.merId, |
|
|
|
"account": { |
|
|
|
// "account": { |
|
|
|
"loginName": that.storeaccount |
|
|
|
// "loginName": that.storeaccount |
|
|
|
}, |
|
|
|
// }, |
|
|
|
"name": that.storename, |
|
|
|
"name": that.storename, |
|
|
|
"telephone": that.storephone, |
|
|
|
"telephone": that.storephone, |
|
|
|
"doorHeadImg": that.uploadstoreimg1, |
|
|
|
"doorHeadImg": that.uploadstoreimg1, |
|
|
|