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
ef4ee325
Commit
ef4ee325
authored
Jun 05, 2023
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
茂甲控制保证金页面优化
parent
416ed6d3
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
5 additions
and
1 deletion
+5
-1
csh_bank_recoi_margin_check.lview
...app/modules/csh/CSH531F/csh_bank_recoi_margin_check.lview
+5
-1
No files found.
src/main/webapp/modules/csh/CSH531F/csh_bank_recoi_margin_check.lview
View file @
ef4ee325
...
...
@@ -85,12 +85,14 @@
//自定义保存
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function() {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_lock_layout_dynamic_window']();
var ds_id = 'MARGIN_CHECK_F_QUERY_csh_margin_check_ds';
var ds_result_id = 'MARGIN_CHECK_F_RESULT_csh_margin_check_ds';
var record=$(ds_id).getCurrentRecord();
var params = record.data;
var marAfterStatus= params.mar_after_status;
if (marAfterStatus == '${/model/wfl_status/record/@mar_status}') {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
Leaf.showErrorMessage('提示', '修改前的状态和修改后的状态不能一样');
return false;
}
...
...
@@ -99,6 +101,7 @@
if (record.length != 1) {
for (var i = 0; i < record.length; i++) {
if (record[i].get('wfl_status') == 'NEW' || record[i].get('wfl_status') == 'APPROVING') {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
Leaf.showErrorMessage('提示', '必须审批通过后才可以新建');
return false;
}
...
...
@@ -116,6 +119,8 @@
});
var ds_result_id = 'MARGIN_CHECK_F_RESULT_csh_margin_check_ds';
$(ds_result_id).query();
$(ds_id).query();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
failure: function() {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
...
...
@@ -125,7 +130,6 @@
},
scope: this
});
$(ds_id).query();
}
]]>
</script>
...
...
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