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
9b816e8c
Commit
9b816e8c
authored
May 30, 2024
by
18083
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新建代理店-云南铁拳付款页面隐藏付款请求书打印按钮
parent
21c1d0ed
Changes
2
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
11 deletions
+34
-11
get_csh_division_detail.lwm
...pp/WEB-INF/classes/csh/CSH501/get_csh_division_detail.lwm
+25
-0
csh_payment_req.lview
src/main/webapp/modules/csh/CSH501/csh_payment_req.lview
+9
-11
No files found.
src/main/webapp/WEB-INF/classes/csh/CSH501/get_csh_division_detail.lwm
0 → 100644
View file @
9b816e8c
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: 18083
$Date:
$Revision: 1.0
$Purpose:
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
Select decode(cc.division,'70',nvl(had.division_detail,'01'),'') division_detail
From csh_payment_req_ln t, con_contract cc,hls_bp_master_agent_division had
Where t.payment_req_id = ${/parameter/@payment_req_id}
And t.ref_doc_category = 'CONTRACT'
and t.ref_doc_id = cc.contract_id
and cc.division= had.division
and cc.bp_id_agent_level1= had.bp_id
and rownum = 1
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
</bm:model>
src/main/webapp/modules/csh/CSH501/csh_payment_req.lview
View file @
9b816e8c
...
@@ -22,6 +22,7 @@
...
@@ -22,6 +22,7 @@
fetchAll=
"true"
model=
"hls.HLS003.hls_document_type"
rootPath=
"default_payment_document_type"
/>
fetchAll=
"true"
model=
"hls.HLS003.hls_document_type"
rootPath=
"default_payment_document_type"
/>
<a:model-query
fetchAll=
"true"
model=
"csh.CSH501.get_loan_flag"
rootPath=
"loan_flag_path"
/>
<a:model-query
fetchAll=
"true"
model=
"csh.CSH501.get_loan_flag"
rootPath=
"loan_flag_path"
/>
<a:model-query
fetchAll=
"true"
model=
"csh.CSH501.get_vender_bank_info"
rootPath=
"vender_account_path"
/>
<a:model-query
fetchAll=
"true"
model=
"csh.CSH501.get_vender_bank_info"
rootPath=
"vender_account_path"
/>
<a:model-query
fetchAll=
"true"
model=
"csh.CSH501.get_csh_division_detail"
rootPath=
"division_detail_path"
/>
</a:init-procedure>
</a:init-procedure>
<a:view>
<a:view>
<a:link
id=
"csh_payment_req_word_print_link_id"
<a:link
id=
"csh_payment_req_word_print_link_id"
...
@@ -77,6 +78,10 @@
...
@@ -77,6 +78,10 @@
if ('${/parameter/@source_type}' == 'WFL') {
if ('${/parameter/@source_type}' == 'WFL') {
document.getElementById('${/parameter/@layout_code}_save').style.display = "none";
document.getElementById('${/parameter/@layout_code}_save').style.display = "none";
}
}
if('${/parameter/@division}' =='70' &&'${/model/division_detail_path/record/@division_detail}'=='03' ){
document.getElementById('${/parameter/@layout_code}_print').style.display = "none";
}
var lnds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'csh_payment_req_ln');
var lnds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'csh_payment_req_ln');
var hdds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'csh_payment_req_hd');
var hdds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'csh_payment_req_hd');
var payment_req_id = '${/parameter/@payment_req_id}';
var payment_req_id = '${/parameter/@payment_req_id}';
...
@@ -236,7 +241,7 @@
...
@@ -236,7 +241,7 @@
}
}
var
lnds_records =
$(ds_id).getAll();
var
lnds_records =
$(ds_id).getAll();
if
(
con_business_type =
=
'LEASEBACK'){
if
(
con_business_type =
=
'LEASEBACK'){
if
('${/parameter/@division}'
==91||'${/parameter/@division}'
==
'神钢建机'||'${/parameter/@division}'
==93||'${/parameter/@division}'
=='新业务-厂商担保'
){
if
('${/parameter/@division}'
==91||'${/parameter/@division}'
==
93
){
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'csh_payment_req_ln');
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'csh_payment_req_ln');
var
records =
$(ds_id).getAll();
var
records =
$(ds_id).getAll();
for
(
i =
0;
i
<
records.length;
i++)
{
for
(
i =
0;
i
<
records.length;
i++)
{
...
@@ -334,7 +339,7 @@
...
@@ -334,7 +339,7 @@
}
}
}
}
}
}
if
('${/parameter/@division}'
==91||'${/parameter/@division}'
==
'神钢建机'||'${/parameter/@division}'
==92||'${/parameter/@division}'
=='北京心诚'
){
if
('${/parameter/@division}'
==91||'${/parameter/@division}'
==
92
){
if
(
con_business_type =
=
'LEASEBACK'){
if
(
con_business_type =
=
'LEASEBACK'){
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'csh_payment_req_ln');
var
ds_id =
get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'],
'csh_payment_req_ln');
var
records =
$(ds_id).getAll();
var
records =
$(ds_id).getAll();
...
@@ -386,7 +391,7 @@
...
@@ -386,7 +391,7 @@
records[i].getField('amount_tenant').setRequired(false);
records[i].getField('amount_tenant').setRequired(false);
records[i].getField('amount_tenant').setReadOnly(true);
records[i].getField('amount_tenant').setReadOnly(true);
if(
con_business_type =
=
'LEASEBACK'){
if(
con_business_type =
=
'LEASEBACK'){
if
('${/parameter/@division}'
==91||'${/parameter/@division}'
==
'神钢建机'||'${/parameter/@division}'
==93||'${/parameter/@division}'
=='新业务-厂商担保'
){
if
('${/parameter/@division}'
==91||'${/parameter/@division}'
==
93
){
records[i].getField('tenant_bank_account_number').setRequired(false);
records[i].getField('tenant_bank_account_number').setRequired(false);
records[i].getField('tenant_bank_account_number_n').setRequired(false);
records[i].getField('tenant_bank_account_number_n').setRequired(false);
}else{
}else{
...
@@ -639,14 +644,7 @@
...
@@ -639,14 +644,7 @@
}
}
//end
//end
}
}
//新业务厂商全部支付给代理店且买断机为否,增加弱校验 18083
/*if (amount_vender == 0
&&
line_data.get('division') == '93'
&&
line_data.get('is_buyout')=='N') {
$L.showConfirm('提示','是否买断机为否,请确认全部支付代理店!', function () {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
return true;
});
$L.showInfoMessage('提示', '是否买断机为否,请确认全部支付代理店!');
}*/
//本次申请金额等于委托加我司加应付承租人金额
//本次申请金额等于委托加我司加应付承租人金额
var this_apply_amount = plus(plus(amount_agent, amount_vender),amount_tenant);
var this_apply_amount = plus(plus(amount_agent, amount_vender),amount_tenant);
...
...
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