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
b06dbba3
Commit
b06dbba3
authored
Jan 19, 2024
by
38823
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
资产管理费对账功能开发
parent
7fb181ab
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
135 additions
and
1 deletion
+135
-1
csh_asset_wfl.lwm
...main/webapp/WEB-INF/classes/csh/CSH1500/csh_asset_wfl.lwm
+63
-0
layout_config.js
...ebapp/WEB-INF/server-script/layoutconfig/layout_config.js
+2
-1
csh_asset_batch.lsc
src/main/webapp/modules/csh/CSH1500/csh_asset_batch.lsc
+14
-0
csh_asset_reconciliation.lview
...webapp/modules/csh/CSH1500/csh_asset_reconciliation.lview
+56
-0
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH1500/csh_asset_wfl.lwm
0 → 100644
View file @
b06dbba3
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: 38823
$Date: 2022-01-19
$Revision: 1
$Purpose:
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"insert"
>
<bm:parameters>
<bm:parameter
name=
"batch_id"
output=
"true"
outputPath=
"@batch_id"
/>
</bm:parameters>
<bm:update-sql>
<![CDATA[
declare
v_batch_id hl_asset_manage_fee_batch.batch_id%TYPE := hl_asset_manage_fee_batch_s.nextval;
begin
${@batch_id} := v_batch_id;
insert into hl_asset_manage_fee_batch
(batch_id,
wfl_instance_id,
wfl_status,
created_by,
creation_date,
last_updated_by,
last_update_date,
submit_date,
approved_date,
payment_req_id)
values
(v_batch_id,
null,
null,
${/session/@user_id},
sysdate,
${/session/@user_id},
sysdate,
null,
null,
null
);
end;
]]>
</bm:update-sql>
</bm:operation>
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
update hl_asset_manage_fee t1
set t1.batch_id =${/parameter/@batch_id},
t1.last_updated_by = ${/session/@user_id},
t1.last_update_date = sysdate
where t1.fee_id = ${@fee_id}
]]>
</bm:update-sql>
</bm:operation>
<bm:operation
name=
"execute"
>
<bm:update-sql>
<![CDATA[
begin
hl_asset_manage_fee_pkg.asset_fee_wfl_start(p_batch_id =>
${/parameter/@batch_id},
p_user_id =>${/session/@user_id});
end;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/WEB-INF/server-script/layoutconfig/layout_config.js
View file @
b06dbba3
...
@@ -346,5 +346,6 @@ var enableLayoutConfig = {
...
@@ -346,5 +346,6 @@ var enableLayoutConfig = {
'modules/inv/INV100/inv_payment_wfl.lview'
:
true
,
'modules/inv/INV100/inv_payment_wfl.lview'
:
true
,
'modules/inv/INV100/inv_payment_detail.lview'
:
true
,
'modules/inv/INV100/inv_payment_detail.lview'
:
true
,
'modules/inv/INV100/inv_payment_wfl_detail.lview'
:
true
,
'modules/inv/INV100/inv_payment_wfl_detail.lview'
:
true
,
'modules/hls/HLS303/bp_asset_create.lview'
:
true
'modules/hls/HLS303/bp_asset_create.lview'
:
true
,
'modules/csh/CSH1500/csh_asset_reconciliation.lview'
:
true
};
};
\ No newline at end of file
src/main/webapp/modules/csh/CSH1500/csh_asset_batch.lsc
0 → 100644
View file @
b06dbba3
<?xml version="1.0" encoding="UTF-8"?>
<a:service
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:p=
"uncertain.proc"
trace=
"true"
>
<a:init-procedure>
<p:echo></p:echo>
<a:model-insert
model=
"csh.CSH1500.csh_asset_wfl"
trace=
"true"
/>
<a:batch-apply
sourcepath=
"/parameter"
>
<a:model-update
model=
"csh.CSH1500.csh_asset_wfl"
trace=
"true"
/>
</a:batch-apply>
<a:model-execute
model=
"csh.CSH1500.csh_asset_wfl"
trace=
"true"
/>
</a:init-procedure>
<a:service-output
output=
"/parameter"
/>
</a:service>
src/main/webapp/modules/csh/CSH1500/csh_asset_reconciliation.lview
0 → 100644
View file @
b06dbba3
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: 38823
$Date: 2023-01-18
$Revision: 1.0
$purpose: 资产管理费对账
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
xmlns:s=
"leaf.plugin.script"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:init-procedure>
</a:init-procedure>
<a:view>
<a:link
id=
"con_contract_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"asset_check_wfl_link_id"
url=
"${/request/@context_path}/modules/csh/CSH1500/csh_asset_batch.lsc"
/>
<script
type=
"text/javascript"
>
<![CDATA[
//提交审批
window['${/parameter/@layout_code}_submit_approval_layout_dynamic_click'] = function() {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hl_asset_manage_fee');
var records = $(ds_id).getSelected();
var ParaData = [];
if(records.length ==0){
$L.showMessage("提示",'请至少选择一条数据!');
return;
}
for(var i=0; i<records.length;i++){
if(records[i].data.wfl_status == 'APPROVING' || records[i].data.wfl_status == 'APPROVED'){
$L.showMessage("提示",'请选择新建或者审批拒绝的单据!');
return;;
}
records[i].set('_status','execute');
ParaData.push(records[i].data);
}
Leaf.showConfirm('${l:PROMPT}', '确认提交资产管理费对账工作流?', function () {
Leaf.request({
url: $('asset_check_wfl_link_id').getUrl(),
para: ParaData,
success: function () {
Leaf.SideBar.show({
msg: '提交成功',
duration: 2000
});
$(ds_id).query();
},
scope: this
});
}, function () {
}, null, null);
};
]]>
</script>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
</a:view>
</a:screen>
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