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
153ff078
Commit
153ff078
authored
Nov 20, 2019
by
25484
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix]sbo修改
parent
08a7721b
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
18 additions
and
21 deletions
+18
-21
hls_bp_master_modify.lview
...ain/webapp/modules/hls/HLS214N/hls_bp_master_modify.lview
+18
-21
No files found.
src/main/webapp/modules/hls/HLS214N/hls_bp_master_modify.lview
View file @
153ff078
...
...
@@ -25,7 +25,7 @@
<!-- type="text/javascript"></script>-->
<script
type=
"text/javascript"
>
<![CDATA[
//保存前调用
//
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_before_submit'] = function(ds, record) {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_before_submit'] = function(ds, record) {
// window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
// var bp_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master');
// debugger
...
...
@@ -40,7 +40,22 @@
// return;
// }
// }
// };
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master');
var bp_record = $(ds_id).getCurrentRecord();
if(old_id_card != new_id_card){
bp_record.set('id_card_no_change_flag','Y');
}else{
bp_record.set('id_card_no_change_flag','N');
}
if(old_bp_name != new_bp_name){
bp_record.set('bp_name_change_flag','Y');
}else{
record.set('bp_name_change_flag','N');
}
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
};
function CheckSocialCreditCode(Code) {
...
...
@@ -81,15 +96,13 @@
//保存submitsuccess调用
window['${/parameter/@layout_code}_on_layout_dynamic_submitsuccess'] = function(ds, record, res, bp_seq) {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'prj_cdd_item_doc_ref');
var bp_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_bp_master');
var records = $(ds_id);
if (!(records == 'undefined' || records == null)) {
$(ds_id).query();
}
// 简称校验
// debugger;
// var Pattern = /^[A-Za-z]+$/;
...
...
@@ -101,22 +114,6 @@
// }
// }
var bp_record = $(bp_ds_id).getCurrentRecord();
if(old_id_card != new_id_card){
record.set('id_card_no_change_flag','Y');
}else{
record.set('id_card_no_change_flag','N');
}
if(old_bp_name != new_bp_name){
record.set('bp_name_change_flag','Y');
}else{
record.set('bp_name_change_flag','N');
}
// Leaf.request({
// url: $('hls214_sap_eai_create_customer_link').getUrl(),
// para: {
...
...
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