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
63e02b32
Commit
63e02b32
authored
Nov 25, 2019
by
Darming
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'feature/Optimization' into develop
parents
0a25cc98
20d54f2e
Pipeline
#3870
canceled with stages
Changes
14
Pipelines
2
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
14 changed files
with
775 additions
and
732 deletions
+775
-732
csh_write_off.lwm
...main/webapp/WEB-INF/classes/csh/CSH531N/csh_write_off.lwm
+6
-0
csh_write_off_interface.lwm
...p/WEB-INF/classes/csh/CSH531N/csh_write_off_interface.lwm
+3
-0
calc_end_date_ds.lwm
...in/webapp/WEB-INF/classes/hls/HLS801/calc_end_date_ds.lwm
+37
-0
con_finance_income.lwm
.../webapp/WEB-INF/classes/hls/HLS801/con_finance_income.lwm
+21
-16
con_unearned_finance_income.lwm
...EB-INF/classes/hls/HLS801/con_unearned_finance_income.lwm
+27
-42
hls_current_period_query.lwm
...p/WEB-INF/classes/hls/HLS801/hls_current_period_query.lwm
+26
-26
insert_tre_accrued_interest.lwm
...EB-INF/classes/hls/HLS801/insert_tre_accrued_interest.lwm
+1
-1
period_month_close.lwm
.../webapp/WEB-INF/classes/hls/HLS801/period_month_close.lwm
+1
-1
tre_finance_income_new.lwm
...app/WEB-INF/classes/hls/HLS801/tre_finance_income_new.lwm
+2
-2
tre_interest_confirm.lwm
...ebapp/WEB-INF/classes/hls/HLS801/tre_interest_confirm.lwm
+2
-2
hls_prj_customer_for_lov.lwm
.../classes/hls_acr/hls_acr5010/hls_prj_customer_for_lov.lwm
+2
-2
hls_monthly_statement.lview
...ain/webapp/modules/hls/HLS801/hls_monthly_statement.lview
+562
-566
hls_acr_ebank_input.lview
...app/modules/hls_acr/HLS_ACR5040/hls_acr_ebank_input.lview
+1
-0
hls_acr_ebank_input_detail.lview
...ules/hls_acr/HLS_ACR5040/hls_acr_ebank_input_detail.lview
+84
-74
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH531N/csh_write_off.lwm
View file @
63e02b32
...
...
@@ -96,6 +96,9 @@
t1.WRITE_OFF_DUE_AMOUNT write_off_amount,
t1.WRITE_OFF_PRINCIPAL,
t1.WRITE_OFF_INTEREST,
(select principal from con_contract_cashflow where cashflow_id = t.cashflow_id) principal,
(select interest from con_contract_cashflow where cashflow_id = t.cashflow_id) interest,
(select due_amount from con_contract_cashflow where cashflow_id = t.cashflow_id) due_amount,
(select bp_name from hls_bp_master h,con_contract c where h.bp_id = c.bp_id_tenant and c.contract_id = t1.contract_id) bp_tenant_name
from csh_write_off t1) t
#WHERE_CLAUSE#
...
...
@@ -134,6 +137,9 @@
prompt=
"CSH_WRITE_OFF.WRITE_OFF_ID"
/>
<bm:field
name=
"transaction_id"
/>
<bm:field
name=
"bp_tenant_name"
/>
<bm:field
name=
"principal"
/>
<bm:field
name=
"interest"
/>
<bm:field
name=
"due_amount"
/>
</bm:fields>
<bm:query-fields>
<bm:query-field
field=
"transaction_id"
queryOperator=
"="
/>
...
...
src/main/webapp/WEB-INF/classes/csh/CSH531N/csh_write_off_interface.lwm
View file @
63e02b32
...
...
@@ -115,6 +115,9 @@ end;
<bm:field
name=
"write_off_classification_desc"
forInsert=
"false"
forUpdate=
"false"
/>
<bm:field
name=
"bp_tenant_name"
expression=
"(select bp_name from hls_bp_master h,con_contract c where h.bp_id = c.bp_id_tenant and c.contract_id = t1.contract_id)"
forInsert=
"false"
forUpdate=
"false"
/>
<bm:field
name=
"journal_date"
databaseType=
"DATE"
datatype=
"java.util.Date"
/>
<bm:field
name=
"principal"
expression=
"(select principal from con_contract_cashflow where cashflow_id = t1.write_off_cashflow_id)"
/>
<bm:field
name=
"interest"
expression=
"(select interest from con_contract_cashflow where cashflow_id = t1.write_off_cashflow_id)"
/>
<bm:field
name=
"due_amount"
expression=
"(select due_amount from con_contract_cashflow where cashflow_id = t1.write_off_cashflow_id)"
/>
</bm:fields>
<bm:features>
<f:standard-who/>
...
...
src/main/webapp/WEB-INF/classes/hls/HLS801/calc_end_date_ds.lwm
0 → 100644
View file @
63e02b32
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: DJ
$Date: 2013-12-30 下午5:33:43
$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 * from(
SELECT
TO_CHAR(to_date(${@internal_period_num}, 'yyyymm') + (rownum - 1),'yyyy-mm-dd') calc_end_date
FROM
all_tables
WHERE
rownum <=
(SELECT
last_day(to_date(${@internal_period_num},'yyyymm')) - to_date(${@internal_period_num},'yyyymm')+1
FROM
dual
)) #WHERE_CLAUSE#
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
<bm:fields>
<bm:field
name=
"calc_end_date"
forDisplay=
"true"
forQuery=
"true"
prompt=
"截止日"
/>
<!-- <bm:field name="internal_period_num"/> -->
</bm:fields>
<bm:query-fields>
<bm:query-field
name=
"calc_end_date"
queryExpression=
"calc_end_date = ${@calc_end_date}"
/>
</bm:query-fields>
<!-- <bm:query-fields>
<bm:query-field name="internal_period_num" queryExpression="v.internal_period_num like ${@internal_period_num}"/>
</bm:query-fields> -->
</bm:model>
src/main/webapp/WEB-INF/classes/hls/HLS801/con_finance_income.lwm
View file @
63e02b32
...
...
@@ -7,42 +7,47 @@
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
>
<bm:operations>
<bm:operation
name=
"execute"
>
<
!-- <
bm:operation name="execute">
<bm:parameters>
<bm:parameter name="return_value" dataType="java.lang.String" input="false" inputPath="@return_value" output="true" outputPath="/parameter/@return_value"/>
<bm:parameter name="company_id" dataType="java.lang.Long" input="true" output="false"/>
<bm:parameter name="internal_period_num" dataType="java.lang.Long" input="true" output="false"/>
<bm:parameter name="calc_end_date" dataType="java.util.Date" input="true" output="false"/>
<bm:parameter name="user_id" dataType="java.lang.Long" input="true" output="false"/>
</bm:parameters>
<bm:update-sql><![CDATA[
declare
v_return_value varchar2(30);
begin
v_return_value := HLS_MONTHEND_PKG.con_unearned_fin_income
(
p_company_id=>
${/session/@company_id},
p_internal_period_num=>${@internal_period_num},
p_user_id=>${/session/@user_id}
);
if v_return_value ='SUCCESS' then
v_return_value := HLS_MONTHEND_PKG.con_finance_income
(
p_company_id=>${/session/@company_id},
p_internal_period_num=>${@internal_period_num},
p_user_id=>${/session/@user_id}
p_company_id =>${/session/@company_id},
p_internal_period_num =>${@internal_period_num},
p_accounting_date =>${@calc_end_date},
p_user_id =>${/session/@user_id}
);
end if;
if v_return_value ='SUCCESS' then
${@return_value} := HLS_MONTHEND_PKG.con_finance_income_je
(
p_company_id=>${/session/@company_id},
p_internal_period_num=>${@internal_period_num},
p_user_id=>${/session/@user_id}
p_company_id
=>${/session/@company_id},
p_internal_period_num
=>${@internal_period_num},
p_user_id
=>${/session/@user_id}
);
end if;
end;]]></bm:update-sql>
</bm:operation> -->
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
BEGIN
hls_monthend_new_pkg.finance_income_je_job(
p_date =>
to_date(${@calc_end_date},'YYYY-MM-DD'),
p_company_id => ${/session/@company_id},
p_user_id => ${/session/@user_id});
END;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/WEB-INF/classes/hls/HLS801/con_unearned_finance_income.lwm
View file @
63e02b32
This diff is collapsed.
Click to expand it.
src/main/webapp/WEB-INF/classes/hls/HLS801/hls_current_period_query.lwm
View file @
63e02b32
src/main/webapp/WEB-INF/classes/hls/HLS801/insert_tre_accrued_interest.lwm
View file @
63e02b32
...
...
@@ -17,7 +17,7 @@
<bm:update-sql>
<![CDATA[
begin
${@return_value_1} := HLS_MONTHEND_PKG.TRE_ACCRUED_INTEREST_MONTHLY
${@return_value_1} := HLS_MONTHEND_
NEW_
PKG.TRE_ACCRUED_INTEREST_MONTHLY
(
p_company_id=>
${/session/@company_id},
p_internal_period_num=>${@internal_period_num},
...
...
src/main/webapp/WEB-INF/classes/hls/HLS801/period_month_close.lwm
View file @
63e02b32
...
...
@@ -17,7 +17,7 @@
<bm:update-sql>
<![CDATA[
begin
${@period_return_value} := HLS_MONTHEND_PKG.period_month_close
${@period_return_value} := HLS_MONTHEND_
NEW_
PKG.period_month_close
(
p_company_id=>
${/session/@company_id},
p_internal_period_num=>${@internal_period_num},
...
...
src/main/webapp/WEB-INF/classes/hls/HLS801/tre_finance_income_new.lwm
View file @
63e02b32
...
...
@@ -18,7 +18,7 @@
declare
v_return_value varchar2(30);
begin
hls_monthend_pkg.tre_finance_confirm(
hls_monthend_
new_
pkg.tre_finance_confirm(
p_company_id=>
${/session/@company_id},
p_internal_period_num=>${@internal_period_num},
p_user_id=>${/session/@user_id}
...
...
@@ -37,7 +37,7 @@
declare
v_return_value varchar2(30);
begin
hls_monthend_pkg.tre_finance_charge_confirm(
hls_monthend_
new_
pkg.tre_finance_charge_confirm(
p_company_id=>
${/session/@company_id},
p_internal_period_num=>${@internal_period_num},
p_user_id=>${/session/@user_id}
...
...
src/main/webapp/WEB-INF/classes/hls/HLS801/tre_interest_confirm.lwm
View file @
63e02b32
...
...
@@ -18,14 +18,14 @@
declare
v_return_value varchar2(30);
begin
v_return_value := HLS_MONTHEND_PKG.tre_interest_confirm
v_return_value := HLS_MONTHEND_
NEW_
PKG.tre_interest_confirm
(
p_company_id=>
${/session/@company_id},
p_internal_period_num=>${@internal_period_num},
p_user_id=>${/session/@user_id}
);
if v_return_value ='SUCCESS' then
${@confirm_return_value} := HLS_MONTHEND_PKG.tre_accrued_interest_je
${@confirm_return_value} := HLS_MONTHEND_
NEW_
PKG.tre_accrued_interest_je
(
p_company_id=>${/session/@company_id},
p_internal_period_num=>${@internal_period_num},
...
...
src/main/webapp/WEB-INF/classes/hls_acr/hls_acr5010/hls_prj_customer_for_lov.lwm
View file @
63e02b32
...
...
@@ -18,10 +18,10 @@
<bm:field
name=
"id_card_no"
databaseType=
"VARCHAR2"
datatype=
"java.lang.String"
forDisplay=
"true"
physicalName=
"ID_CARD_NO"
prompt=
"身份证号"
/>
</bm:fields>
<bm:query-fields
>
<bm:query-field
name=
"bp_name"
queryExpression=
"hm.bp_name
=
${@bp_name}"
/>
<bm:query-field
name=
"bp_name"
queryExpression=
"hm.bp_name
like
${@bp_name}"
/>
<bm:query-field
name=
"bp_id"
queryExpression=
"hm.bp_id = ${@bp_id}"
/>
</bm:query-fields>
<bm:data-filters>
<bm:data-filter
enforceActions
=
"query"
expression=
"hm.bp_class = ${@customer_type}"
/>
<bm:data-filter
name
=
"query"
expression=
"hm.bp_class = ${@customer_type}"
/>
</bm:data-filters>
</bm:model>
src/main/webapp/modules/hls/HLS801/hls_monthly_statement.lview
View file @
63e02b32
This diff is collapsed.
Click to expand it.
src/main/webapp/modules/hls_acr/HLS_ACR5040/hls_acr_ebank_input.lview
View file @
63e02b32
...
...
@@ -85,6 +85,7 @@
// alert(record.get('output_id'));
param['output_id'] = record.get('output_hd_id');
param['payment_method'] = record.get('payment_method');
param['handle_flag'] = record.get('handle_flag');
// update panhong 20190702
if (record.get('payment_method') == 'ABC'){
param['function_code'] = 'HLS_ACR5040D';
...
...
src/main/webapp/modules/hls_acr/HLS_ACR5040/hls_acr_ebank_input_detail.lview
View file @
63e02b32
...
...
@@ -5,24 +5,34 @@
$Revision: 1.0
$Purpose:农行代扣数据导入明细
-->
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:screen
xmlns:a=
"http://www.leaf-framework.org/application"
customizationEnabled=
"true"
dynamiccreateenabled=
"true"
trace=
"true"
>
<a:init-procedure
outputPath=
"/parameter"
>
<!-- <a:model-query model="basic.hls_fnd_attribute_sequence" rootPath="header"/>
<a:import-excel header_id="${/model/header/record/@header_id}" separator="," status_field="/parameter/@ImportSuccess" template_code="ACR_EBANK" user_id="${/session/@user_id}"/>
<a:model-query defaultWhereClause="header_id=${/model/header/record/@header_id} and TEMPLATE_CODE = 'ACR_EBANK'" model="basic.hls_fnd_attribute_status" rootPath="status"/> -->
<![CDATA[
<a:model-query defaultWhereClause="header_id=${/model/header/record/@header_id} and TEMPLATE_CODE = 'ACR_EBANK'" model="basic.hls_fnd_attribute_status" rootPath="status"/> -->
<![CDATA[
]]>
</a:init-procedure>
]]>
</a:init-procedure>
<a:view>
<a:link
id=
"acr_invoice_import_update_data_link"
model=
"hls_acr.HLS_ACR5040.hls_acr_import_data_insert"
modelaction=
"update"
/>
<a:link
id=
"acr_ebank_import_link"
url=
"${/request/@context_path}/modules/hls_acr/HLS_ACR5040/hls_acr_ebank_import_upload.lview"
/>
<a:link
id=
"hls_acr_ebank_enter_link"
url=
"${/request/@context_path}/modules/hls_acr/HLS_ACR5040/hls_acr_ebank_input.lview"
/>
<a:link
id=
"acr_invoice_import_update_data_link"
model=
"hls_acr.HLS_ACR5040.hls_acr_import_data_insert"
modelaction=
"update"
/>
<a:link
id=
"acr_ebank_import_link"
url=
"${/request/@context_path}/modules/hls_acr/HLS_ACR5040/hls_acr_ebank_import_upload.lview"
/>
<a:link
id=
"hls_acr_ebank_enter_link"
url=
"${/request/@context_path}/modules/hls_acr/HLS_ACR5040/hls_acr_ebank_input.lview"
/>
<script>
<![CDATA[
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() {
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function () {
if ('${/parameter/@handle_flag}' == 'Y') {
Leaf.showInfoMessage("提示", "该批次已回盘并且核销,无法导入!");
return;
}
var payment_method = '${/parameter/@payment_method}';
var title = '';
if (payment_method == 'ABC')
{
if (payment_method == 'ABC')
{
title = '农行信息导入';
}else if(payment_method == 'ABC_2')
{
} else if (payment_method == 'ABC_2')
{
title = '农行(两方)信息导入';
}
var win = new Leaf.Window({
...
...
@@ -35,41 +45,41 @@
title: title,
width: 420,
height: 275
}).on('close', function
() {
}).on('close', function
() {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hls_acr_ebank_output_ln_temp');
$(ds_id).query();
});
};
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function
() {
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function
() {
window['${/parameter/@layout_code}_lock_layout_dynamic_window']();
Leaf.request({
url: $('acr_invoice_import_update_data_link').getUrl(),
para: {
output_id: '${/parameter/@output_id}'
},
success: function
() {
success: function
() {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
window.location.href = $('hls_acr_ebank_enter_link').getUrl()
+ '?layout_code=' + 'HLS_ACR5030_HEADER' + '&function_code=HLS_ACR5040';
window.location.href = $('hls_acr_ebank_enter_link').getUrl()
+ '?layout_code=' + 'HLS_ACR5030_HEADER' + '&function_code=HLS_ACR5040';
Leaf.SideBar.show({
msg: '操作成功',
duration: 2000
});
},
failure: function
() {
failure: function
() {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
error: function
() {
error: function
() {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
},
scope: this
});
};
window['${/parameter/@layout_code}_user_button3_layout_dynamic_click'] = function
() {
window['${/parameter/@layout_code}_user_button3_layout_dynamic_click'] = function
() {
// window.location.href = $('hls_acr_ebank_enter_link').getUrl()+ '?layout_code=' + 'HLS_ACR5030_HEADER' + '&function_code=HLS_ACR5040';
$('${/parameter/@winid}').close();
};
window['${/parameter/@layout_code}_upload_layout_dynamic_click'] = function
() {
window['${/parameter/@layout_code}_upload_layout_dynamic_click'] = function
() {
var p_sourcetype = 'hls_acr_ebank_input';
var p_pkvalue = '${/session/@session_id}';
var url = '${/request/@context_path}/modules/hls_acr/HLS_ACR5030/hls_upload_for_attachment_db_view.lview?sourcetype=' + p_sourcetype + '&' + 'pkvalue=' + p_pkvalue;
...
...
@@ -82,7 +92,7 @@
});
};
//查询时调用(grid,table,gridBox)
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_query'] = function
(ds, qpara, bp_seq) {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_grid_query'] = function
(ds, qpara, bp_seq) {
qpara['output_id'] = '${/parameter/@output_id}';
};
]]>
</script>
...
...
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