Commit d7a3157b authored by 14699's avatar 14699

fix:绑定校验调整

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