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
2d361b47
Commit
2d361b47
authored
Oct 17, 2019
by
Spencer Chang
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat] 保证金管理+入账
parent
86e988bc
Changes
6
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
690 additions
and
0 deletions
+690
-0
REGISTER_CUS_DEPOSIT100.sql
...in/database/Register_function/REGISTER_CUS_DEPOSIT100.sql
+37
-0
REGISTER_CUS_DEPOSIT110.sql
...in/database/Register_function/REGISTER_CUS_DEPOSIT110.sql
+37
-0
csh_transaction_query.lwm
...sses/cus_deposit/CUS_DEPOSIT100/csh_transaction_query.lwm
+4
-0
cus_deposit_detail.lview
...dules/cus_deposit/CUS_DEPOSIT100/cus_deposit_detail.lview
+99
-0
cus_deposit_manger_entrance.lview
..._deposit/CUS_DEPOSIT100/cus_deposit_manger_entrance.lview
+257
-0
cus_deposit_post_entrance.lview
...us_deposit/CUS_DEPOSIT110/cus_deposit_post_entrance.lview
+256
-0
No files found.
src/main/database/Register_function/REGISTER_CUS_DEPOSIT100.sql
0 → 100644
View file @
2d361b47
WHENEVER
SQLERROR
EXIT
FAILURE
ROLLBACK
;
WHENEVER
OSERROR
EXIT
FAILURE
ROLLBACK
;
spool
REGISTER_CUS_DEPOSIT100
.
log
set
feedback
off
set
define
off
begin
--页面注册
sys_function_assign_pkg
.
service_load
(
'modules/cus_deposit/CUS_DEPOSIT100/cus_deposit_manger_entrance.lview'
,
'保证金管理'
,
1
,
1
,
0
);
sys_function_assign_pkg
.
service_load
(
'modules/cus_deposit/CUS_DEPOSIT100/cus_deposit_manger_entrance.lview'
,
'保证金管理'
,
1
,
1
,
0
);
--功能定义
SYS_LOAD_SYS_FUNCTION_PKG
.
SYS_FUNCTION_LOAD
(
'CUS_DEPOSIT100'
,
'保证金管理'
,
'保证金管理'
,
'100'
,
''
,
''
,
'modules/cus_deposit/CUS_DEPOSIT100/cus_deposit_manger_entrance.lview'
,
'ZHS'
,
-
1
);
SYS_LOAD_SYS_FUNCTION_PKG
.
SYS_FUNCTION_LOAD
(
'CUS_DEPOSIT100'
,
'保证金管理'
,
'保证金管理'
,
'100'
,
''
,
''
,
'modules/cus_deposit/CUS_DEPOSIT100/cus_deposit_manger_entrance.lview'
,
'US'
,
-
1
);
--分配页面
sys_function_assign_pkg
.
func_service_load
(
'CUS_DEPOSIT100'
,
'modules/cus_deposit/CUS_DEPOSIT100/cus_deposit_manger_entrance.lview'
);
--分配bm
sys_function_assign_pkg
.
func_bm_load
(
'CUS_DEPOSIT100'
,
'cus_deposit.CUS_DEPOSIT100.csh_transaction_query'
);
--分配菜单
sys_load_sys_function_grp_pkg
.
sys_function_group_item_load
(
p_function_group_code
=>
'DEPOSIT'
,
p_function_code
=>
'CUS_DEPOSIT100'
,
p_enabled_flag
=>
'Y'
,
P_USER_ID
=>-
1
);
end
;
/
commit
;
set
feedback
on
set
define
on
spool
off
exit
src/main/database/Register_function/REGISTER_CUS_DEPOSIT110.sql
0 → 100644
View file @
2d361b47
WHENEVER
SQLERROR
EXIT
FAILURE
ROLLBACK
;
WHENEVER
OSERROR
EXIT
FAILURE
ROLLBACK
;
spool
REGISTER_CUS_DEPOSIT110
.
log
set
feedback
off
set
define
off
begin
--页面注册
sys_function_assign_pkg
.
service_load
(
''
,
'保证金-'
,
1
,
1
,
0
);
sys_function_assign_pkg
.
service_load
(
''
,
'保证金-'
,
1
,
1
,
0
);
--功能定义
SYS_LOAD_SYS_FUNCTION_PKG
.
SYS_FUNCTION_LOAD
(
'CUS_DEPOSIT110'
,
'保证金入账'
,
'保证金入账'
,
'110'
,
''
,
''
,
'modules/cus_deposit/CUS_DEPOSIT110/xx.lview'
,
'ZHS'
,
-
1
);
SYS_LOAD_SYS_FUNCTION_PKG
.
SYS_FUNCTION_LOAD
(
'CUS_DEPOSIT110'
,
'保证金入账'
,
'保证金入账'
,
'110'
,
''
,
''
,
'modules/cus_deposit/CUS_DEPOSIT110/xx.lview'
,
'US'
,
-
1
);
--分配页面
sys_function_assign_pkg
.
func_service_load
(
'CUS_DEPOSIT110'
,
''
);
--分配bm
sys_function_assign_pkg
.
func_bm_load
(
'CUS_DEPOSIT110'
,
'basic.hls_bp_master_v_for_lov'
);
--分配菜单
sys_load_sys_function_grp_pkg
.
sys_function_group_item_load
(
p_function_group_code
=>
'DEPOSIT'
,
p_function_code
=>
'CUS_DEPOSIT110'
,
p_enabled_flag
=>
'Y'
,
P_USER_ID
=>-
1
);
end
;
/
commit
;
set
feedback
on
set
define
on
spool
off
exit
src/main/webapp/WEB-INF/classes/cus_deposit/CUS_DEPOSIT100/csh_transaction_query.lwm
0 → 100644
View file @
2d361b47
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:f=
"leaf.database.features"
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
alias=
"t1"
baseTable=
"CSH_TRANSACTION"
defaultOrderBy=
"t1.transaction_id desc"
>
</bm:model>
\ No newline at end of file
src/main/webapp/modules/cus_deposit/CUS_DEPOSIT100/cus_deposit_detail.lview
0 → 100644
View file @
2d361b47
<?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:model-query
defaultWhereClause=
"t1.enabled_flag='Y'"
fetchAll=
"true"
model=
"basic.csh_payment_method_for_lov"
rootPath=
"payment_method_path"
/>
<a:model-query
fetchAll=
"true"
model=
"gld.gld_currency_vl"
rootPath=
"currency"
/>
a:model-query model="basic.hls_sys_time_default_value" rootPath="sys_time_default_value_path"/>
<a:model-query
defaultWhereClause=
"v.code='CSH511_TRANSACTION_TYPE' and v.code_value in ('PAYMENT','RECEIPT','ADVANCE_RECEIPT','DEPOSIT')"
fetchAll=
"true"
model=
"basic.sys_code_default_value"
rootPath=
"transaction_type"
/>
</a:init-procedure>
<a:view>
<a:link
id=
"sys_service_welcome_link"
url=
"${/request/@context_path}/welcome.lview"
/>
<a:link
id=
"csh_transaction_receipt_return_maintain_link"
url=
"${/request/@context_path}/modules/csh/CSH301/csh_transaction_receipt_detail_query.lview"
/>
<a:link
id=
"csh_transaction_returned_detail_link"
url=
"${/request/@context_path}/modules/csh/CSH301/csh_transaction_returned_detail_query.lview"
/>
<a:link
id=
"csh_write_off_detail_link"
url=
"${/request/@context_path}/modules/csh/CSH311/csh_advances_transaction_receipt_write_off_detail_query.lview"
/>
<a:link
id=
"csh_write_off_detail_link1"
url=
"${/request/@context_path}/modules/csh/CSH311/csh_transaction_write_off_detail1.lview"
/>
<a:link
id=
"csh_transaction_returned_list_link"
url=
"${/request/@context_path}/modules/csh/CSH515/csh_transaction_returned_list.lview"
/>
<a:link
id=
"csh_transaction_payment_detail_link"
url=
"${/request/@context_path}/modules/csh/CSH301/csh_payment_req_pay_detail.lview"
/>
<a:link
id=
"get_xml"
model=
"csh.CSH311.csh_tranction_Initiate_case"
modelaction=
"execute"
/>
<script
type=
"text/javascript"
>
<![CDATA[
// 退出按钮
function cus_deposit100_back() {
$('cus_deposit100_detail_link_winid').close();
}
// 冲抵租金反冲
function cus_deposit100_reverse() {
}
]]>
</script>
<a:dataSets>
<a:dataSet
id=
"csh_transaction_query_ds"
autoCreate=
"true"
model=
"csh.CSH301.get_sum_transaction_amount"
>
<a:fields>
<a:field
name=
"bp_name"
lovGridHeight=
"350"
lovHeight=
"500"
lovService=
"basic.hls_bp_master_v_for_lov"
lovWidth=
"500"
title=
"HLS.BP_TITLE"
>
<a:mapping>
<a:map
from=
"bp_id"
to=
"bp_id"
/>
<a:map
from=
"bp_name"
to=
"bp_name"
/>
</a:mapping>
</a:field>
<a:field
name=
"bp_id"
/>
<a:field
name=
"transaction_date_from"
validator=
"dateValidator"
/>
<a:field
name=
"transaction_date_to"
validator=
"dateValidator"
/>
</a:fields>
</a:dataSet>
<a:dataSet
id=
"csh_transaction_result_ds"
autoPageSize=
"true"
autoQuery=
"true"
model=
"cus_deposit.CUS_DEPOSIT100.csh_transaction_query"
queryDataSet=
"csh_transaction_query_ds"
selectable=
"true"
selectionModel=
"single"
/>
</a:dataSets>
<a:screenBody>
<a:screenTopToolbar>
<a:screenTitle/>
<a:gridButton
click=
"cus_deposit100_back"
text=
"HLS.BACK"
/>
</a:screenTopToolbar>
<a:fieldSet
title=
"保证金信息"
>
<a:form
bindTarget=
"csh_transaction_query_ds"
column=
"4"
labelWidth=
"130"
marginWidth=
"80"
>
<a:textField
name=
"agent_name"
bindTarget=
"csh_transaction_query_ds"
prompt=
"代理店"
/>
<a:textField
name=
"bp_name"
bindTarget=
"csh_transaction_query_ds"
prompt=
"承租人"
/>
<a:textField
name=
"contract_number"
bindTarget=
"csh_transaction_query_ds"
prompt=
"合同编号"
/>
<a:textField
name=
"times"
bindTarget=
"csh_transaction_query_ds"
prompt=
"期数"
/>
<a:textField
name=
"balance"
bindTarget=
"csh_transaction_query_ds"
prompt=
"保证金剩余余额"
/>
</a:form>
</a:fieldSet>
<a:fieldSet
title=
"保证金来源"
>
<a:grid
id=
"csh_transaction_grid_ds"
bindTarget=
"csh_transaction_result_ds"
marginHeight=
"295"
marginWidth=
"80"
navBar=
"true"
>
<a:toolBar>
<a:button
prompt=
"冲抵租金反冲"
click=
""
id=
"cus_deposit100_reverse"
/>
</a:toolBar>
<a:columns>
<a:column
name=
"transaction_number"
prompt=
"现金事务编号"
width=
"100"
/>
<a:column
name=
"transaction_number"
prompt=
"来源方式"
width=
"100"
/>
<a:column
name=
"agent_name"
prompt=
"来源合同/期数"
width=
"100"
/>
<a:column
name=
"contract_number"
prompt=
"来源金额"
width=
"100"
/>
<a:column
name=
"bp_name"
prompt=
"已使用金额"
width=
"100"
/>
<a:column
name=
"times"
prompt=
"剩余金额"
width=
"100"
/>
<a:column
name=
"transaction_date"
prompt=
"操作时间"
width=
"100"
renderer=
"Leaf.formatDate"
/>
</a:columns>
</a:grid>
</a:fieldSet>
<a:fieldSet
title=
"保证金用途"
>
<a:grid
id=
"csh_transaction_grid_ds"
bindTarget=
"csh_transaction_result_ds"
marginHeight=
"295"
marginWidth=
"80"
navBar=
"true"
>
<a:columns>
<a:column
name=
"transaction_number"
prompt=
"现金事务编号"
width=
"100"
/>
<a:column
name=
"transaction_number"
prompt=
"用途方式"
width=
"100"
/>
<a:column
name=
"agent_name"
prompt=
"去向合同/期数"
width=
"100"
/>
<a:column
name=
"bp_name"
prompt=
"使用金额"
width=
"100"
/>
<a:column
name=
"transaction_date"
prompt=
"操作时间"
width=
"100"
renderer=
"Leaf.formatDate"
/>
</a:columns>
</a:grid>
</a:fieldSet>
</a:screenBody>
</a:view>
</a:screen>
\ No newline at end of file
src/main/webapp/modules/cus_deposit/CUS_DEPOSIT100/cus_deposit_manger_entrance.lview
0 → 100644
View file @
2d361b47
This diff is collapsed.
Click to expand it.
src/main/webapp/modules/cus_deposit/CUS_DEPOSIT110/cus_deposit_post_entrance.lview
0 → 100644
View file @
2d361b47
This diff is collapsed.
Click to expand it.
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