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
e82d4f98
Commit
e82d4f98
authored
Jan 11, 2023
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
手工凭证导入增加校验
parent
7388bf7c
Changes
1
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
6 additions
and
2 deletions
+6
-2
hls_journal_import_entrance.lview
...bapp/modules/hls/HLS536/hls_journal_import_entrance.lview
+6
-2
No files found.
src/main/webapp/modules/hls/HLS536/hls_journal_import_entrance.lview
View file @
e82d4f98
...
...
@@ -91,7 +91,7 @@
// 提交审批
// 可以批量提交,批量提交审批的数据在一个工作流里面,有一个批次表 存 batch_id,这里要把批量提交的数据 update batch_id
function hls536_journal_send() {
var ds_id = 'hls_journal_header_result_ds';
var ds_id = 'hls_journal_header_result_ds';
var records = $(ds_id).getSelected();
if(records.length == 0){
Leaf.showMessage('${l:PROMPT}', '未选择!');
...
...
@@ -105,6 +105,10 @@
Leaf.showMessage('提示', '审批中、审批通过的凭证不可提交审批!');
return;
}
if (!Ext.isEmpty(record.get('error_message'))){
Leaf.showMessage('提示', '凭证导入存在报错信息,不允许提交审批!');
return;
}
}
var journal_header_imp_list = [];
...
...
@@ -166,7 +170,7 @@
scope: this
});
}, null);
}
}
}
//反冲
...
...
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