Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
d7a3157b
Commit
d7a3157b
authored
Jan 19, 2024
by
14699
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix:绑定校验调整
parent
4b200448
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
47 additions
and
42 deletions
+47
-42
prod.env.js
config/prod.env.js
+1
-1
baseInfo.vue
src/pages/userBindNew/org/baseInfo.vue
+46
-41
No files found.
config/prod.env.js
View file @
d7a3157b
...
@@ -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
"'
}
}
src/pages/userBindNew/org/baseInfo.vue
View file @
d7a3157b
...
@@ -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
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment