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
4de04feb
Commit
4de04feb
authored
Feb 28, 2025
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
月结校验开发
parent
f4a7f45f
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
164 additions
and
51 deletions
+164
-51
get_trans_review_status.lwm
...pp/WEB-INF/classes/csh/CSH531/get_trans_review_status.lwm
+1
-0
check_business_monthly.lwm
...app/WEB-INF/classes/hls/HLS801/check_business_monthly.lwm
+24
-0
hls_monthly_business.lview
...main/webapp/modules/hls/HLS801/hls_monthly_business.lview
+52
-0
hls_monthly_statement.lview
...ain/webapp/modules/hls/HLS801/hls_monthly_statement.lview
+87
-51
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH531/get_trans_review_status.lwm
View file @
4de04feb
...
@@ -16,6 +16,7 @@
...
@@ -16,6 +16,7 @@
or t.trans_review_status ='REVIEWING_OP')
or t.trans_review_status ='REVIEWING_OP')
and cc.contract_id = t.source_contract_id
and cc.contract_id = t.source_contract_id
and cc.data_class = 'NORMAL'
and cc.data_class = 'NORMAL'
and to_char(t.je_date,'yyyy-mm') = ${@csh_date}
]]>
</bm:query-sql>
]]>
</bm:query-sql>
</bm:operation>
</bm:operation>
</bm:operations>
</bm:operations>
...
...
src/main/webapp/WEB-INF/classes/hls/HLS801/check_business_monthly.lwm
0 → 100644
View file @
4de04feb
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
select dbms_lob.substr(t.err_msg) as err_msg from hls_monthy_business_log t where t.csh_date = ${@csh_date}
]]>
</bm:query-sql>
</bm:operation>
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
begin
hls_monthy_business_pkg.csh_transaction_confirm(
p_csh_date=>
${@csh_date},
p_check_flag=>${@p_check_flag}
);
end;
]]>
</bm:update-sql>
<bm:parameters>
<bm:parameter
name=
"p_check_flag"
dataType=
"java.lang.String"
input=
"false"
output=
"true"
outputPath=
"@p_check_flag"
/>
</bm:parameters>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/modules/hls/HLS801/hls_monthly_business.lview
0 → 100644
View file @
4de04feb
<?xml version="1.0" encoding="UTF-8"?>
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
trace=
"true"
>
<a:init-procedure/>
<a:view>
<a:link
id=
"prj_project_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"prj_project_link_readonly"
url=
"${/request/@context_path}/modules/prj/PRJ501N/prj_project_maintain.lview"
/>
<a:link
id=
"${/parameter/@layout_code}lease_number_query_link_prj501n"
url=
"${/request/@context_path}/modules/prj/PRJ501N/prj_project_lease_import_details.lview"
/>
<a:link
id=
"${/parameter/@layout_code}con_contract_query_link"
url=
"${/request/@context_path}/modules/cont/CON3200/con_re_incept_modify.lview"
/>
<a:link
id=
"${/parameter/@layout_code}con_contract_op_query_link"
url=
"${/request/@context_path}/modules/cont/CON3200/con_re_incept_op_modify.lview"
/>
<script
type=
"text/javascript"
>
<![CDATA[
function hls_monthly_business_ds_query() {
$('hls_monthly_business_ds').setQueryParameter('csh_date', '${/parameter/@csh_date}');
}
function win_quit() {
debugger;
$('${/parameter/@winid}').close();
}
]]>
</script>
<a:dataSets>
<a:dataSet
id=
"hls_monthly_business_ds"
autoPageSize=
"true"
autoQuery=
"true"
model=
"hls.HLS801.check_business_monthly"
>
<a:events>
<a:event
name=
"query"
handler=
"hls_monthly_business_ds_query"
/>
</a:events>
</a:dataSet>
</a:dataSets>
<a:grid
id=
"hls_monthly_business_ds_grid"
bindTarget=
"hls_monthly_business_ds"
readOnly=
"true"
Height=
"250"
Width=
"790"
navBar=
"true"
>
<a:toolBar>
<a:button
type=
"excel"
/>
</a:toolBar>
<a:columns>
<a:column
name=
"err_msg"
prompt=
"提示信息"
width=
"790"
editor=
"text_area_ta"
/>
</a:columns>
<a:editors>
<a:textArea
id=
"text_area_ta"
readOnly=
"true"
/>
</a:editors>
</a:grid>
<a:screenTopToolbar>
<a:toolbarButton
id=
"confirm_btn_id"
click=
"win_quit"
text=
"确认"
style=
"position:absolute;left:350px;"
/>
</a:screenTopToolbar>
</a:view>
</a:screen>
src/main/webapp/modules/hls/HLS801/hls_monthly_statement.lview
View file @
4de04feb
...
@@ -39,6 +39,7 @@
...
@@ -39,6 +39,7 @@
<a:link
id=
"user_main_link"
url=
"${/request/@context_path}/user_role_home_page.lview"
/>
<a:link
id=
"user_main_link"
url=
"${/request/@context_path}/user_role_home_page.lview"
/>
<a:link
id=
"csh_current_period_link"
model=
"hls.HLS801.csh_current_period_query"
modelaction=
"update"
/>
<a:link
id=
"csh_current_period_link"
model=
"hls.HLS801.csh_current_period_query"
modelaction=
"update"
/>
<a:link
id=
"csh_check_acr_link"
model=
"hls.HLS801.csh_current_period_query"
modelaction=
"execute"
/>
<a:link
id=
"csh_check_acr_link"
model=
"hls.HLS801.csh_current_period_query"
modelaction=
"execute"
/>
<a:link
id=
"csh_check_business_link"
model=
"hls.HLS801.check_business_monthly"
modelaction=
"update"
/>
<a:link
id=
"hls_tax_confirm_link"
model=
"hls.HLS801.hls_tax_act_confirm"
modelaction=
"update"
/>
<a:link
id=
"hls_tax_confirm_link"
model=
"hls.HLS801.hls_tax_act_confirm"
modelaction=
"update"
/>
<a:link
id=
"hls_tax_refresh_link"
model=
"hls.HLS801.hls_tax_act_confirm"
modelaction=
"execute"
/>
<a:link
id=
"hls_tax_refresh_link"
model=
"hls.HLS801.hls_tax_act_confirm"
modelaction=
"execute"
/>
<a:link
id=
"hls_tax_confirm_create_je_link"
<a:link
id=
"hls_tax_confirm_create_je_link"
...
@@ -50,6 +51,7 @@
...
@@ -50,6 +51,7 @@
<a:link
id=
"hls_attachment_uploadFile_id"
url=
"${/request/@context_path}/uploadFile.lview"
/>
<a:link
id=
"hls_attachment_uploadFile_id"
url=
"${/request/@context_path}/uploadFile.lview"
/>
<a:link
id=
"hls_attachment_downloadFile_id"
url=
"${/request/@context_path}/downloadFile.lview"
/>
<a:link
id=
"hls_attachment_downloadFile_id"
url=
"${/request/@context_path}/downloadFile.lview"
/>
<a:link
id=
"hls_attachment_uploadonlyFile_id"
url=
"${/request/@context_path}/uploadonlyFile.lview"
/>
<a:link
id=
"hls_attachment_uploadonlyFile_id"
url=
"${/request/@context_path}/uploadonlyFile.lview"
/>
<a:link
id=
"hls_business_logs_link_id"
url=
"${/request/@context_path}/modules/hls/HLS801/hls_monthly_business.lview"
/>
<a:link
id=
"con_exist_approving_id"
model=
"hls.HLS801.con_exist_approving"
modelaction=
"query"
/>
<a:link
id=
"con_exist_approving_id"
model=
"hls.HLS801.con_exist_approving"
modelaction=
"query"
/>
<a:link
id=
"gld_close_period_check_link"
model=
"db.gld_period_pkg.close_period"
modelaction=
"update"
/>
<a:link
id=
"gld_close_period_check_link"
model=
"db.gld_period_pkg.close_period"
modelaction=
"update"
/>
<script>
<![CDATA[
<script>
<![CDATA[
...
@@ -855,29 +857,30 @@
...
@@ -855,29 +857,30 @@
var
record =
$('csh_transaction_confirm_ds').getSelected()[0];
var
record =
$('csh_transaction_confirm_ds').getSelected()[0];
//校验是否还有未审核的保证金划转
//校验是否还有未审核的保证金划转
var
trans_review_count;
var
trans_review_count;
if(
role_flag =
=
'YES')
{
$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
()
{
$L.request({
},
url:
'${/request/@context_path}/autocrud/csh.CSH531.get_trans_review_status/query',
failure:
function
()
{
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,
scope:
this,
sync:
true,
sync:
true,
});
});
if(
trans_review_count
>
0){
if
(trans_review_count
>
0) {
$L.showMessage('提示','有复核中的保证金,请完成复核后,再进行会计关账');
$L.showMessage('提示', '有复核中的保证金,请完成复核后,再进行会计关账');
return ;
return;
}
}
}
...
@@ -887,38 +890,71 @@
...
@@ -887,38 +890,71 @@
$L.showMessage('提示', '该月收款已确认,无需再次确认');
$L.showMessage('提示', '该月收款已确认,无需再次确认');
return;
return;
}
}
$L.showConfirm('提示', '是否进行月结确认?', function () {
Leaf.request({
$L.Masker.mask(Ext.getBody(), '正在确认......');
url: $('csh_check_business_link').getUrl(),
$L.request({
para: {
url: $('csh_current_period_link').getUrl(),
csh_date: record.get('csh_date')
para: {
},
ref_v04: record.get('ref_v04'),
scope: this,
csh_date: record.get('csh_date'),
success: function (res) {
role_flag: role_flag
var repeat_flag = res.result.p_check_flag;
},
if (repeat_flag == 'N'){
success: function (args) {
var url_l = $('hls_business_logs_link_id').getUrl();
$L.Masker.unmask(Ext.getBody());
var hls_business_win = new Leaf.Window({
if (args.result.p_err_msg) {
id: 'hls_business_logs_detail_win',
$L.showErrorMessage("提示", args.result.p_err_msg, null, 800, 300);
url: url_l,
} else {
params: {
$L.SideBar.show({
'winid': 'hls_business_logs_detail_win',
msg: '已确认',
'csh_date': record.get('csh_date')
duration: 2000
},
title: '月结校验提示',
width: 800,
height: 300,
closeable: false
});
}else {
$L.showConfirm('提示', '是否进行月结确认?', function () {
$L.Masker.mask(Ext.getBody(), '正在确认......');
$L.request({
url: $('csh_current_period_link').getUrl(),
para: {
ref_v04: record.get('ref_v04'),
csh_date: record.get('csh_date'),
role_flag: role_flag
},
success: function (args) {
$L.Masker.unmask(Ext.getBody());
if (args.result.p_err_msg) {
$L.showErrorMessage("提示", args.result.p_err_msg, null, 800, 300);
} else {
$L.SideBar.show({
msg: '已确认',
duration: 2000
});
$('csh_transaction_confirm_ds').query();
}
},
failure: function () {
$L.Masker.unmask(Ext.getBody());
},
error: function () {
$L.Masker.unmask(Ext.getBody());
},
scope: this,
sync: true,
});
});
$('csh_transaction_confirm_ds').query();
});
}
}
},
failure: function () {
},
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
failure: function () {
},
$L.Masker.unmask(Ext.getBody());
error: function () {
},
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
error: function () {
}
$L.Masker.unmask(Ext.getBody());
},
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