This commit is contained in:
parent
7f02ae77ee
commit
fac11cf52e
|
@ -27,7 +27,7 @@
|
||||||
<view class='list'>
|
<view class='list'>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name required">商户名称</text>
|
<text class="item-name required">店铺名称</text>
|
||||||
<input type="text" style="text-align: right;" maxlength="30" placeholder="请输入"
|
<input type="text" style="text-align: right;" maxlength="30" placeholder="请输入"
|
||||||
v-model="shopInfo.shopName" @input="validateBtn" placeholder-class='placeholder' />
|
v-model="shopInfo.shopName" @input="validateBtn" placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
|
@ -35,19 +35,19 @@
|
||||||
<text class="tips-text">(需与营业执照企业名称一致)</text>
|
<text class="tips-text">(需与营业执照企业名称一致)</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<!-- <view class="item">
|
||||||
<view class="uni-list">
|
<view class="uni-list">
|
||||||
<view class="uni-list-cell">
|
<view class="uni-list-cell">
|
||||||
<view class="uni-list-cell-db acea-row row-middle">
|
<view class="uni-list-cell-db acea-row row-middle">
|
||||||
<text class="item-name required">商户分类</text>
|
<text class="item-name required">店铺分类</text>
|
||||||
<picker style="text-align: right;" @change="bindPickerChange" :value="shopInfo.mer_classification" :range="array" range-key="category_name">
|
<picker style="text-align: right;" @change="bindPickerChange" :value="shopInfo.mer_classification" :range="array" range-key="category_name">
|
||||||
<input style="pointer-events:none" placeholder="请选择商户分类" type="text" readonly disabled v-model="shopInfo.mer_classification">
|
<input style="pointer-events:none" placeholder="请选择店铺分类" type="text" readonly disabled v-model="shopInfo.mer_classification">
|
||||||
<view class='iconfont icon-jiantou'></view>
|
<view class='iconfont icon-jiantou'></view>
|
||||||
</picker>
|
</picker>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view> -->
|
||||||
<!-- <view class="item">
|
<!-- <view class="item">
|
||||||
<view class="uni-list">
|
<view class="uni-list">
|
||||||
<view class="uni-list-cell">
|
<view class="uni-list-cell">
|
||||||
|
@ -95,6 +95,7 @@
|
||||||
type="text" readonly disabled v-model="shopInfo.businessAddress">
|
type="text" readonly disabled v-model="shopInfo.businessAddress">
|
||||||
<view class='iconfont icon-jiantou'></view>
|
<view class='iconfont icon-jiantou'></view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -116,6 +117,9 @@
|
||||||
v-model="shopInfo.EnterpriseName" @input="validateBtn"
|
v-model="shopInfo.EnterpriseName" @input="validateBtn"
|
||||||
placeholder-class='placeholder' />
|
placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
|
<view class="acea-row row-middle">
|
||||||
|
<text class="tips-text">(需与营业执照企业名称一致)</text>
|
||||||
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="uni-list">
|
<view class="uni-list">
|
||||||
|
@ -134,10 +138,12 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name required">企业客服电话</text>
|
<text class="item-name required">企业对接人编号</text>
|
||||||
<input type="text" style="text-align: right;" placeholder="请输入"
|
<input type="text" style="text-align: right;" placeholder="请输入"
|
||||||
v-model="shopInfo.EnterpriseServicePhone" @input="validateBtn"
|
v-model="shopInfo.EnterpriseId" @input="validateBtn" placeholder-class='placeholder' />
|
||||||
placeholder-class='placeholder' />
|
</view>
|
||||||
|
<view class="acea-row row-middle">
|
||||||
|
<text class="tips-text">请填写铸源商城ZY开头会员编号</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
|
@ -158,9 +164,12 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name required">企业对接人编号</text>
|
<text class="item-name required">发起人编号</text>
|
||||||
<input type="text" style="text-align: right;" placeholder="请输入"
|
<input type="text" style="text-align: right;" placeholder="请输入" v-model="shopInfo.userId"
|
||||||
v-model="shopInfo.EnterpriseId" @input="validateBtn" placeholder-class='placeholder' />
|
@input="validateBtn" placeholder-class='placeholder' />
|
||||||
|
</view>
|
||||||
|
<view class="acea-row row-middle">
|
||||||
|
<text class="tips-text">请填写铸源商城ZY开头会员编号</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
|
@ -172,18 +181,12 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name required">发起人联系电话</text>
|
<text class="item-name required">发起人电话</text>
|
||||||
<input type="text" style="text-align: right;" placeholder="请输入" v-model="shopInfo.userPhone"
|
<input type="text" style="text-align: right;" placeholder="请输入" v-model="shopInfo.userPhone"
|
||||||
@input="validateBtn" placeholder-class='placeholder' />
|
@input="validateBtn" placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
|
||||||
<view class="acea-row row-middle">
|
|
||||||
<text class="item-name required">发起人编号</text>
|
|
||||||
<input type="text" style="text-align: right;" placeholder="请输入" v-model="shopInfo.userId"
|
|
||||||
@input="validateBtn" placeholder-class='placeholder' />
|
|
||||||
</view>
|
|
||||||
</view>
|
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="uni-list">
|
<view class="uni-list">
|
||||||
<view class="uni-list-cell">
|
<view class="uni-list-cell">
|
||||||
|
@ -366,7 +369,6 @@
|
||||||
businessAddress: '',
|
businessAddress: '',
|
||||||
businessAddressDetail: '',
|
businessAddressDetail: '',
|
||||||
EnterpriseType: '',
|
EnterpriseType: '',
|
||||||
EnterpriseServicePhone: '',
|
|
||||||
EnterpriseName: '',
|
EnterpriseName: '',
|
||||||
EnterpriseJoinName: '',
|
EnterpriseJoinName: '',
|
||||||
EnterprisePhone: '',
|
EnterprisePhone: '',
|
||||||
|
@ -436,11 +438,11 @@
|
||||||
let com=resData.com;
|
let com=resData.com;
|
||||||
let biz=resData.biz;
|
let biz=resData.biz;
|
||||||
uni.setStorageSync('updateShopInfo',resData);
|
uni.setStorageSync('updateShopInfo',resData);
|
||||||
let {shopName,mer_classification,classification,businessAddress,businessAddressDetail,EnterpriseType,EnterpriseServicePhone,EnterpriseName,EnterpriseJoinName,EnterprisePhone,EnterpriseId,EnterpriseRooter,userName,userPhone,userId,userPhoto,isVeteran,isVeteranPhoto,isFlagshipStore,isFlagshipStorePhoto,mer_type,mer_storeType} = this.shopInfo;
|
let {shopName,mer_classification,classification,businessAddress,businessAddressDetail,EnterpriseType,EnterpriseName,EnterpriseJoinName,EnterprisePhone,EnterpriseId,EnterpriseRooter,userName,userPhone,userId,userPhoto,isVeteran,isVeteranPhoto,isFlagshipStore,isFlagshipStorePhoto,mer_type,mer_storeType} = this.shopInfo;
|
||||||
|
|
||||||
mer_classification=this.array[resData.mer_type_id]['category_name'],classification=resData.mer_type_id,mer_storeType=this.storeTypeArr[resData.merchant_category_id]['type_name'],mer_type=resData.merchant_category_id,EnterprisePhone=com.mobile,shopName=resData.mer_name,userPhone=resData.phone,EnterpriseName=com.name,userName=resData.name,mer_type=resData.merchant_category_id,classification=resData.mer_type_id,EnterpriseType=com.type,EnterpriseServicePhone=com.service,EnterpriseName=com.name,EnterpriseJoinName=com.contact,EnterpriseId=com.number,userName=com.initiator,userPhone=com.inti_mobile,userId=com.inti_number,userPhoto=com.init_image,isVeteran=com.is_huimei,isVeteranPhoto=com.image_huimei,isFlagshipStore=com.is_soldier,isFlagshipStorePhoto=com.image_soldier,businessAddress=biz.province+'/'+biz.city,businessAddressDetail=biz.address_true;
|
mer_classification=this.array[resData.mer_type_id]['category_name'],classification=resData.mer_type_id,mer_storeType=this.storeTypeArr[resData.merchant_category_id]['type_name'],mer_type=resData.merchant_category_id,EnterprisePhone=com.mobile,shopName=resData.mer_name,userPhone=resData.phone,EnterpriseName=com.name,userName=resData.name,mer_type=resData.merchant_category_id,classification=resData.mer_type_id,EnterpriseType=com.type,EnterpriseName=com.name,EnterpriseJoinName=com.contact,EnterpriseId=com.number,userName=com.initiator,userPhone=com.inti_mobile,userId=com.inti_number,userPhoto=com.init_image,isVeteran=com.is_huimei,isVeteranPhoto=com.image_huimei,isFlagshipStore=com.is_soldier,isFlagshipStorePhoto=com.image_soldier,businessAddress=biz.province+'/'+biz.city,businessAddressDetail=biz.address_true;
|
||||||
this.shopInfo={
|
this.shopInfo={
|
||||||
shopName,mer_classification,classification,businessAddress,businessAddressDetail,EnterpriseType,EnterpriseServicePhone,EnterpriseName,EnterpriseJoinName,EnterprisePhone,EnterpriseId,EnterpriseRooter,userName,userPhone,userId,userPhoto,isVeteran,isVeteranPhoto,isFlagshipStore,isFlagshipStorePhoto,mer_type,mer_storeType
|
shopName,mer_classification,classification,businessAddress,businessAddressDetail,EnterpriseType,EnterpriseName,EnterpriseJoinName,EnterprisePhone,EnterpriseId,EnterpriseRooter,userName,userPhone,userId,userPhoto,isVeteran,isVeteranPhoto,isFlagshipStore,isFlagshipStorePhoto,mer_type,mer_storeType
|
||||||
}
|
}
|
||||||
uni.hideLoading();
|
uni.hideLoading();
|
||||||
})
|
})
|
||||||
|
@ -477,12 +479,12 @@
|
||||||
},
|
},
|
||||||
validateBtn() {
|
validateBtn() {
|
||||||
let {
|
let {
|
||||||
shopName,mer_classification,classification,businessAddress,businessAddressDetail,EnterpriseType,EnterpriseServicePhone,EnterpriseName,EnterpriseJoinName,EnterprisePhone,EnterpriseId,EnterpriseRooter,userName,userPhone,userId,userPhoto,isVeteran,isVeteranPhoto,isFlagshipStore,isFlagshipStorePhoto,mer_type,mer_storeType
|
shopName,mer_classification,classification,businessAddress,businessAddressDetail,EnterpriseType,EnterpriseName,EnterpriseJoinName,EnterprisePhone,EnterpriseId,EnterpriseRooter,userName,userPhone,userId,userPhoto,isVeteran,isVeteranPhoto,isFlagshipStore,isFlagshipStorePhoto,mer_type,mer_storeType
|
||||||
} = this.shopInfo;
|
} = this.shopInfo;
|
||||||
|
|
||||||
|
|
||||||
|
|
||||||
if (shopName&&mer_classification&&classification&&businessAddress&&businessAddressDetail&&EnterpriseType&&EnterpriseServicePhone&&EnterpriseName&&EnterpriseJoinName&&EnterprisePhone&&EnterpriseId&&EnterpriseRooter&&userName&&userPhone&&userId&&userPhoto&&mer_type&&mer_storeType ) {
|
if (shopName&&mer_classification&&classification&&businessAddress&&businessAddressDetail&&EnterpriseType&&EnterpriseName&&EnterpriseJoinName&&EnterprisePhone&&EnterpriseId&&EnterpriseRooter&&userName&&userPhone&&userId&&userPhoto&&mer_type&&mer_storeType ) {
|
||||||
if(isVeteran&&!isVeteranPhoto){
|
if(isVeteran&&!isVeteranPhoto){
|
||||||
return
|
return
|
||||||
}else if (isFlagshipStore&&!isFlagshipStorePhoto){
|
}else if (isFlagshipStore&&!isFlagshipStorePhoto){
|
||||||
|
@ -497,7 +499,6 @@
|
||||||
com:{
|
com:{
|
||||||
name:EnterpriseName,
|
name:EnterpriseName,
|
||||||
type:EnterpriseType,
|
type:EnterpriseType,
|
||||||
service:EnterpriseServicePhone,
|
|
||||||
contact:EnterpriseJoinName,
|
contact:EnterpriseJoinName,
|
||||||
mobile:EnterprisePhone,
|
mobile:EnterprisePhone,
|
||||||
number:EnterpriseId,
|
number:EnterpriseId,
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<view class="uni-list">
|
<view class="uni-list">
|
||||||
<view class="uni-list-cell">
|
<view class="uni-list-cell">
|
||||||
<view class="uni-list-cell-db acea-row row-middle">
|
<view class="uni-list-cell-db acea-row row-middle">
|
||||||
<text class="item-name required">身份证正反面上传</text>
|
<text class="item-name required">身份证正、反面清晰照片</text>
|
||||||
<view class="">
|
<view class="">
|
||||||
{{shopInfo.idCardPhoto.length}}/2
|
{{shopInfo.idCardPhoto.length}}/2
|
||||||
</view>
|
</view>
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
</view>
|
</view>
|
||||||
<view class="item">
|
<view class="item">
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="item-name required" >法人名称</text>
|
<text class="item-name required" >法人姓名</text>
|
||||||
<input type="text" style="text-align: right;flex:1;" maxlength="30" placeholder="请输入" v-model="shopInfo.idCardName" @input="validateBtn" placeholder-class='placeholder' />
|
<input type="text" style="text-align: right;flex:1;" maxlength="30" placeholder="请输入" v-model="shopInfo.idCardName" @input="validateBtn" placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
|
|
|
@ -29,7 +29,7 @@
|
||||||
<view class="uni-list">
|
<view class="uni-list">
|
||||||
<view class="uni-list-cell">
|
<view class="uni-list-cell">
|
||||||
<view class="uni-list-cell-db acea-row row-middle">
|
<view class="uni-list-cell-db acea-row row-middle">
|
||||||
<text class="item-name required">银行卡正反面上传</text>
|
<text class="item-name required" style="width: 560rpx;">开户许可证(或基本存款账户信息)</text>
|
||||||
<view class="">
|
<view class="">
|
||||||
{{shopInfo.bankCardImg.length}}/1
|
{{shopInfo.bankCardImg.length}}/1
|
||||||
</view>
|
</view>
|
||||||
|
@ -43,8 +43,8 @@
|
||||||
<text class='iconfont icon-guanbi1' @click.stop='DelPic(shopInfo.bankCardImg,index)'></text>
|
<text class='iconfont icon-guanbi1' @click.stop='DelPic(shopInfo.bankCardImg,index)'></text>
|
||||||
</view>
|
</view>
|
||||||
<view class='pictrue acea-row row-center-wrapper row-column' @click='uploadpic(shopInfo.bankCardImg)' v-if="shopInfo.bankCardImg.length < 1">
|
<view class='pictrue acea-row row-center-wrapper row-column' @click='uploadpic(shopInfo.bankCardImg)' v-if="shopInfo.bankCardImg.length < 1">
|
||||||
<text class='iconfont icon-icon25201' style="left: 25px;top: 10px;"></text>
|
<text class='iconfont icon-icon25201' style="left: 25px;top: 25px;"></text>
|
||||||
<view>银行卡正面</view>
|
<!-- <view>银行卡正面</view> -->
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
@ -56,7 +56,7 @@
|
||||||
<input type="text" style="text-align: right;flex:1;" placeholder="请输入" v-model="shopInfo.bankCardUserName" @input="validateBtn" placeholder-class='placeholder' />
|
<input type="text" style="text-align: right;flex:1;" placeholder="请输入" v-model="shopInfo.bankCardUserName" @input="validateBtn" placeholder-class='placeholder' />
|
||||||
</view>
|
</view>
|
||||||
<view class="acea-row row-middle">
|
<view class="acea-row row-middle">
|
||||||
<text class="tips-text" >(户名需手动填写)</text>
|
<text class="tips-text" >提示:请核验信息是否正确</text>
|
||||||
</view>
|
</view>
|
||||||
</view>
|
</view>
|
||||||
|
|
||||||
|
|
Binary file not shown.
After Width: | Height: | Size: 2.4 KiB |
Loading…
Reference in New Issue