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
a5a75bf2
Commit
a5a75bf2
authored
Nov 18, 2019
by
25484
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix]商业伙伴修改
parent
a63926fa
Changes
1
Show 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 @
a5a75bf2
...
...
@@ -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