Commit d7a3157b authored by 14699's avatar 14699

fix:绑定校验调整

parent 4b200448
......@@ -11,5 +11,5 @@ module.exports = {
ocrPath:'"http://210.12.156.64:9090/r/api"',
fileUploadSvcPath:'"http://210.12.156.64:9090/r/api/app/fileUploadSvc?sysName=XCMG_UAT&apiName="',
appId: '"com.xcmg.app.dev"',
currentVersion: '"3.7.0"'
currentVersion: '"3.7.1"'
}
......@@ -1210,8 +1210,13 @@ export default {
// vm.hlsPopup.showLongCenter('业务办理市不能为空!')
// return
// }
if (!vm.baseInfo.capital) {
vm.hlsPopup.showLongCenter('资产信息不能为空!')
// 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 key1 in vm.lastInfo) {
......@@ -1251,48 +1256,48 @@ export default {
case 'business_address':
vm.hlsPopup.showLongCenter('经营地址未填写')
break
case 'id_card_no':
vm.hlsPopup.showLongCenter('身份证未填写')
break
case 'cell_phone':
vm.hlsPopup.showLongCenter('手机号未填写')
break
case 'living_address':
vm.hlsPopup.showLongCenter('联系地址未填写')
break
case 'bp_legal_name':
vm.hlsPopup.showLongCenter('法定代表人姓名未填写')
break
case 'id_card_date_from':
vm.hlsPopup.showLongCenter('身份证有效期从未填写')
break
case 'id_card_date_to':
vm.hlsPopup.showLongCenter('身份证有效期到未填写')
break
case 'auth_person_name':
vm.hlsPopup.showLongCenter('授权人姓名未填写')
break
case 'auth_person_id_card':
vm.hlsPopup.showLongCenter('授权人身份证号未填写')
break
case 'auth_cell_phone':
vm.hlsPopup.showLongCenter('授权人手机号未填写')
break
case 'auth_id_card_date_from':
vm.hlsPopup.showLongCenter('授权人身份证有效期从未填写')
break
case 'auth_id_card_date_to':
vm.hlsPopup.showLongCenter('授权人身份证有效期到未填写')
break
// case 'id_card_no':
// vm.hlsPopup.showLongCenter('身份证未填写')
// break
// case 'cell_phone':
// vm.hlsPopup.showLongCenter('手机号未填写')
// break
// case 'living_address':
// vm.hlsPopup.showLongCenter('联系地址未填写')
// break
// case 'bp_legal_name':
// vm.hlsPopup.showLongCenter('法定代表人姓名未填写')
// break
// case 'id_card_date_from':
// vm.hlsPopup.showLongCenter('身份证有效期从未填写')
// break
// case 'id_card_date_to':
// vm.hlsPopup.showLongCenter('身份证有效期到未填写')
// break
// case 'auth_person_name':
// vm.hlsPopup.showLongCenter('授权人姓名未填写')
// break
// case 'auth_person_id_card':
// vm.hlsPopup.showLongCenter('授权人身份证号未填写')
// break
// case 'auth_cell_phone':
// vm.hlsPopup.showLongCenter('授权人手机号未填写')
// break
// case 'auth_id_card_date_from':
// vm.hlsPopup.showLongCenter('授权人身份证有效期从未填写')
// break
// case 'auth_id_card_date_to':
// vm.hlsPopup.showLongCenter('授权人身份证有效期到未填写')
// break
case 'user_phone':
vm.hlsPopup.showLongCenter('您还未登录')
break
case 'auth_person_position':
vm.hlsPopup.showLongCenter('公司职务未填写')
break
case 'auth_person_matter':
vm.hlsPopup.showLongCenter('授权事项未填写')
break
// case 'auth_person_position':
// vm.hlsPopup.showLongCenter('公司职务未填写')
// break
// case 'auth_person_matter':
// vm.hlsPopup.showLongCenter('授权事项未填写')
// break
default:
vm.msg_flag = true
break
......
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