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
40ab5495
Commit
40ab5495
authored
Sep 30, 2019
by
Spencer Chang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[fix] 回款账户校验不能重复
parent
61fe0279
Changes
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
25 additions
and
7 deletions
+25
-7
hls_con_contract_change_detail.lview
.../modules/cont/CON731/hls_con_contract_change_detail.lview
+25
-7
No files found.
src/main/webapp/modules/cont/CON731/hls_con_contract_change_detail.lview
View file @
40ab5495
...
...
@@ -186,13 +186,31 @@
//
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
//
return;
//
}
//
回款賬戶變更
if('${/parameter/@layout_code}'
==
'CON_ACCOUNT_CHANGE_MODIFY'){
var
bank_account_num_s =
req_record.get('bank_account_num_s');
var
bank_account_num_c =
req_record.get('bank_account_num_c');
if(
bank_account_num_s =
=
bank_account_num_c){
Leaf.showMessage('警告',
'现扣款账号和原扣款账号不能重复!');
return;
}else{
$('${/parameter/@layout_code}_submit_approval').disable();
$('${/parameter/@layout_code}_save').disable();
if('${/parameter/@layout_code}'
==
'CON_CHANGE_MODIFY')
{
if
('${/parameter/@layout_code}'
==
'CON_CHANGE_MODIFY')
{
$('${/parameter/@layout_code}_quote').disable();
}
$('${/parameter/@layout_code}_user_button1').disable();
setTimeout(window['${/parameter/@layout_code}_SAVE_LAYOUT_DYNAMIC_CLICK'](con731_submit),
2000);
}
}else
{
$('${/parameter/@layout_code}_submit_approval').disable();
$('${/parameter/@layout_code}_save').disable();
if
('${/parameter/@layout_code}'
==
'CON_CHANGE_MODIFY')
{
$('${/parameter/@layout_code}_quote').disable();
}
$('${/parameter/@layout_code}_user_button1').disable();
setTimeout(window['${/parameter/@layout_code}_SAVE_LAYOUT_DYNAMIC_CLICK'](con731_submit),
2000);
}
}
else
{
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
}
...
...
@@ -485,7 +503,7 @@
}
}else if (name == 'description') {
if (record.get('important_flag') == 'Y') {
return '
<
font
color=
"RED"
>
' + value + '
</font
>
';
return '
<
span
style=
"color: RED; "
>
' + value + '
</span
>
';
}
return value;
}
...
...
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