|
|
|
@ -97,7 +97,7 @@ |
|
|
|
|
</view> |
|
|
|
|
<view class="notes font13" style="color: #eb5823;border-bottom: 1px solid #f6f6f6;" v-if="merchantId == 1"> |
|
|
|
|
<image mode="widthFix" class="iconw" src="../../../static/img/gth.png"></image> |
|
|
|
|
<text class="width90p">若营业执照上无名称,请填写“个体户XXX”(XXX为营业执照上经营者姓名)</text> |
|
|
|
|
<text class="width90p">若营业执照上无名称,请填写“个体工商户XXX”(XXX为营业执照上经营者姓名)</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="username" v-if="merchantId != 3"> |
|
|
|
|
<view class="namecont">营业执照号</view> |
|
|
|
@ -332,17 +332,19 @@ |
|
|
|
|
<image src="../../../static/img/jtg.png" mode="widthFix" class="iconw"></image> |
|
|
|
|
</view> |
|
|
|
|
<!-- 非法人结算 --> |
|
|
|
|
<!-- <view class="titlename fcor666">非法人结算授权书</view> |
|
|
|
|
<view class="width94 displ"> |
|
|
|
|
<image src="../../../static/img/businesslic7.png" mode="widthFix" class="width45" |
|
|
|
|
<view class="titlename fcor666" v-if="lementId == 3">非法人结算授权书</view> |
|
|
|
|
<view class="width94 displ" v-if="lementId == 3"> |
|
|
|
|
<image :src="imgsUrl+uncorporsettelimg" v-if="uncorporsettelimg" @click="upload(10)" mode="widthFix" class="width45"> |
|
|
|
|
</image> |
|
|
|
|
<image src="../../../static/img/businesslic7.png" v-else mode="widthFix" @click="upload(10)" class="width45" |
|
|
|
|
style="margin-left: 3%;"></image> |
|
|
|
|
<image src="../../../static/img/businesslic8.png" mode="widthFix" class="width45" |
|
|
|
|
style="margin-left: 3%;" @click="perImage('../../../static/img/businesslic10.png')"></image> |
|
|
|
|
style="margin-left: 3%;" @click="perImage('../../../static/img/businesslic8.png')"></image> |
|
|
|
|
</view> |
|
|
|
|
<view class="notes font13" style="color: #eb5823;border-bottom: 1px solid #f6f6f6;" v-if="lementId == 3"> |
|
|
|
|
<image mode="widthFix" class="iconw" src="../../../static/img/gth.png"></image> |
|
|
|
|
<text class="width90p">请预览并保存授权书到本地,打印填写完整并签字后拍照上传;图片需清晰完整,以免审核失败</text> |
|
|
|
|
</view> |
|
|
|
|
<view class="notes font13" style="color: #eb5823;border-bottom: 1px solid #f6f6f6;"> |
|
|
|
|
<image mode="widthFix" class="iconw" src="../../../static/img/gth.png"></image> <text |
|
|
|
|
class="width90p">请预览并保存授权书到本地,打印填写完整并签字后拍照上传;图片需清晰完整,以免审核失败</text> |
|
|
|
|
</view> --> |
|
|
|
|
<view class="notes font16" style="border-bottom: 0px;" v-if="lementId == 3"> |
|
|
|
|
<view class="width70 aliitem fcor666"> |
|
|
|
|
非法人身份证照片 |
|
|
|
@ -427,11 +429,11 @@ |
|
|
|
|
<input placeholder="请输入开户行号" v-model="openingbankNo" style="width: 70%;" |
|
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
|
</view> --> |
|
|
|
|
<view class="username"> |
|
|
|
|
<!-- <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> --> |
|
|
|
|
<view class="username"> |
|
|
|
|
<view class="namecont">银行卡号</view> |
|
|
|
|
<input placeholder="请输入银行卡号" v-model="bankNo" style="width: 70%;" |
|
|
|
@ -452,10 +454,13 @@ |
|
|
|
|
电子协议 |
|
|
|
|
</view> |
|
|
|
|
</view> |
|
|
|
|
<view class="width94 displ mart5"> |
|
|
|
|
<view class="width94 displ mart5" v-for="(item,index) in electronicProtocolimg"> |
|
|
|
|
<image class="chachaimg" mode="widthFix" src="../../../static/img/del.png" @click="listdeleteImg(index)"></image> |
|
|
|
|
<image mode="widthFix" class="width100" |
|
|
|
|
:src="imgsUrl+electronicProtocolimg" v-if="electronicProtocolimg" @click="upload(9)"></image> |
|
|
|
|
<image src="../../../static/img/businesslic12.png" mode="widthFix" class="width100" v-else |
|
|
|
|
:src="imgsUrl+item"></image> |
|
|
|
|
</view> |
|
|
|
|
<view class="width94 displ mart5" v-if="electronicProtocolimg.length < 5"> |
|
|
|
|
<image src="../../../static/img/businesslic12.png" mode="widthFix" class="width100" |
|
|
|
|
@click="upload(9)"></image> |
|
|
|
|
</view> |
|
|
|
|
<!-- <view class="username"> |
|
|
|
@ -546,11 +551,11 @@ |
|
|
|
|
|
|
|
|
|
<!--第四步 未录入门店信息 --> |
|
|
|
|
<view class="width100 mart10 backcorfff" v-if="merchart == 4"> |
|
|
|
|
<view class="username"> |
|
|
|
|
<!-- <view class="username"> |
|
|
|
|
<view class="namecont">门店账号</view> |
|
|
|
|
<input placeholder="请输入6-20位门店账号" maxlength="20" v-model="storeaccount" style="width: 70%;" |
|
|
|
|
placeholder-style="color: #bfbfbf;font-size:14px;padding-top:2px;" /> |
|
|
|
|
</view> |
|
|
|
|
</view> --> |
|
|
|
|
<view class="username"> |
|
|
|
|
<view class="namecont">门店名称</view> |
|
|
|
|
<input placeholder="请输入门店名称" v-model="storename" style="width: 70%;" |
|
|
|
@ -730,12 +735,12 @@ |
|
|
|
|
uncorporsettelimg: '', //非法人结算授权书 |
|
|
|
|
settleimg: '', //结算人银行卡照片 |
|
|
|
|
accopenperimg: '', //开户许可证图片 |
|
|
|
|
electronicProtocolimg:'', //商户电子协议 |
|
|
|
|
electronicProtocolimg: [], //商户电子协议 |
|
|
|
|
// openingbankNo: '', //开户行号 |
|
|
|
|
bankNo: '', // 银行卡号 |
|
|
|
|
bankName: '', // 银行卡持有人 |
|
|
|
|
belongbank: '', //所属银行 |
|
|
|
|
belongbranch: '', //所属支行 |
|
|
|
|
// belongbranch: '', //所属支行 |
|
|
|
|
// clearbankNo: '', //清算行号 |
|
|
|
|
storeaccount: '', //门店账号 |
|
|
|
|
storename: '', //门店名称 |
|
|
|
@ -753,6 +758,7 @@ |
|
|
|
|
mccno: '', //mcc编号 |
|
|
|
|
defaultRegion: ['北京市', '市辖区', '东城区'], //默认地区 |
|
|
|
|
defaultRegionCode: '110101', //区级编号 |
|
|
|
|
regionName:'', |
|
|
|
|
businessLicenselist: [], // 营业执照识别数据 |
|
|
|
|
bankCardlist: [], //银行卡识别数据 |
|
|
|
|
idCardzm: [], //身份证正面 |
|
|
|
@ -772,12 +778,12 @@ |
|
|
|
|
endDate() { |
|
|
|
|
return this.getDate('end'); |
|
|
|
|
}, |
|
|
|
|
//地区转换 |
|
|
|
|
regionName() { |
|
|
|
|
// 转为字符串 |
|
|
|
|
this.areaCode = this.region.map(item => item.code)[2]; |
|
|
|
|
return this.region.map(item => item.name).join('-'); |
|
|
|
|
} |
|
|
|
|
// //地区转换 |
|
|
|
|
// regionName() { |
|
|
|
|
// // 转为字符串 |
|
|
|
|
// this.areaCode = this.region.map(item => item.code)[2]; |
|
|
|
|
// this.regionName = this.region.map(item => item.name).join('-'); |
|
|
|
|
// } |
|
|
|
|
}, |
|
|
|
|
onLoad(options) { |
|
|
|
|
this.merId = options.id; |
|
|
|
@ -822,6 +828,8 @@ |
|
|
|
|
//选择地区 |
|
|
|
|
handleGetRegion(region) { |
|
|
|
|
this.region = region; |
|
|
|
|
this.areaCode = this.region.map(item => item.code)[2]; |
|
|
|
|
this.regionName = this.region.map(item => item.name).join('-'); |
|
|
|
|
}, |
|
|
|
|
//选择行业 |
|
|
|
|
showjob() { |
|
|
|
@ -1004,8 +1012,12 @@ |
|
|
|
|
that.storeimg3 = JSON.parse(uploadFileRes.data).return_data[0]; |
|
|
|
|
} |
|
|
|
|
if (item == 9) { |
|
|
|
|
that.electronicProtocolimg = JSON.parse(uploadFileRes.data).return_data[0]; |
|
|
|
|
that.electronicProtocolimg.push(JSON.parse(uploadFileRes.data).return_data[0]); |
|
|
|
|
} |
|
|
|
|
if (item == 10) { |
|
|
|
|
that.uncorporsettelimg = JSON.parse(uploadFileRes.data).return_data[0]; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
@ -1014,6 +1026,10 @@ |
|
|
|
|
} |
|
|
|
|
}); |
|
|
|
|
}, |
|
|
|
|
//删除图片 |
|
|
|
|
listdeleteImg(e) { |
|
|
|
|
this.electronicProtocolimg.splice(e, 1); |
|
|
|
|
}, |
|
|
|
|
//营业执照识别 |
|
|
|
|
recognizeBusinessLicense(item) { |
|
|
|
|
uni.showLoading({ |
|
|
|
@ -1216,6 +1232,8 @@ |
|
|
|
|
this.companyname = res.return_data.blisName; |
|
|
|
|
this.businnum = res.return_data.blisNo |
|
|
|
|
this.regaddress = res.return_data.blisRegAddress; |
|
|
|
|
this.areaCode = res.return_data.merRegion.areaCode; |
|
|
|
|
this.regionName = res.return_data.merRegion.provinceName+'-'+res.return_data.merRegion.cityName+'-'+res.return_data.merRegion.areaName; |
|
|
|
|
if (res.return_data.blisPeriodStart) { |
|
|
|
|
this.start_date = res.return_data.blisPeriodStart; |
|
|
|
|
} |
|
|
|
@ -1257,13 +1275,15 @@ |
|
|
|
|
} |
|
|
|
|
this.lementId = res.return_data.merSettleAcct.settleType; |
|
|
|
|
this.settleimg = res.return_data.merSettleAcct.bankCardImg; |
|
|
|
|
this.belongbranch = res.return_data.merSettleAcct.openningBankName; |
|
|
|
|
// this.belongbranch = res.return_data.merSettleAcct.openningBankName; |
|
|
|
|
this.bankNo = res.return_data.merSettleAcct.bankCardNo; |
|
|
|
|
this.bankName = res.return_data.merSettleAcct.bankCardHolder; |
|
|
|
|
this.openingbankNo = res.return_data.merSettleAcct.openningBankCode; |
|
|
|
|
this.belongbank = res.return_data.merSettleAcct.bankName; |
|
|
|
|
this.accopenperimg = res.return_data.merSettleAcct.openningBankLicenseUrl; |
|
|
|
|
this.electronicProtocolimg = res.return_data.merSettleAcct.electronicPact |
|
|
|
|
if(res.return_data.merSettleAcct.electronicPact){ |
|
|
|
|
this.electronicProtocolimg = res.return_data.merSettleAcct.electronicPact.split(';'); |
|
|
|
|
} |
|
|
|
|
this.clearbankNo = res.return_data.merSettleAcct.clearingBankCode; |
|
|
|
|
if (this.merchart == 3) { |
|
|
|
|
this.idcardname = res.return_data.merSettleAcct.settleIdCardName; |
|
|
|
@ -1599,6 +1619,16 @@ |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (that.lementId == 3) { |
|
|
|
|
if (!that.uncorporsettelimg) { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: '请上授权书', |
|
|
|
|
icon: "none", |
|
|
|
|
duration: 2000 |
|
|
|
|
}); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
if (that.lementId == 3) { |
|
|
|
|
if (!that.idcardposimg) { |
|
|
|
|
uni.showToast({ |
|
|
|
@ -1661,14 +1691,14 @@ |
|
|
|
|
// return; |
|
|
|
|
// } |
|
|
|
|
|
|
|
|
|
if (!that.belongbranch) { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: '请填写所属支行', |
|
|
|
|
icon: "none", |
|
|
|
|
duration: 2000 |
|
|
|
|
}); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
// if (!that.belongbranch) { |
|
|
|
|
// uni.showToast({ |
|
|
|
|
// title: '请填写所属支行', |
|
|
|
|
// icon: "none", |
|
|
|
|
// duration: 2000 |
|
|
|
|
// }); |
|
|
|
|
// return; |
|
|
|
|
// } |
|
|
|
|
if (!that.bankNo) { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: '请填写银行卡号', |
|
|
|
@ -1725,6 +1755,7 @@ |
|
|
|
|
that.cardend_date = '长期有效' |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
let imgsqes = that.electronicProtocolimg.join(';'); |
|
|
|
|
uni.showLoading({ |
|
|
|
|
title: '提交中...' |
|
|
|
|
}) |
|
|
|
@ -1732,16 +1763,17 @@ |
|
|
|
|
"merId": that.merId, |
|
|
|
|
"settleType": that.lementId, //结算类型 1:对公结算 2:对私法人结算 3:对私非法人结算, |
|
|
|
|
"bankCardImg": that.settleimg, //"银行卡照片", |
|
|
|
|
"openningBankName": that.belongbranch, //"银行名称", |
|
|
|
|
// "openningBankName": that.belongbranch, //"银行名称", |
|
|
|
|
"bankCardNo": that.bankNo, //"银行卡号", |
|
|
|
|
"bankCardHolder": that.bankName, //"银行卡持有人", |
|
|
|
|
// "openningBankCode": that.openingbankNo, //"开户行号", |
|
|
|
|
"bankName": that.belongbank, //"开户行名称", |
|
|
|
|
"openningBankLicenseUrl": that.accopenperimg, //"开户许可证照片", |
|
|
|
|
"electronicPact":that.electronicProtocolimg, //电子协议 |
|
|
|
|
"electronicPact":imgsqes, //电子协议 |
|
|
|
|
// "clearingBankCode": that.clearbankNo, //"账户清算行号", |
|
|
|
|
"settleIdCardName": that.idcardname, //身份证名字 |
|
|
|
|
"settleIdCardNo": that.idcard, //身份证号 |
|
|
|
|
"commissionImg":that.uncorporsettelimg, // 授权书 |
|
|
|
|
"settleIdPeriodType": that.idcardtime, //【对私非法人结算】结算人身份证有效期类型 1:有效期 2:长期, |
|
|
|
|
"settleIdCardPortraitImg": that.idcardposimg, //"【对私非法人结算】结算人身份证人像面图片", |
|
|
|
|
"settleIdCardNationalEmblemImg": that.idcardsideimg, //"【对私非法人结算】结算人身份证国徽面图片", |
|
|
|
@ -1775,14 +1807,14 @@ |
|
|
|
|
//提交门店进行审核 |
|
|
|
|
submitsotre() { |
|
|
|
|
let that = this; |
|
|
|
|
if (!that.storeaccount) { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: '请填写门店账号', |
|
|
|
|
icon: "none", |
|
|
|
|
duration: 2000 |
|
|
|
|
}); |
|
|
|
|
return; |
|
|
|
|
} |
|
|
|
|
// if (!that.storeaccount) { |
|
|
|
|
// uni.showToast({ |
|
|
|
|
// title: '请填写门店账号', |
|
|
|
|
// icon: "none", |
|
|
|
|
// duration: 2000 |
|
|
|
|
// }); |
|
|
|
|
// return; |
|
|
|
|
// } |
|
|
|
|
if (!that.storename) { |
|
|
|
|
uni.showToast({ |
|
|
|
|
title: '请填写门店名称', |
|
|
|
@ -1833,9 +1865,9 @@ |
|
|
|
|
}) |
|
|
|
|
let datas = { |
|
|
|
|
"merId": that.merId, |
|
|
|
|
"account": { |
|
|
|
|
"loginName": that.storeaccount |
|
|
|
|
}, |
|
|
|
|
// "account": { |
|
|
|
|
// "loginName": that.storeaccount |
|
|
|
|
// }, |
|
|
|
|
"name": that.storename, |
|
|
|
|
"telephone": that.storephone, |
|
|
|
|
"doorHeadImg": that.storeimg1, |
|
|
|
@ -1905,6 +1937,11 @@ |
|
|
|
|
} |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.chachaimg{ |
|
|
|
|
width: 20px; |
|
|
|
|
float: right; |
|
|
|
|
} |
|
|
|
|
|
|
|
|
|
.lineh { |
|
|
|
|
width: 13.3%; |
|
|
|
|
height: 1px; |
|
|
|
|