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
ba737a56
Commit
ba737a56
authored
Jun 08, 2023
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
茂甲控制保证金测试问题修复
parent
bcc2de2f
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
11 additions
and
6 deletions
+11
-6
csh_bank_recoi_margin_check.lview
...app/modules/csh/CSH531F/csh_bank_recoi_margin_check.lview
+11
-6
No files found.
src/main/webapp/modules/csh/CSH531F/csh_bank_recoi_margin_check.lview
View file @
ba737a56
...
...
@@ -48,12 +48,12 @@
// 提交审批
window['${/parameter/@layout_code}_user_button
1
_layout_dynamic_click'] = function() {
window['${/parameter/@layout_code}_user_button
2
_layout_dynamic_click'] = function() {
var ds_id = 'MARGIN_CHECK_F_RESULT_csh_margin_check_ds';
var record= $(ds_id).getSelected()[0];
var marginId=record.get('margin_check_id');
var wflStatus=record.
get('wflStatus')
;
if(wflStatus == 'APPROVING' || wflStatus == 'APPROVED'){
var wflStatus=record.
data.wfl_status
;
if(wflStatus == 'APPROVING' || wflStatus == 'APPROVED'
|| wflStatus == 'REJECT'
){
Leaf.showErrorMessage('提示', '只有新建的单据才可以提交审批');
return false;
}
...
...
@@ -84,15 +84,20 @@
}
//自定义保存
window['${/parameter/@layout_code}_user_button
2
_layout_dynamic_click'] = function() {
window['${/parameter/@layout_code}_user_button
1
_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(Ext.isEmpty(marAfterStatus)){
Leaf.showErrorMessage('提示', '修改后茂甲保证金校验状态不能为空!');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return false;
}
if (marAfterStatus == '${/model/wfl_status/record/@mar_status}') {
Leaf.showErrorMessage('提示', '
修改前的状态和修改后的状态不能一样
');
Leaf.showErrorMessage('提示', '
请选择与修改前茂甲保证金校验不同的状态
');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return false;
}
...
...
@@ -101,7 +106,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') {
Leaf.showErrorMessage('提示', '
必须审批通过后才可以
新建');
Leaf.showErrorMessage('提示', '
当前系统中已有新建/审批中单据,请审批结束后再
新建');
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return false;
}
...
...
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