Commit b775174e authored by jiacheng.mao's avatar jiacheng.mao

用户绑定界面,注册资本,资产信息字段调整

parent 2a9defad
......@@ -203,6 +203,10 @@
@input="addRowsLive(baseInfo.living_address)"
/>
</item>
<item>
<div slot="name" class="required">资产信息</div>
<input slot="content" v-model="baseInfo.capital" placeholder="请输入资产信息" >
</item>
<item :showArrow="true">
<div slot="name" class="required">学历</div>
<input
......@@ -1020,6 +1024,8 @@ export default {
vm.hlsPopup.showLongCenter('业务办理省不能为空!')
} else if (!vm.baseInfo.city_name) {
vm.hlsPopup.showLongCenter('业务办理市不能为空!')
} else if (!vm.baseInfo.capital) {
vm.hlsPopup.showLongCenter('资产信息不能为空!')
} else if (!vm.baseInfo.academic_background) {
vm.hlsPopup.showLongCenter('学历不能为空!')
} else if (!vm.baseInfo.marital_status && (((vm.baseInfo.bp_type === 'TENANT' || vm.baseInfo.bp_type === 'GUTA') && !vm.multipleRole) || vm.multipleRole === 'TENANT' || vm.multipleRole === 'GUTA')) {
......
......@@ -122,7 +122,7 @@
<input
slot="content"
v-model="baseInfo.registered_capital"
placeholder="上传营业执照自动填充"
placeholder="参考格式:3000万元"
class="auto"
>
</item>
......@@ -196,6 +196,8 @@
@input="addRowsLive(baseInfo.business_address)"
/>
</item>
<div slot="name" class="required">资产信息</div>
<input slot="content" v-model="baseInfo.capital" readonly placeholder="请输入资产信息" >
<item>
<div slot="name" class="font-color">固定电话</div>
<input
......@@ -1083,6 +1085,15 @@ export default {
vm.hlsPopup.showLongCenter('业务办理市不能为空!')
return
}
if (!vm.baseInfo.capital) {
vm.hlsPopup.showLongCenter('资产信息不能为空!')
return
}
var reg = new RegExp("^[0-9]*$");
if (vm.baseInfo.registered_capital.indexOf('万元') == -1 || !reg.test(vm.baseInfo.registered_capital.replace('万元', '')) || vm.baseInfo.registered_capital.replace('万元', '').length == 0) {
vm.hlsPopup.showLongCenter('请输入正确格式的注册资本!(例如:3000万元)')
return
}
for (var key in vm.lastInfo) {
if (!vm.lastInfo[key] && key !== 'phone') {
switch (key) {
......@@ -1185,6 +1196,10 @@ export default {
vm.hlsPopup.showLongCenter('业务办理市不能为空!')
return
}
if (!vm.baseInfo.capital) {
vm.hlsPopup.showLongCenter('资产信息不能为空!')
return
}
for (var key1 in vm.lastInfo) {
if (!vm.lastInfo[key1] && key1 !== 'phone') {
console.log('key', key1)
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment