Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
L
leaf-hlcm
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
hlcm
leaf-hlcm
Commits
0188b97c
Commit
0188b97c
authored
Nov 18, 2019
by
lijingjing
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' of
https://hel.hand-china.com/hlcm/leaf-hlcm
into feature/agent
parents
439893d0
a5a75bf2
Pipeline
#3049
canceled with stages
Changes
1
Pipelines
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
28 additions
and
16 deletions
+28
-16
hls_bp_master_create.lview
...ain/webapp/modules/hls/HLS213N/hls_bp_master_create.lview
+28
-16
No files found.
src/main/webapp/modules/hls/HLS213N/hls_bp_master_create.lview
View file @
0188b97c
...
...
@@ -587,7 +587,19 @@
//自动带出籍贯
record.set('resident_addres', get_native_place(value))
}
if (name == 'id_no_sp') {
if (!value) {
record.set('ccx_resmsg1', '');
}
if(record.get('card_type_sp') == 'ID_CARD'){
if (!checkCard(value)) {
Leaf.showMessage('${l:HLS.PROMPT}','配偶身份证号错误!');
return false;
}
}
// ds.fields.id_no_sp.pro.validator = id_card_no_validate;
record.set('resident_addres_sp', get_native_place(value))
}
}
var hls_bp_master_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master');
...
...
@@ -611,21 +623,21 @@
}
}
if (ds.id == gird_ds_id4 || ds.id == gird_ds_id5) {
if (name == 'id_no_sp') {
if (!value) {
record.set('ccx_resmsg1', '');
}
if(record.get('card_type_sp') == 'ID_CARD'){
if (!checkCard(value)) {
Leaf.showMessage('${l:HLS.PROMPT}','配偶身份证号错误!');
return false;
}
}
// ds.fields.id_no_sp.pro.validator = id_card_no_validate;
record.set('resident_addres_sp', get_native_place(value))
}
}
//
if (ds.id == gird_ds_id4 || ds.id == gird_ds_id5) {
//
if (name == 'id_no_sp') {
//
if (!value) {
//
record.set('ccx_resmsg1', '');
//
}
//
if(record.get('card_type_sp') == 'ID_CARD'){
//
if (!checkCard(value)) {
//
Leaf.showMessage('${l:HLS.PROMPT}','配偶身份证号错误!');
//
return false;
//
}
//
}
//
// ds.fields.id_no_sp.pro.validator = id_card_no_validate;
//
record.set('resident_addres_sp', get_native_place(value))
//
}
//
}
if(name=='marital_status'){
if(value=='30'){
record.getField('bp_name_sp').setRequired(true);
...
...
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