进件修改
This commit is contained in:
@@ -27,6 +27,7 @@
|
||||
|
||||
<up-loadmore :status="isEnd?'nomore':'loading'"></up-loadmore>
|
||||
</scroll-view>
|
||||
<!-- <view :style="{height:slotHeight+'px'}"></view> -->
|
||||
<view class="u-flex gap-20 u-m-t-30">
|
||||
<view class="u-flex-1">
|
||||
<my-button type="default" @click="close">取消</my-button>
|
||||
@@ -60,9 +61,9 @@
|
||||
|
||||
const bankInstId = defineModel('bankInstId');
|
||||
|
||||
|
||||
const bankAliasCode=defineModel('bankAliasCode')
|
||||
|
||||
|
||||
const bankAliasCode = defineModel('bankAliasCode')
|
||||
|
||||
|
||||
|
||||
const selid = ref('')
|
||||
@@ -88,12 +89,13 @@
|
||||
function submit() {
|
||||
modelValue.value = selItem.value.bankAlias
|
||||
bankInstId.value = selItem.value.bankCode
|
||||
bankAliasCode.value=selItem.value.bankAliasCode;
|
||||
bankAliasCode.value = selItem.value.bankAliasCode;
|
||||
console.log('modelValue', modelValue.value);
|
||||
console.log('bankInstId', bankInstId.value);
|
||||
show.value = false;
|
||||
|
||||
}
|
||||
|
||||
function search() {
|
||||
isEnd.value = false
|
||||
query.page = 1
|
||||
@@ -183,6 +185,11 @@
|
||||
|
||||
}
|
||||
}
|
||||
const slotHeight = ref(0)
|
||||
uni.onKeyboardHeightChange(res => {
|
||||
console.log('onKeyboardHeightChange', res.height)
|
||||
slotHeight.value = res.height
|
||||
})
|
||||
onMounted(init);
|
||||
</script>
|
||||
<style lang="scss">
|
||||
|
||||
@@ -71,7 +71,7 @@
|
||||
|
||||
const show = ref(false);
|
||||
const modelValue = defineModel();
|
||||
const bankbank_branch_name = defineModel('bankbank_branch_name', {
|
||||
const bank_branch_name = defineModel('bank_branch_name', {
|
||||
default: '',
|
||||
});
|
||||
|
||||
@@ -79,7 +79,11 @@
|
||||
|
||||
function returnLabel() {
|
||||
const findShop = list.value.find(v => v.bank_branch_id == modelValue.value)
|
||||
return findShop ? findShop.bank_branch_name : ''
|
||||
if(findShop){
|
||||
return findShop ? findShop.bank_branch_name : ''
|
||||
}else{
|
||||
return bank_branch_name.value||'请选择'
|
||||
}
|
||||
}
|
||||
const selItem = ref(null)
|
||||
|
||||
@@ -98,7 +102,7 @@
|
||||
|
||||
function submit() {
|
||||
modelValue.value = selItem.value.bank_branch_id
|
||||
bankbank_branch_name.value = selItem.value.bank_branch_name
|
||||
bank_branch_name.value = selItem.value.bank_branch_name
|
||||
show.value = false;
|
||||
}
|
||||
|
||||
|
||||
@@ -46,7 +46,7 @@
|
||||
</up-radio-group>
|
||||
</view>
|
||||
|
||||
<template v-if="form.contactPersonType=='SUPER'">
|
||||
<template v-if="true">
|
||||
<view class="form-item required">
|
||||
<view class="title"> 联系人身份证正面(国徽)</view>
|
||||
<my-upload-img v-model="form.contactIdCardFrontPic.url" :size="200"
|
||||
@@ -54,7 +54,7 @@
|
||||
|
||||
</view>
|
||||
<view class="form-item required">
|
||||
<view class="title"> 联系人身份证背面(头像)</view>
|
||||
<view class="title"> 联系人身份证反面(头像)</view>
|
||||
<my-upload-img v-model="form.contactIdCardBackPic.url" :size="200"
|
||||
@uploadSuccess="uploadSuccess($event,'IdCard','contactIdCardBackPic')"></my-upload-img>
|
||||
</view>
|
||||
|
||||
@@ -85,8 +85,8 @@
|
||||
</view>
|
||||
<view class="form-item " v-if="pro_city_area&&form.bankName">
|
||||
<view class="title"> 支行</view>
|
||||
<bankBranchList :query="bankBranchListQuery" v-model:bankBranchName="form.bankBranchName"
|
||||
v-model:bankBranchCode="form.bankBranchCode"></bankBranchList>
|
||||
<bankBranchList :query="bankBranchListQuery" v-model:bank_branch_name="form.bankBranchName"
|
||||
v-model="form.bankBranchCode"></bankBranchList>
|
||||
</view>
|
||||
<view class="form-item required">
|
||||
<view class="title"> 结算卡号</view>
|
||||
@@ -186,7 +186,7 @@
|
||||
|
||||
const regions = ref([])
|
||||
|
||||
function getRegionData(arr = []) {
|
||||
function getRegionData(arr) {
|
||||
regions.value = arr
|
||||
}
|
||||
|
||||
|
||||
@@ -15,6 +15,42 @@ export const rules = {
|
||||
alipayAccount: {
|
||||
required: true,
|
||||
errorMsg: '请填写支付宝账号',
|
||||
},
|
||||
'contactIdCardFrontPic.url': {
|
||||
required: true,
|
||||
errorMsg: '请上传联系人身份证正面',
|
||||
},
|
||||
'contactIdCardBackPic.url': {
|
||||
required: true,
|
||||
errorMsg: '联系人身份证反面',
|
||||
},
|
||||
contactName: {
|
||||
required: true,
|
||||
errorMsg: '请填写联系人姓名',
|
||||
},
|
||||
contactPersonId: {
|
||||
required: true,
|
||||
errorMsg: '请填写联系人身份证号',
|
||||
},
|
||||
contactPersonIdStartDate: {
|
||||
required: true,
|
||||
errorMsg: '请填写联系人身份证开始日期',
|
||||
},
|
||||
contactPersonIdEndDate: {
|
||||
required: true,
|
||||
errorMsg: '请填写联系人身份证到期日期',
|
||||
},
|
||||
contactPhone: {
|
||||
required: true,
|
||||
errorMsg: '请填写联系人电话',
|
||||
},
|
||||
contactAddr: {
|
||||
required: true,
|
||||
errorMsg: '请填写联系人通讯地址',
|
||||
},
|
||||
contactEmail: {
|
||||
required: true,
|
||||
errorMsg: '请填写联系人邮箱',
|
||||
}
|
||||
},
|
||||
legalPersonInfo: {
|
||||
@@ -64,26 +100,26 @@ export const rules = {
|
||||
},
|
||||
|
||||
},
|
||||
businessLicenceInfo:{
|
||||
'licensePic.url':{
|
||||
businessLicenceInfo: {
|
||||
'licensePic.url': {
|
||||
required: true,
|
||||
errorMsg:'请上传营业执照照片'
|
||||
errorMsg: '请上传营业执照照片'
|
||||
},
|
||||
licenceName:{
|
||||
licenceName: {
|
||||
required: true,
|
||||
errorMsg:'请输入营业执照全称'
|
||||
errorMsg: '请输入营业执照全称'
|
||||
},
|
||||
licenceNo:{
|
||||
licenceNo: {
|
||||
required: true,
|
||||
errorMsg:'请输入营业执照号码'
|
||||
errorMsg: '请输入营业执照号码'
|
||||
},
|
||||
licenceStartDate:{
|
||||
licenceStartDate: {
|
||||
required: true,
|
||||
errorMsg:'请选择营业执照开始日期'
|
||||
errorMsg: '请选择营业执照开始日期'
|
||||
},
|
||||
registeredAddress:{
|
||||
registeredAddress: {
|
||||
required: true,
|
||||
errorMsg:'请填写营业执照注册地址'
|
||||
errorMsg: '请填写营业执照注册地址'
|
||||
}
|
||||
},
|
||||
storeInfo: {
|
||||
|
||||
Reference in New Issue
Block a user