This commit is contained in:
yangtao 2024-04-10 14:49:12 +08:00
parent 7f02ae77ee
commit fac11cf52e
4 changed files with 33 additions and 32 deletions

View File

@ -27,7 +27,7 @@
<view class='list'>
<view class="item">
<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="请输入"
v-model="shopInfo.shopName" @input="validateBtn" placeholder-class='placeholder' />
</view>
@ -35,19 +35,19 @@
<text class="tips-text">(需与营业执照企业名称一致)</text>
</view>
</view>
<view class="item">
<!-- <view class="item">
<view class="uni-list">
<view class="uni-list-cell">
<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">
<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>
</picker>
</view>
</view>
</view>
</view>
</view> -->
<!-- <view class="item">
<view class="uni-list">
<view class="uni-list-cell">
@ -95,6 +95,7 @@
type="text" readonly disabled v-model="shopInfo.businessAddress">
<view class='iconfont icon-jiantou'></view>
</view>
</view>
</view>
</view>
@ -116,6 +117,9 @@
v-model="shopInfo.EnterpriseName" @input="validateBtn"
placeholder-class='placeholder' />
</view>
<view class="acea-row row-middle">
<text class="tips-text">(需与营业执照企业名称一致)</text>
</view>
</view>
<view class="item">
<view class="uni-list">
@ -134,10 +138,12 @@
</view>
<view class="item">
<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.EnterpriseServicePhone" @input="validateBtn"
placeholder-class='placeholder' />
v-model="shopInfo.EnterpriseId" @input="validateBtn" placeholder-class='placeholder' />
</view>
<view class="acea-row row-middle">
<text class="tips-text">请填写铸源商城ZY开头会员编号</text>
</view>
</view>
<view class="item">
@ -158,9 +164,12 @@
</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.EnterpriseId" @input="validateBtn" placeholder-class='placeholder' />
<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 class="acea-row row-middle">
<text class="tips-text">请填写铸源商城ZY开头会员编号</text>
</view>
</view>
<view class="item">
@ -172,18 +181,12 @@
</view>
<view class="item">
<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="validateBtn" placeholder-class='placeholder' />
</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="uni-list">
<view class="uni-list-cell">
@ -366,7 +369,6 @@
businessAddress: '',
businessAddressDetail: '',
EnterpriseType: '',
EnterpriseServicePhone: '',
EnterpriseName: '',
EnterpriseJoinName: '',
EnterprisePhone: '',
@ -436,11 +438,11 @@
let com=resData.com;
let biz=resData.biz;
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={
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();
})
@ -477,12 +479,12 @@
},
validateBtn() {
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;
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){
return
}else if (isFlagshipStore&&!isFlagshipStorePhoto){
@ -497,7 +499,6 @@
com:{
name:EnterpriseName,
type:EnterpriseType,
service:EnterpriseServicePhone,
contact:EnterpriseJoinName,
mobile:EnterprisePhone,
number:EnterpriseId,

View File

@ -29,7 +29,7 @@
<view class="uni-list">
<view class="uni-list-cell">
<view class="uni-list-cell-db acea-row row-middle">
<text class="item-name required">身份证正反面上传</text>
<text class="item-name required">身份证正反面清晰照片</text>
<view class="">
{{shopInfo.idCardPhoto.length}}/2
</view>
@ -56,7 +56,7 @@
</view>
<view class="item">
<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' />
</view>
<view class="acea-row row-middle">

View File

@ -29,7 +29,7 @@
<view class="uni-list">
<view class="uni-list-cell">
<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="">
{{shopInfo.bankCardImg.length}}/1
</view>
@ -43,8 +43,8 @@
<text class='iconfont icon-guanbi1' @click.stop='DelPic(shopInfo.bankCardImg,index)'></text>
</view>
<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>
<view>银行卡正面</view>
<text class='iconfont icon-icon25201' style="left: 25px;top: 25px;"></text>
<!-- <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' />
</view>
<view class="acea-row row-middle">
<text class="tips-text" >(户名需手动填写)</text>
<text class="tips-text" >提示请核验信息是否正确</text>
</view>
</view>

BIN
static/images/jf.png Normal file

Binary file not shown.

After

Width:  |  Height:  |  Size: 2.4 KiB