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
00638cf4
Commit
00638cf4
authored
Dec 06, 2022
by
王炜
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同签约前变更提交=>龚镇江
parent
30aea40b
Changes
7
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
367 additions
and
56 deletions
+367
-56
INITIALIZE_LAYOUT_DB_OBJECT.sql
...ase/Init/Layout_db_object/INITIALIZE_LAYOUT_DB_OBJECT.sql
+6
-0
CON733_ADD.sql
src/main/database/Register_function/CON733_ADD.sql
+35
-0
check_change_con_lease_item.lwm
...asses/check_after_save_bm/check_change_con_lease_item.lwm
+24
-0
hls_before_sign_change_detail.lview
...p/modules/cont/CON731/hls_before_sign_change_detail.lview
+207
-0
hls_ccr_modify_entrance.lview
.../webapp/modules/cont/CON732/hls_ccr_modify_entrance.lview
+13
-1
hls_con_contract_et_create_entrance.lview
...les/cont/CON733/hls_con_contract_et_create_entrance.lview
+20
-3
hls_fin_calculator_update_n.lview
...app/modules/hls/HLS500N/hls_fin_calculator_update_n.lview
+62
-52
No files found.
src/main/database/Init/Layout_db_object/INITIALIZE_LAYOUT_DB_OBJECT.sql
View file @
00638cf4
...
@@ -25,6 +25,12 @@ values ('CONTRACT', 'CON_CONTRACT_CCR_Q_LV', 'VIEW', -1, sysdate, -1, sysdate);
...
@@ -25,6 +25,12 @@ values ('CONTRACT', 'CON_CONTRACT_CCR_Q_LV', 'VIEW', -1, sysdate, -1, sysdate);
insert
into
HLS_DOC_CATEGORY_DB_OBJECT
(
DOCUMENT_CATEGORY
,
OBJECT_NAME
,
OBJECT_TYPE
,
CREATED_BY
,
CREATION_DATE
,
LAST_UPDATED_BY
,
LAST_UPDATE_DATE
)
insert
into
HLS_DOC_CATEGORY_DB_OBJECT
(
DOCUMENT_CATEGORY
,
OBJECT_NAME
,
OBJECT_TYPE
,
CREATED_BY
,
CREATION_DATE
,
LAST_UPDATED_BY
,
LAST_UPDATE_DATE
)
values
(
'CONTRACT'
,
'con_contract_history_lv'
,
'VIEW'
,
-
1
,
sysdate
,
-
1
,
sysdate
);
values
(
'CONTRACT'
,
'con_contract_history_lv'
,
'VIEW'
,
-
1
,
sysdate
,
-
1
,
sysdate
);
insert
into
HLS_DOC_CATEGORY_DB_OBJECT
(
DOCUMENT_CATEGORY
,
OBJECT_NAME
,
OBJECT_TYPE
,
CREATED_BY
,
CREATION_DATE
,
LAST_UPDATED_BY
,
LAST_UPDATE_DATE
)
values
(
'CONTRACT'
,
'con_contract_con733_lv'
,
'VIEW'
,
-
1
,
sysdate
,
-
1
,
sysdate
);
insert
into
HLS_DOC_CATEGORY_DB_OBJECT
(
DOCUMENT_CATEGORY
,
OBJECT_NAME
,
OBJECT_TYPE
,
CREATED_BY
,
CREATION_DATE
,
LAST_UPDATED_BY
,
LAST_UPDATE_DATE
)
values
(
'CONTRACT'
,
'CON_CONTRACT_LEASE_ITEM_CCR_LV'
,
'VIEW'
,
-
1
,
sysdate
,
-
1
,
sysdate
);
end
;
end
;
/
/
commit
;
commit
;
...
...
src/main/database/Register_function/CON733_ADD.sql
0 → 100644
View file @
00638cf4
WHENEVER
SQLERROR
EXIT
FAILURE
ROLLBACK
;
WHENEVER
OSERROR
EXIT
FAILURE
ROLLBACK
;
spool
REGISTER_ACP522
.
log
set
feedback
off
set
define
off
begin
--页面注册
sys_function_assign_pkg
.
service_load
(
'modules/cont/CON731/hls_before_sign_change_detail.lview'
,
'签约前合同变更'
,
1
,
1
,
0
);
--功能定义
--分配页面
sys_function_assign_pkg
.
func_service_load
(
'CON733'
,
'modules/cont/CON731/hls_before_sign_change_detail.lview'
);
sys_function_assign_pkg
.
func_service_load
(
'CON736'
,
'modules/cont/CON731/hls_before_sign_change_detail.lview'
);
sys_function_assign_pkg
.
func_service_load
(
'ZJWFL5110'
,
'modules/cont/CON731/hls_before_sign_change_detail.lview'
);
sys_function_assign_pkg
.
func_service_load
(
'CON733'
,
'modules/hls/HLS500N/hls_fin_calculator_update_n.lview'
);
sys_function_assign_pkg
.
func_service_load
(
'CON736'
,
'modules/hls/HLS500N/hls_fin_calculator_update_n.lview'
);
sys_function_assign_pkg
.
func_service_load
(
'ZJWFL5110'
,
'modules/hls/HLS500N/hls_fin_calculator_update_n.lview'
);
--分配bm
sys_function_assign_pkg
.
func_bm_load
(
'CON733'
,
'check_after_save_bm.check_change_con_lease_item'
);
sys_function_assign_pkg
.
func_bm_load
(
'CON736'
,
'check_after_save_bm.check_change_con_lease_item'
);
sys_function_assign_pkg
.
func_bm_load
(
'ZJWFL5110'
,
'check_after_save_bm.check_change_con_lease_item'
);
end
;
/
commit
;
set
feedback
on
set
define
on
spool
off
exit
src/main/webapp/WEB-INF/classes/check_after_save_bm/check_change_con_lease_item.lwm
0 → 100644
View file @
00638cf4
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: wangwei
$Date: 2022-12_06 上午11:00:06
$Revision: 3.0
$Purpose:合同变更租赁物保存校验
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
>
<bm:operations>
<bm:operation
name=
"update"
>
<bm:update-sql>
<![CDATA[
begin
con_contract_workflow_pkg.check_change_con_lease_item(
p_contract_id =>
${@contract_id},
p_machine_number =>${@machine_number},
p_user_id => ${/session/@user_id}
);
end;
]]>
</bm:update-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/modules/cont/CON731/hls_before_sign_change_detail.lview
0 → 100644
View file @
00638cf4
This diff is collapsed.
Click to expand it.
src/main/webapp/modules/cont/CON732/hls_ccr_modify_entrance.lview
View file @
00638cf4
...
@@ -10,6 +10,7 @@
...
@@ -10,6 +10,7 @@
<a:link
id=
"con_contract_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"con_contract_get_layout_code_link_id"
model=
"cont.CON500.con_contract_get_layout_code"
modelaction=
"update"
/>
<a:link
id=
"con_contract_modify_link"
url=
"${/request/@context_path}/modules/cont/CON501N/con_contract_modify.lview"
/>
<a:link
id=
"con_contract_modify_link"
url=
"${/request/@context_path}/modules/cont/CON501N/con_contract_modify.lview"
/>
<a:link
id=
"con_contract_change_link"
url=
"${/request/@context_path}/modules/cont/CON731/hls_con_contract_change_detail.lview"
/>
<a:link
id=
"con_contract_change_link"
url=
"${/request/@context_path}/modules/cont/CON731/hls_con_contract_change_detail.lview"
/>
<a:link
id=
"con_contract_sign_before_change_link"
url=
"${/request/@context_path}/modules/cont/CON731/hls_before_sign_change_detail.lview"
/>
<a:link
id=
"hls_ccr_modify_wfl_msg_link"
url=
"${/request/@context_path}/modules/cont/CON732/hls_ccr_modify_wfl_msg_detail.lview"
/>
<a:link
id=
"hls_ccr_modify_wfl_msg_link"
url=
"${/request/@context_path}/modules/cont/CON732/hls_ccr_modify_wfl_msg_detail.lview"
/>
<a:link
id=
"con_contract_change_req_link"
url=
"${/request/@context_path}/modules/cont/CON701/con_contract_et_print.lsc"
/>
<a:link
id=
"con_contract_change_req_link"
url=
"${/request/@context_path}/modules/cont/CON701/con_contract_et_print.lsc"
/>
<script
type=
"text/javascript"
>
<![CDATA[
<script
type=
"text/javascript"
>
<![CDATA[
...
@@ -118,8 +119,19 @@
...
@@ -118,8 +119,19 @@
param['function_code'] = 'CON733BPB';
param['function_code'] = 'CON733BPB';
param['url_title'] = '变更申请-合同回款账户变更';
param['url_title'] = '变更申请-合同回款账户变更';
}
}
else if (record.get('ccr_document_type') == 'CCR_BEFORE_SIGN') {
param['function_code'] = 'CON733CBSIGN';
param['url_title'] = '变更申请-签约前合同变更';
}
param['document_type'] = record.get('ccr_document_type');
param['document_type'] = record.get('ccr_document_type');
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'con_contract_change_link', ds_id);
if (record.get('ccr_document_type') == 'CCR_BEFORE_SIGN') {
//签约前变更换个页面,方便后续新人代码阅读 wangwei
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'con_contract_sign_before_change_link', ds_id);
}else{
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'con_contract_change_link', ds_id);
}
};
};
//变更申请打印单
//变更申请打印单
...
...
src/main/webapp/modules/cont/CON733/hls_con_contract_et_create_entrance.lview
View file @
00638cf4
...
@@ -18,6 +18,7 @@
...
@@ -18,6 +18,7 @@
url=
"${/request/@context_path}/modules/cont/CON505/con_contract_modify.lview"
/>
url=
"${/request/@context_path}/modules/cont/CON505/con_contract_modify.lview"
/>
<a:link
id=
"con_contract_change_link"
<a:link
id=
"con_contract_change_link"
url=
"${/request/@context_path}/modules/cont/CON731/hls_con_contract_change_detail.lview"
/>
url=
"${/request/@context_path}/modules/cont/CON731/hls_con_contract_change_detail.lview"
/>
<a:link
id=
"con_contract_sign_before_change_link"
url=
"${/request/@context_path}/modules/cont/CON731/hls_before_sign_change_detail.lview"
/>
<a:link
id=
"con733_create_change_link"
model=
"cont.CON733.create_change_req"
modelaction=
"execute"
/>
<a:link
id=
"con733_create_change_link"
model=
"cont.CON733.create_change_req"
modelaction=
"execute"
/>
<a:link
id=
"con_contract_change_req_link"
<a:link
id=
"con_contract_change_req_link"
url=
"${/request/@context_path}/modules/cont/CON701/con_contract_et_print.lsc"
/>
url=
"${/request/@context_path}/modules/cont/CON701/con_contract_et_print.lsc"
/>
...
@@ -68,6 +69,10 @@
...
@@ -68,6 +69,10 @@
$(ds_id).setQueryParameter('contract_status', '');
$(ds_id).setQueryParameter('contract_status', '');
$(ds_id).query();
$(ds_id).query();
}
}
if (value == 'CCR_BEFORE_SIGN') {
$(ds_id).setQueryParameter('contract_status', 'NEW');
$(ds_id).query();
}
}
}
};
};
...
@@ -101,7 +106,6 @@
...
@@ -101,7 +106,6 @@
var head_record = $(head_ds_id).getAt(0);
var head_record = $(head_ds_id).getAt(0);
var record = records[0];
var record = records[0];
var ccr_document_type = head_record.get('ccr_document_type');
var ccr_document_type = head_record.get('ccr_document_type');
debugger;
if ($(head_ds_id).validate($('${/parameter/@layout_code}_user_button1').enable())) {
if ($(head_ds_id).validate($('${/parameter/@layout_code}_user_button1').enable())) {
//售后回租 无法进行承租人变更和回款账户变更
//售后回租 无法进行承租人变更和回款账户变更
if (record.get('business_type') == 'LEASEBACK'
&&
(ccr_document_type == 'LEASE_CHAG' || ccr_document_type == 'ACC_CHAG')) {
if (record.get('business_type') == 'LEASEBACK'
&&
(ccr_document_type == 'LEASE_CHAG' || ccr_document_type == 'ACC_CHAG')) {
...
@@ -113,6 +117,10 @@
...
@@ -113,6 +117,10 @@
Leaf.showErrorMessage('${l:PROMPT}', '铁甲业务无法操作此项变更!');
Leaf.showErrorMessage('${l:PROMPT}', '铁甲业务无法操作此项变更!');
return;
return;
}
}
/*if(record.get('division') != '70'
&&
ccr_document_type == 'CCR_BEFORE_SIGN'){
Leaf.showErrorMessage('${l:PROMPT}', '仅铁甲业务可操作此项变更!');
return;
}*/
Leaf.showConfirm('特别注意', '
<span
style=
"color: #ff0000; "
>
该操作将导致合同在变更期间无法进行后续操作,请谨慎操作!!!如果需要取消变更,请一定点击取消变更按钮!!!
</span>
', function () {
Leaf.showConfirm('特别注意', '
<span
style=
"color: #ff0000; "
>
该操作将导致合同在变更期间无法进行后续操作,请谨慎操作!!!如果需要取消变更,请一定点击取消变更按钮!!!
</span>
', function () {
var contract = record.get('contract_id');
var contract = record.get('contract_id');
...
@@ -151,8 +159,18 @@
...
@@ -151,8 +159,18 @@
param['function_code'] = 'CON733BPB';
param['function_code'] = 'CON733BPB';
param['url_title'] = '变更申请-合同回款账户变更';
param['url_title'] = '变更申请-合同回款账户变更';
param['winid'] = 'con733_bpb_change_detail_winid';
param['winid'] = 'con733_bpb_change_detail_winid';
}else if (ccr_document_type == 'CCR_BEFORE_SIGN') {
param['function_code'] = 'CON733CBSIGN';
param['url_title'] = '变更申请-签约前合同变更';
param['winid'] = 'con733_before_sign_change_detail_winid';
}
}
if(ccr_document_type == 'CCR_BEFORE_SIGN') {
//签约前变更换个页面,方便后续新人代码阅读 wangwei
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'con_contract_sign_before_change_link', ds_id);
}else{
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'con_contract_change_link', ds_id);
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'con_contract_change_link', ds_id);
}
},
},
failure: function () {
failure: function () {
// $('${/parameter/@layout_code}_user_button1').enable(); //按钮启用
// $('${/parameter/@layout_code}_user_button1').enable(); //按钮启用
...
@@ -176,8 +194,7 @@
...
@@ -176,8 +194,7 @@
}
}
};
};
]]>
</script>
]]>
</script>
<a:screen-include
<a:screen-include
screen=
"modules/cont/CON500/con_contract_authority_list_validate.lview?document_category=CONTRACT&function_code=CON733"
/>
screen=
"modules/cont/CON500/con_contract_authority_list_validate.lview?document_category=CONTRACT&function_code=CON733"
/>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
</a:view>
</a:view>
</a:screen>
</a:screen>
src/main/webapp/modules/hls/HLS500N/hls_fin_calculator_update_n.lview
View file @
00638cf4
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