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
9709d057
Commit
9709d057
authored
Feb 24, 2023
by
gzj34291
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
合同签约前变更
parent
9aad293a
Changes
2
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
121 additions
and
71 deletions
+121
-71
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
+101
-68
No files found.
src/main/webapp/modules/cont/CON733/hls_con_contract_et_create_entrance.lview
View file @
9709d057
...
...
@@ -18,6 +18,7 @@
url=
"${/request/@context_path}/modules/cont/CON505/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_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=
"con_contract_change_req_link"
url=
"${/request/@context_path}/modules/cont/CON701/con_contract_et_print.lsc"
/>
...
...
@@ -68,6 +69,10 @@
$(ds_id).setQueryParameter('contract_status', '');
$(ds_id).query();
}
if (value == 'CCR_BEFORE_SIGN') {
$(ds_id).setQueryParameter('contract_status', 'NEW');
$(ds_id).query();
}
}
};
...
...
@@ -101,7 +106,6 @@
var head_record = $(head_ds_id).getAt(0);
var record = records[0];
var ccr_document_type = head_record.get('ccr_document_type');
debugger;
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')) {
...
...
@@ -113,6 +117,10 @@
Leaf.showErrorMessage('${l:PROMPT}', '铁甲业务无法操作此项变更!');
return;
}
if((record.get('division') != '70'
&&
record.get('division') != '92')
&&
ccr_document_type == 'CCR_BEFORE_SIGN'){
Leaf.showErrorMessage('${l:PROMPT}', '当前合同暂不能进行此项变更!');
return;
}
Leaf.showConfirm('特别注意', '
<span
style=
"color: #ff0000; "
>
该操作将导致合同在变更期间无法进行后续操作,请谨慎操作!!!如果需要取消变更,请一定点击取消变更按钮!!!
</span>
', function () {
var contract = record.get('contract_id');
...
...
@@ -151,8 +159,18 @@
param['function_code'] = 'CON733BPB';
param['url_title'] = '变更申请-合同回款账户变更';
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);
}
},
failure: function () {
// $('${/parameter/@layout_code}_user_button1').enable(); //按钮启用
...
...
@@ -176,8 +194,7 @@
}
};
]]>
</script>
<a:screen-include
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_authority_list_validate.lview?document_category=CONTRACT&function_code=CON733"
/>
<a:screen-include
screen=
"modules/cont/CON500/con_contract_get_layout_code.lview"
/>
</a:view>
</a:screen>
src/main/webapp/modules/hls/HLS500N/hls_fin_calculator_update_n.lview
View file @
9709d057
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