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
4d8b4d51
Commit
4d8b4d51
authored
Oct 31, 2019
by
lijingjing
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
[feat] 提前结清
parent
98e76b74
Changes
4
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
23 additions
and
7 deletions
+23
-7
insert_calc_cashflow.lwm
...p/WEB-INF/classes/cont/CON_ET001/insert_calc_cashflow.lwm
+14
-0
con_early_termination_modify_query.lwm
...ses/cont/CON_ET003/con_early_termination_modify_query.lwm
+2
-1
con_early_termination_et_detail.lview
...ules/cont/CON_ET001/con_early_termination_et_detail.lview
+4
-3
con_early_termination_modify_query.lview
...s/cont/CON_ET003/con_early_termination_modify_query.lview
+3
-3
No files found.
src/main/webapp/WEB-INF/classes/cont/CON_ET001/insert_calc_cashflow.lwm
0 → 100644
View file @
4d8b4d51
<?xml version="1.0" encoding="UTF-8"?>
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
>
<bm:operations>
<bm:operation
name=
"execute"
>
<bm:update-sql>
<![CDATA[
BEGIN
cus_con_et_pkg.insert_con_cashflow(p_change_req_id=>
${@change_req_id},
p_user_id=>${/session/@user_id});
END;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/WEB-INF/classes/cont/CON_ET003/con_early_termination_modify_query.lwm
View file @
4d8b4d51
...
...
@@ -161,7 +161,7 @@
hls_bp_master b,
hls_document_type_v dt,con_contract_change_req r
WHERE
r.req_status = 'NEW' AND
r.change_req_id = t.contract_id AND
r.et_flag='Y' AND
t.bp_id_tenant = b.bp_id(+) AND
...
...
@@ -179,6 +179,7 @@
<bm:query-field
name=
"date_to"
datatype=
"java.lang.String"
queryexpression=
"t1.inception_of_lease <= ${@date_to}"
/>
<bm:query-field
name=
"lease_end_date_from"
datatype=
"java.lang.String"
queryexpression=
"t1.lease_end_date >= ${@lease_end_date_from}"
/>
<bm:query-field
name=
"lease_end_date_to"
datatype=
"java.lang.String"
queryexpression=
"t1.lease_end_date <= ${@lease_end_date_to}"
/>
<bm:query-field
name=
"change_req_number"
datatype=
"java.lang.String"
queryexpression=
"upper(t1.change_req_number) like '%' || upper(${@change_req_number}) || '%'"
/>
<bm:query-field
name=
"contract_number"
datatype=
"java.lang.String"
queryexpression=
"upper(t1.contract_number) like '%' || upper(${@contract_number}) || '%'"
/>
<!-- <bm:query-field name="license_number" datatype="java.lang.String" queryexpression="upper(t1.license_number) like '%' || upper(${@license_number}) || '%'"/> -->
<bm:query-field
name=
"contract_name"
datatype=
"java.lang.String"
queryexpression=
"t1.contract_name like '%' || ${@contract_name} || '%'"
/>
...
...
src/main/webapp/modules/cont/CON_ET001/con_early_termination_et_detail.lview
View file @
4d8b4d51
...
...
@@ -9,6 +9,7 @@
<a:link
id=
"con_et002_submit_link"
model=
"cont.CON_ET001.submit_change_req"
modelaction=
"execute"
/>
<a:link
id=
"con_et002_cancel_link"
model=
"cont.CON731.cancel_change_req"
modelaction=
"execute"
/>
<a:link
id=
"con_et001_calc_cashflow_link"
model=
"cont.CON_ET001.calc_cashflow"
modelaction=
"execute"
/>
<a:link
id=
"con_et001_calc_cashflow_link1"
model=
"cont.CON_ET001.insert_calc_cashflow"
modelaction=
"execute"
/>
<a:link
id=
"con_et001_calc_et_date_amount_link"
model=
"cont.CON_ET001.calc_et_date_amount"
modelaction=
"execute"
/>
<script
type=
"text/javascript"
>
<![CDATA[
//新增和加载时调用form
...
...
@@ -135,7 +136,7 @@
// window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
// return;
// }
setTimeout(window['${/parameter/@layout_code}_SAVE_LAYOUT_DYNAMIC_CLICK'](clac), 2000
);
clac(
);
} else {
window['${/parameter/@bp_seq}${/parameter/@layout_code}_unlock_layout_dynamic_window']();
$('${/parameter/@layout_code}_user_button1').enable(); //按钮启用
...
...
@@ -144,9 +145,9 @@
function clac(){
Leaf.request({
url: $('con_et001_calc_cashflow_link').getUrl(),
url: $('con_et001_calc_cashflow_link
1
').getUrl(),
para: {
c
ontract_id: '${/parameter/@contract
_id}',
c
hange_req_id: '${/parameter/@change_req
_id}',
},
success: function(res) {
Leaf.SideBar.enable = true;
...
...
src/main/webapp/modules/cont/CON_ET003/con_early_termination_modify_query.lview
View file @
4d8b4d51
...
...
@@ -54,9 +54,9 @@
param['contract_id'] = change_req_id;
param['source_contract_id'] = contract_id;
//param['layout_debugger_flag'] = 'Y';
param['function_code'] = 'CON_ET002';
param['function_code'] = 'CON_ET002
_Q
';
param['url_title'] = '提前结清明细';
param['function_usage'] = '
READONL
Y';
param['function_usage'] = '
QUER
Y';
param['maintain_type'] = 'QUERY';
param['document_type'] = 'ET_CHAG';
param['winid'] = 'con_et003_detail_winid';
...
...
@@ -98,7 +98,7 @@
<a:field
name=
"contract_status_desc"
displayField=
"code_value_name"
options=
"contract_status_ds"
returnField=
"contract_status"
valueField=
"code_value"
/>
<a:field
name=
"req_employee_n"
/>
<a:field
name=
"req_status"
/>
<a:field
name=
"req_status_n"
displayField=
"code_value_name"
options=
"contract_chage_req_status_ds"
returnField=
"
contract
_status"
valueField=
"code_value"
/>
<a:field
name=
"req_status_n"
displayField=
"code_value_name"
options=
"contract_chage_req_status_ds"
returnField=
"
req
_status"
valueField=
"code_value"
/>
</a:fields>
</a:dataSet>
<a:dataSet
id=
"contractQueryScreen_mainDs"
autoQuery=
"true"
fetchAll=
"false"
model=
"cont.CON_ET003.con_early_termination_modify_query"
pageSize=
"14"
queryDataSet=
"contractQueryScreen_paraDs"
selectable=
"true"
selectionModel=
"single"
>
...
...
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