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
0a27fce9
Commit
0a27fce9
authored
Jul 08, 2022
by
gzj34291
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
会计关账添加校验保证金复核审批中校验
parent
340f4635
Changes
3
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
63 additions
and
3 deletions
+63
-3
get_trans_review_status.lwm
...pp/WEB-INF/classes/csh/CSH531/get_trans_review_status.lwm
+24
-0
csh_transaction_deposit_transfer_detail.lview
..._DEPOSIT102/csh_transaction_deposit_transfer_detail.lview
+4
-0
hls_monthly_statement.lview
...ain/webapp/modules/hls/HLS801/hls_monthly_statement.lview
+35
-3
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH531/get_trans_review_status.lwm
0 → 100644
View file @
0a27fce9
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: gzj
$Date: 2022年6月14日
$Revision: 1.0
$Purpose:
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select count(1) trans_review_number
from csh_transaction_contemp t,con_contract cc
where (t.trans_review_status ='REVIEWING'
or t.trans_review_status ='REVIEWING1')
and cc.contract_id = t.source_contract_id
and cc.data_class = 'NORMAL'
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field
name=
"trans_review_number"
></bm:field>
</bm:fields>
</bm:model>
src/main/webapp/modules/cus_deposit/CUS_DEPOSIT102/csh_transaction_deposit_transfer_detail.lview
View file @
0a27fce9
...
@@ -27,6 +27,10 @@
...
@@ -27,6 +27,10 @@
var deposit_records = $('deposit_transfer_detail_result_ds').getAll();
var deposit_records = $('deposit_transfer_detail_result_ds').getAll();
var param = {};
var param = {};
var saveData = [];
var saveData = [];
if(Leaf.isEmpty(deposit_records)){
Leaf.showMessage('提示', "请完整填写划转信息");
return;
}
for (var i = 0; i < deposit_records.length; i++) {
for (var i = 0; i < deposit_records.length; i++) {
if(deposit_records[i].get('file_num') == 0){
if(deposit_records[i].get('file_num') == 0){
Leaf.showMessage('${l:PROMPT}', "请完成附件上传!");
Leaf.showMessage('${l:PROMPT}', "请完成附件上传!");
...
...
src/main/webapp/modules/hls/HLS801/hls_monthly_statement.lview
View file @
0a27fce9
...
@@ -250,7 +250,7 @@
...
@@ -250,7 +250,7 @@
// var quer_ds_1 = $('unearned_finance_income_query_ds');
// var quer_ds_1 = $('unearned_finance_income_query_ds');
// var qrec_1 = quer_ds_1.getAt(0);
// var qrec_1 = quer_ds_1.getAt(0);
// qrec_1.set('day', day);
// qrec_1.set('day', day);
// qrec_1.set('calc_end_date', value);
// qrec_1.set('calc_end_date', value);
$('unearned_finance_income_ds').setQueryParameter('calc_end_date', record.get('calc_end_date'));
$('unearned_finance_income_ds').setQueryParameter('calc_end_date', record.get('calc_end_date'));
$('unearned_finance_income_ds').query();
$('unearned_finance_income_ds').query();
}
}
...
@@ -577,13 +577,44 @@
...
@@ -577,13 +577,44 @@
}
}
function
csh_transaction_confirm()
{
function
csh_transaction_confirm()
{
//gzj
111
var
role_flag =
'${/model/sys_role_path/record/@role_code}'
;
var
role_flag =
'${/model/sys_role_path/record/@role_code}'
;
var
record =
$('csh_transaction_confirm_ds').getSelected()[0];
var
record =
$('csh_transaction_confirm_ds').getSelected()[0];
//校验是否还有未审核的保证金划转
var
trans_review_count;
$L.request({
url:
'${/request/@context_path}/autocrud/csh.CSH531.get_trans_review_status/query',
para:
{
csh_date:
record.get('csh_date')
},
sync:
true,
success:
function
(res)
{
trans_review_count=
res.result.record.trans_review_number;
},
error:
function
()
{
},
failure:
function
()
{
},
scope:
this,
sync:
true,
});
if(
trans_review_count
>
0){
$L.showMessage('提示','有复核中的保证金,请完成复核后,再进行会计关账');
return ;
}
if (role_flag == 'NO') {
if (role_flag == 'NO') {
if (record.get('csh_confirm_flag') == 'Y') {
if (record.get('csh_confirm_flag') == 'Y') {
$L.showMessage('提示', '该月收款已确认,无需再次确认');
$L.showMessage('提示', '该月收款已确认,无需再次确认');
return;
return;
}
}
$L.showConfirm('提示', '是否进行月结确认?', function () {
$L.showConfirm('提示', '是否进行月结确认?', function () {
$L.Masker.mask(Ext.getBody(), '正在确认......');
$L.Masker.mask(Ext.getBody(), '正在确认......');
$L.request({
$L.request({
...
@@ -593,8 +624,8 @@
...
@@ -593,8 +624,8 @@
csh_date: record.get('csh_date'),
csh_date: record.get('csh_date'),
role_flag: role_flag
role_flag: role_flag
},
},
success: function (args) {
success: function (args) {
debugger;
$L.Masker.unmask(Ext.getBody());
$L.Masker.unmask(Ext.getBody());
if (args.result.p_err_msg) {
if (args.result.p_err_msg) {
$L.showErrorMessage("提示", args.result.p_err_msg, null, 800, 300);
$L.showErrorMessage("提示", args.result.p_err_msg, null, 800, 300);
...
@@ -614,7 +645,8 @@
...
@@ -614,7 +645,8 @@
error: function () {
error: function () {
$L.Masker.unmask(Ext.getBody());
$L.Masker.unmask(Ext.getBody());
},
},
scope:
this
scope: this,
sync: true,
});
});
});
});
}
}
...
...
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