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
864a54d9
Commit
864a54d9
authored
Jun 15, 2023
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
茂甲控制保证金上线问题修复
parent
bfa2368b
Changes
2
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
6 deletions
+5
-6
con_re_incept_modify.lview
...in/webapp/modules/cont/CON3200/con_re_incept_modify.lview
+2
-2
csh_bank_recoi_margin_check.lview
...app/modules/csh/CSH531F/csh_bank_recoi_margin_check.lview
+3
-4
No files found.
src/main/webapp/modules/cont/CON3200/con_re_incept_modify.lview
View file @
864a54d9
...
@@ -607,9 +607,9 @@
...
@@ -607,9 +607,9 @@
Leaf.showMessage('${l:PROMPT}', '${l:HLS.EXECUTE_AFTER_SAVE}');
Leaf.showMessage('${l:PROMPT}', '${l:HLS.EXECUTE_AFTER_SAVE}');
return;
return;
}
}
debugger;
if ($(ds_id).validate()) {
if ($(ds_id).validate()) {
debugger;
if('${/model/wfl_status/record/@mar_status}' == 'Y' || Ext.isEmpty('${/model/wfl_status/record/@mar_status}')){
if('${/model/wfl_status/record/@mar_status}' == 'Y'){
if(record.get('division')=='70'
&&
record.get('write_off_amount')
<record.get
('customer_margin')){
if(record.get('division')=='70'
&&
record.get('write_off_amount')
<record.get
('customer_margin')){
Leaf.showMessage('${l:PROMPT}',
'铁甲业务需要保证金入账后才能起租');
Leaf.showMessage('${l:PROMPT}',
'铁甲业务需要保证金入账后才能起租');
return;
return;
...
...
src/main/webapp/modules/csh/CSH531F/csh_bank_recoi_margin_check.lview
View file @
864a54d9
...
@@ -47,18 +47,20 @@
...
@@ -47,18 +47,20 @@
//自定义提交审批保存
//自定义提交审批保存
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() {
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() {
debugger;
window['${/parameter/@bp_seq}${/parameter/@layout_code}_lock_layout_dynamic_window']();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_lock_layout_dynamic_window']();
var ds_id = 'MARGIN_CHECK_F_QUERY_csh_margin_check_ds';
var ds_id = 'MARGIN_CHECK_F_QUERY_csh_margin_check_ds';
var ds_result_id = 'MARGIN_CHECK_F_RESULT_csh_margin_check_ds';
var ds_result_id = 'MARGIN_CHECK_F_RESULT_csh_margin_check_ds';
var record=$(ds_id).getCurrentRecord();
var record=$(ds_id).getCurrentRecord();
var params = record.data;
var params = record.data;
var marAfterStatus= params.mar_after_status;
var marAfterStatus= params.mar_after_status;
var beforStatus=params.mar_before_status;
if(Ext.isEmpty(marAfterStatus)){
if(Ext.isEmpty(marAfterStatus)){
Leaf.showErrorMessage('提示', '修改后茂甲保证金校验状态不能为空!');
Leaf.showErrorMessage('提示', '修改后茂甲保证金校验状态不能为空!');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return false;
return false;
}
}
if (marAfterStatus == '${/model/wfl_status/record/@mar_status}') {
if (marAfterStatus == '${/model/wfl_status/record/@mar_status}'
|| marAfterStatus == beforStatus
) {
Leaf.showErrorMessage('提示', '请选择与修改前茂甲保证金校验不同的状态');
Leaf.showErrorMessage('提示', '请选择与修改前茂甲保证金校验不同的状态');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return false;
return false;
...
@@ -80,9 +82,6 @@
...
@@ -80,9 +82,6 @@
url: $('${/parameter/@layout_code}_csh531_margin_check_save_link_id').getUrl(),
url: $('${/parameter/@layout_code}_csh531_margin_check_save_link_id').getUrl(),
para: params,
para: params,
success: function(res) {
success: function(res) {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
debugger;
window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
var marginCheckId=res.result.margin_check_id;
var marginCheckId=res.result.margin_check_id;
Leaf.request({
Leaf.request({
url: $('${/parameter/@layout_code}_csh531_margin_check_submit_link_id').getUrl(),
url: $('${/parameter/@layout_code}_csh531_margin_check_submit_link_id').getUrl(),
...
...
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