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
a9ff8ccd
Commit
a9ff8ccd
authored
May 28, 2024
by
陆正友
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
租金催收新增一次性回购tap页
parent
e12b3c18
Changes
4
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
499 additions
and
3 deletions
+499
-3
con_contract_dun_for_repur_one_time_query.lwm
...cont/CON620/con_contract_dun_for_repur_one_time_query.lwm
+429
-0
con_contract_account_detail.lview
...app/modules/cont/CON620/con_contract_account_detail.lview
+7
-0
con_contract_rent_detail.lview
...webapp/modules/cont/CON620/con_contract_rent_detail.lview
+7
-0
con_contract_rent_dun_query.lview
...app/modules/cont/CON620/con_contract_rent_dun_query.lview
+56
-3
No files found.
src/main/webapp/WEB-INF/classes/cont/CON620/con_contract_dun_for_repur_one_time_query.lwm
0 → 100644
View file @
a9ff8ccd
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: Feng
$Date: 2013-9-23 下午8:16:18
$Revision: 1.0
$Purpose:
-->
<bm:model
xmlns:bm=
"http://www.leaf-framework.org/schema/bm"
needAccessControl=
"false"
>
<bm:operations>
<bm:operation
name=
"query"
>
<bm:query-sql>
<![CDATA[
SELECT
t1.*,
(Select Min(cc1.TIMES)
From con_contract_cashflow cc1
Where cc1.contract_id = t1.contract_id
And cc1.due_date <= Sysdate
And cc1.cf_item In (250)
And cc1.write_off_flag <>
'FULL'
and cc1.cf_status='RELEASE'
And cc1.due_date = t1.min_overdue_date) min_overdue_times
FROM (SELECT
cc.contract_id,
cc.document_type,
cc.document_category,
--cc.contract_name,
(SELECT pp.project_number
FROM prj_project pp
WHERE pp.project_id = cc.project_id) project_number,
cc.bp_id_tenant,
to_char(cc.inception_of_lease, 'yyyy-mm-dd') inception_of_lease,
(SELECT hb.bp_name
FROM hls_bp_master hb, con_contract_bp ccb
WHERE hb.bp_category = 'AGENT'
AND ccb.bp_category = 'AGENT'
AND hb.bp_id = ccb.bp_id
AND ccb.contract_id = cc.contract_id) agent_id_n,
(SELECT bp_name
FROM hls_bp_master
WHERE bp_id = cc.bp_id_tenant
AND enabled_flag = 'Y') bp_id_tenant_desc,
cc.contract_number,
cc.bp_id_agent_level1,
(SELECT extra_nam
FROM hls_bp_master
WHERE bp_id = cc.bp_id_agent_level1
AND enabled_flag = 'Y') bp_id_agent_desc,
cc.owner_user_id,
(SELECT description
FROM sys_user
WHERE user_id = cc.owner_user_id) owner_user_id_desc,
cc.lease_organization,
(SELECT description
FROM hls_lease_organization
WHERE lease_organization = cc.lease_organization
AND enabled_flag =
'Y') lease_organization_desc,
(SELECT a.description value_name
FROM hls_business_type_v a
WHERE a.enabled_flag = 'Y'
AND a.business_type = cc.business_type) business_type_n,
cc.data_class,
(SELECT hd.description
FROM hls_division hd
WHERE hd.enabled_flag = 'Y'
AND hd.division = cc.division) division_n,
cc.division,
null account_due_times,
null account_due_days,
null account_due_amount,
contract_item_query_pkg.calc_business_overdue_times(p_contract_id => cc.contract_id,
p_calc_date => SYSDATE,
p_user_id => -1) business_due_times,
contract_item_query_pkg.calc_bussiness_overdue_days(p_contract_id => cc.contract_id,
p_calc_date => SYSDATE,
p_user_id => -1) business_due_days,
(SELECT SUM(ccc.due_amount)
FROM con_contract_cashflow ccc
WHERE ccc.contract_id = cc.contract_id
AND ccc.cf_status = 'RELEASE'
AND ccc.cf_item IN (250)
AND trunc(ccc.due_date)
<
= trunc(SYSDATE)) -
nvl((SELECT SUM(nvl(cwo.write_off_due_amount, 0))
FROM csh_write_off cwo
WHERE cwo.reversed_flag = 'N'
AND cwo.contract_id = cc.contract_id
AND cwo.cf_item IN ( 250)
And Exists
(Select 1
From con_contract_cashflow cn
Where cn.cashflow_id = cwo.cashflow_id
And cn.cf_status = 'RELEASE'
And trunc(cn.due_date)
<
= trunc(Sysdate))),
0) business_due_amount,
--营业逾期总金额
contract_item_query_pkg.calc_repur_penalty(p_contract_id => cc.contract_id,
p_calc_date => SYSDATE,
p_user_id => -1) over_due_amount,
--营业最早逾期的预定支付日
(SELECT MIN(ccc.due_date)
FROM con_contract_cashflow ccc
WHERE ccc.contract_id = cc.contract_id
AND ccc.due_amount > 0
AND ccc.due_date
<
= sysdate
and ccc.cf_status='RELEASE'
AND ccc.cf_item in (250)
AND ccc.write_off_flag
<
> 'FULL') min_overdue_date,
--营业已收租金
(SELECT SUM(nvl(ccc.received_amount, 0))
FROM con_contract_cashflow ccc
WHERE ccc.contract_id = cc.contract_id
and ccc.cf_status='RELEASE'
AND ccc.cf_item IN
(250)) business_received_amount,
--营业未收租金
(SELECT SUM(ccc.due_amount - nvl(ccc.received_amount, 0))
FROM con_contract_cashflow ccc
WHERE ccc.contract_id = cc.contract_id
and ccc.cf_status='RELEASE'
AND ccc.cf_item IN ( 250)
) business_unreceived_amount,
--会计已收租金
null ac_received_amount,
--会计未收租金
null ac_unreceived_amount,
--机型
(SELECT ccli.modelcd
FROM con_contract_lease_item ccli
WHERE ccli.contract_id = cc.contract_id) modelcd,
--机号
(SELECT ccli.machine_number
FROM con_contract_lease_item ccli
WHERE ccli.contract_id = cc.contract_id) machine_number,
to_char(cc.repurchase_date, 'yyyy-mm-dd') lease_start_date,
cc.PAYMENT_PERIOD lease_times,
--租金合计
(SELECT SUM(ccc.due_amount)
FROM con_contract_cashflow ccc
WHERE ccc.contract_id = cc.contract_id
AND ccc.cf_status = 'RELEASE'
AND ccc.cf_item IN (250)
) total_due_amount,
cc.contract_status,
cc.BUSINESS_TYPE,
cc.repurchase_types
,(select to_char(max(t.creation_date), 'yyyy-mm-dd')
from cux_rent_dun_msg t
where t.contract_id = cc.contract_id) dun_date,
cc.send_message,
(select v.code_value_name
From sys_code_values_v v
Where v.code = 'SEND_MESSAGE'
And cc.send_message = v.code_value ) send_message_n,
cc.cell_phone
FROM con_contract cc
WHERE
cc.contract_status='REPURING'
and cc.repurchase_types='ONE_TIME_REPURCHASE'
and EXISTS(SELECT 1
FROM con_contract_cashflow ccw
WHERE ccw.contract_id = cc.contract_id
AND TRUNC(ccw.due_date)
<
= TRUNC(SYSDATE)
AND ccw.due_amount > nvl(ccw.received_amount, 0)
AND ccw.write_off_flag
<
> 'FULL'
And ccw.cf_item = '250'
AND ccw.cf_status = 'RELEASE'
AND ccw.cf_direction = 'INFLOW')
AND ('Y' = 'Y' AND EXISTS
(SELECT 1
FROM aut_trx_user_authorize a1, aut_owner_user_authorize a2
WHERE a1.trx_category = 'CONTRACT'
AND a1.trx_id = cc.contract_id
AND trunc(SYSDATE) BETWEEN a1.start_date AND
nvl(a1.end_date, trunc(SYSDATE))
AND a1.user_id = a2.owner_user_id
AND a1.trx_category = a2.trx_category
AND a2.authorized_user_id = ${/session/@user_id}
AND trunc(SYSDATE) BETWEEN a2.start_date AND
nvl(a2.end_date, trunc(SYSDATE))))
And ((decode((SELECT user_name FROM sys_user a WHERE a.user_id = ${/session/@user_id}), 'DYLJJ', 1, 2) = 1
And exists(select 1
from hls_bp_master hb
where hb.bp_id = cc.bp_id_agent_level1
And hb.bp_code in
('D00000028', 'D00000035', 'D00000016', 'D00000021', 'D00000039', 'D00000025', 'D00000034', 'D00000017', 'D00000018', 'D00000024', 'D00000032', 'D00000009', 'D00000012', 'D00000014', 'D00000015', 'D00000023')))
or (decode((SELECT user_name FROM sys_user a WHERE a.user_id = ${/session/@user_id}), 'DYLJJ', 1, 2) = 2))
and nvl(division,'-1') not IN ('70','92')
union all
SELECT
cc.contract_id,
cc.document_type,
cc.document_category,
--cc.contract_name,
(SELECT pp.project_number
FROM prj_project pp
WHERE pp.project_id = cc.project_id) project_number,
cc.bp_id_tenant,
to_char(cc.inception_of_lease, 'yyyy-mm-dd') inception_of_lease,
(SELECT hb.bp_name
FROM hls_bp_master hb, con_contract_bp ccb
WHERE hb.bp_category = 'AGENT'
AND ccb.bp_category = 'AGENT'
AND hb.bp_id = ccb.bp_id
AND ccb.contract_id = cc.contract_id) agent_id_n,
(SELECT bp_name
FROM hls_bp_master
WHERE bp_id = cc.bp_id_tenant
AND enabled_flag = 'Y') bp_id_tenant_desc,
cc.contract_number,
cc.bp_id_agent_level1,
(SELECT extra_nam
FROM hls_bp_master
WHERE bp_id = cc.bp_id_agent_level1
AND enabled_flag = 'Y') bp_id_agent_desc,
cc.owner_user_id,
(SELECT description
FROM sys_user
WHERE user_id = cc.owner_user_id) owner_user_id_desc,
cc.lease_organization,
(SELECT description
FROM hls_lease_organization
WHERE lease_organization = cc.lease_organization
AND enabled_flag =
'Y') lease_organization_desc,
(SELECT a.description value_name
FROM hls_business_type_v a
WHERE a.enabled_flag = 'Y'
AND a.business_type = cc.business_type) business_type_n,
cc.data_class,
(SELECT hd.description
FROM hls_division hd
WHERE hd.enabled_flag = 'Y'
AND hd.division = cc.division) division_n,
cc.division,
null account_due_times,
null account_due_days,
null account_due_amount,
contract_item_query_pkg.calc_business_overdue_times(p_contract_id => cc.contract_id,
p_calc_date => SYSDATE,
p_user_id => -1) business_due_times,
contract_item_query_pkg.calc_bussiness_overdue_days(p_contract_id => cc.contract_id,
p_calc_date => SYSDATE,
p_user_id => -1) business_due_days,
(SELECT SUM(ccc.due_amount)
FROM con_contract_cashflow ccc
WHERE ccc.contract_id = cc.contract_id
AND ccc.cf_status = 'RELEASE'
AND ccc.cf_item IN (250)
AND trunc(ccc.due_date)
<
= trunc(SYSDATE)) -
nvl((SELECT SUM(nvl(cwo.write_off_due_amount, 0))
FROM csh_write_off cwo
WHERE cwo.reversed_flag = 'N'
AND cwo.contract_id = cc.contract_id
AND cwo.cf_item IN ( 250)
And Exists
(Select 1
From con_contract_cashflow cn
Where cn.cashflow_id = cwo.cashflow_id
And cn.cf_status = 'RELEASE'
And trunc(cn.due_date)
<
= trunc(Sysdate))),
0) business_due_amount,
--营业逾期总金额
contract_item_query_pkg.calc_repur_penalty(p_contract_id => cc.contract_id,
p_calc_date => SYSDATE,
p_user_id => -1) over_due_amount,
--营业最早逾期的预定支付日
(SELECT MIN(ccc.due_date)
FROM con_contract_cashflow ccc
WHERE ccc.contract_id = cc.contract_id
AND ccc.due_amount > 0
AND ccc.due_date
<
= sysdate
and ccc.cf_status='RELEASE'
AND ccc.cf_item in (250)
AND ccc.write_off_flag
<
> 'FULL') min_overdue_date,
--营业已收租金
(SELECT SUM(nvl(ccc.received_amount, 0))
FROM con_contract_cashflow ccc
WHERE ccc.contract_id = cc.contract_id
and ccc.cf_status='RELEASE'
AND ccc.cf_item IN
(250)) business_received_amount,
--营业未收租金
(SELECT SUM(ccc.due_amount - nvl(ccc.received_amount, 0))
FROM con_contract_cashflow ccc
WHERE ccc.contract_id = cc.contract_id
and ccc.cf_status='RELEASE'
AND ccc.cf_item IN ( 250)
) business_unreceived_amount,
--会计已收租金
null ac_received_amount,
--会计未收租金
null ac_unreceived_amount,
--机型
(SELECT ccli.modelcd
FROM con_contract_lease_item ccli
WHERE ccli.contract_id = cc.contract_id) modelcd,
--机号
(SELECT ccli.machine_number_70
FROM con_contract_lease_item ccli
WHERE ccli.contract_id = cc.contract_id) machine_number,
to_char(cc.repurchase_date, 'yyyy-mm-dd') lease_start_date,
cc.PAYMENT_PERIOD lease_times,
--租金合计
(SELECT SUM(ccc.due_amount)
FROM con_contract_cashflow ccc
WHERE ccc.contract_id = cc.contract_id
AND ccc.cf_status = 'RELEASE'
AND ccc.cf_item IN (250)
) total_due_amount,
cc.contract_status,
cc.BUSINESS_TYPE,
cc.repurchase_types
,(select to_char(max(t.creation_date), 'yyyy-mm-dd')
from cux_rent_dun_msg t
where t.contract_id = cc.contract_id) dun_date,
cc.send_message,
(select v.code_value_name
From sys_code_values_v v
Where v.code = 'SEND_MESSAGE'
And cc.send_message = v.code_value ) send_message_n,
cc.cell_phone
FROM con_contract cc
WHERE
cc.contract_status='REPURING'
and cc.repurchase_types='ONE_TIME_REPURCHASE'
and EXISTS(SELECT 1
FROM con_contract_cashflow ccw
WHERE ccw.contract_id = cc.contract_id
AND TRUNC(ccw.due_date)
<
= TRUNC(SYSDATE)
AND ccw.due_amount > nvl(ccw.received_amount, 0)
AND ccw.write_off_flag
<
> 'FULL'
And ccw.cf_item = '250'
AND ccw.cf_status = 'RELEASE'
AND ccw.cf_direction = 'INFLOW')
AND ('Y' = 'Y' AND EXISTS
(SELECT 1
FROM aut_trx_user_authorize a1, aut_owner_user_authorize a2
WHERE a1.trx_category = 'CONTRACT'
AND a1.trx_id = cc.contract_id
AND trunc(SYSDATE) BETWEEN a1.start_date AND
nvl(a1.end_date, trunc(SYSDATE))
AND a1.user_id = a2.owner_user_id
AND a1.trx_category = a2.trx_category
AND a2.authorized_user_id = ${/session/@user_id}
AND trunc(SYSDATE) BETWEEN a2.start_date AND
nvl(a2.end_date, trunc(SYSDATE))))
And ((decode((SELECT user_name FROM sys_user a WHERE a.user_id = ${/session/@user_id}), 'DYLJJ', 1, 2) = 1
And exists(select 1
from hls_bp_master hb
where hb.bp_id = cc.bp_id_agent_level1
And hb.bp_code in
('D00000028', 'D00000035', 'D00000016', 'D00000021', 'D00000039', 'D00000025', 'D00000034', 'D00000017', 'D00000018', 'D00000024', 'D00000032', 'D00000009', 'D00000012', 'D00000014', 'D00000015', 'D00000023')))
or (decode((SELECT user_name FROM sys_user a WHERE a.user_id = ${/session/@user_id}), 'DYLJJ', 1, 2) = 2)) and nvl(division,'-1') IN ('70','92')
) t1
#WHERE_CLAUSE#
]]>
</bm:query-sql>
</bm:operation>
</bm:operations>
<bm:query-fields>
<bm:query-field
name=
"contract_number"
queryExpression=
"contract_number like '%'|| ${@contract_number} ||'%'"
/>
<!--<bm:query-field name="bp_id_tenant" queryExpression="t1.bp_id_tenant = ${@bp_id_tenant}"/>-->
<bm:query-field
name=
"bp_id_tenant_desc"
queryExpression=
"t1.bp_id_tenant_desc like '%'|| ${@bp_id_tenant_desc}||'%'"
/>
<!-- <bm:query-field name="contract_name" queryExpression="t1.contract_name like ${@contract_name} "/>-->
<bm:query-field
name=
"project_number"
queryExpression=
"t1.project_number like ${@project_number}"
/>
<bm:query-field
name=
"bp_id_agent_desc"
queryExpression=
"t1.bp_id_agent_desc like '%'|| ${@bp_id_agent_desc}||'%'"
/>
<!-- <bm:query-field name="lease_start_date_from" queryExpression="t1.inception_of_lease >=to_date(${@lease_start_date_from},'yyyy-mm-dd')"/>
<bm:query-field name="lease_start_date_to" queryExpression="t1.inception_of_lease <=to_date(${@lease_start_date_to},'yyyy-mm-dd')"/>
-->
<bm:query-field
name=
"division"
queryExpression=
"t1.division = ${@division}"
/>
<bm:query-field
name=
"lease_start_date_from"
queryExpression=
"t1.inception_of_lease >=${@lease_start_date_from}"
/>
<bm:query-field
name=
"lease_start_date_to"
queryExpression=
"t1.inception_of_lease <=${@lease_start_date_to}"
/>
<bm:query-field
name=
"lease_times_from"
queryExpression=
"t1.lease_times >=${@lease_times_from}"
/>
<bm:query-field
name=
"lease_times_to"
queryExpression=
"t1.lease_times <=${@lease_times_to}"
/>
<bm:query-field
name=
"received_times_from"
queryExpression=
"t1.received_times >=${@received_times_from}"
/>
<bm:query-field
name=
"received_times_to"
queryExpression=
"t1.received_times <=${@received_times_to}"
/>
<bm:query-field
name=
"agent_id_n"
queryExpression=
"t1.agent_id_n = ${@agent_id_n}"
/>
<bm:query-field
name=
"promised_return_date_from"
queryExpression=
"t1.promised_return_date >= to_date(${@promised_return_date_from},'yyyy-mm-dd')"
/>
<bm:query-field
name=
"promised_return_date_to"
queryExpression=
"t1.promised_return_date <= to_date(${@promised_return_date_to},'yyyy-mm-dd')"
/>
<bm:query-field
name=
"account_due_times_from"
queryExpression=
"t1.account_due_times >= ${@account_due_times_from}"
/>
<bm:query-field
name=
"account_due_times_to"
queryExpression=
"t1.account_due_times <= ${@account_due_times_to}"
/>
<bm:query-field
name=
"account_due_days_from"
queryExpression=
"t1.account_due_days >= ${@account_due_days_from}"
/>
<bm:query-field
name=
"account_due_days_to"
queryExpression=
"t1.account_due_days <= ${@account_due_days_to}"
/>
<bm:query-field
name=
"account_due_amount_from"
queryExpression=
"t1.account_due_amount >= ${@account_due_amount_from}"
/>
<bm:query-field
name=
"account_due_amount_to"
queryExpression=
"t1.account_due_amount <= ${@account_due_amount_to}"
/>
<bm:query-field
name=
"business_due_times_from"
queryExpression=
"t1.business_due_times >= ${@business_due_times_from}"
/>
<bm:query-field
name=
"business_due_times_to"
queryExpression=
"t1.business_due_times <= ${@business_due_times_to}"
/>
<bm:query-field
name=
"business_due_days_from"
queryExpression=
"t1.business_due_days >= ${@business_due_days_from}"
/>
<bm:query-field
name=
"business_due_days_to"
queryExpression=
"t1.business_due_days <= ${@business_due_days_to}"
/>
<bm:query-field
name=
"business_due_amount_from"
queryExpression=
"t1.business_due_amount >= ${@business_due_amount_from}"
/>
<bm:query-field
name=
"business_due_amount_to"
queryExpression=
"t1.business_due_amount <= ${@business_due_amount_to}"
/>
<bm:query-field
name=
"owner_user_id"
queryExpression=
"t1.owner_user_id = ${@owner_user_id}"
/>
<bm:query-field
name=
"lease_organization"
queryExpression=
"t1.lease_organization = ${@lease_organization}"
/>
<bm:query-field
name=
"business_type_n"
queryExpression=
"t1.business_type = ${@business_type}"
/>
<bm:query-field
name=
"send_message"
queryExpression=
"t1.send_message = ${@send_message}"
/>
</bm:query-fields>
<bm:data-filters>
<bm:data-filter
enforceOperations=
"query"
expression=
"t1.data_class = 'NORMAL'"
/>
</bm:data-filters>
</bm:model>
src/main/webapp/modules/cont/CON620/con_contract_account_detail.lview
View file @
a9ff8ccd
...
...
@@ -42,6 +42,13 @@
document.getElementById("${/parameter/@layout_code}_F_BASIC_CON_CONTRACT_MACHINE_NUMBER").style.display = "none";
}
}
if('${/parameter/@repurchase_types}' == 'ONE_TIME_REPURCHASE'){
if(document.getElementById("${/parameter/@layout_code}_F_BASIC_CON_CONTRACT_LEASE_TIMES")){
document.getElementById("${/parameter/@layout_code}_F_BASIC_CON_CONTRACT_LEASE_TIMES_prompt").style.display = "none";
document.getElementById("${/parameter/@layout_code}_F_BASIC_CON_CONTRACT_LEASE_TIMES").style.display = "none";
}
}
});
]]>
</script>
...
...
src/main/webapp/modules/cont/CON620/con_contract_rent_detail.lview
View file @
a9ff8ccd
...
...
@@ -246,6 +246,13 @@
$('CON_DUE_DETAIL_G_SEAL_INFO_hls_document_use_seal_layout_grid_id').hide();
}
}
if('${/parameter/@repurchase_types}'
==
'ONE_TIME_REPURCHASE'){
if(document.getElementById("${/parameter/@layout_code}_F_BASIC_CON_CONTRACT_LEASE_TIMES")){
document.getElementById("${/parameter/@layout_code}_F_BASIC_CON_CONTRACT_LEASE_TIMES_prompt")
.style.display =
"none"
;
document.getElementById("${/parameter/@layout_code}_F_BASIC_CON_CONTRACT_LEASE_TIMES")
.style.display =
"none"
;
}
}
});
//新增催款函pdf打印(盖章)
...
...
src/main/webapp/modules/cont/CON620/con_contract_rent_dun_query.lview
View file @
a9ff8ccd
...
...
@@ -28,6 +28,7 @@
function CON601_con_contract_query() {
$('CON620_contract_result_ds').query();
$('CON620_contract_repur_result_ds').query();
$('con620_one_time_repurchase_result_ds').query();
}
...
...
@@ -157,6 +158,7 @@
param['document_id'] = current_record.get('contract_id');
// con601_param_set_value(param);
param['document_category'] = 'CONTRACT';
param['repurchase_types'] = current_record.get('repurchase_types');
if (current_record.get('contract_status') == 'REPURING') {
param['function_code'] = 'CON620QRP';
} else {
...
...
@@ -195,7 +197,6 @@
}
function contract_business_link(record_id, ds_id) {
debugger;
var current_record = $(ds_id).findById(record_id);
var record = current_record;
var saveData = [];
...
...
@@ -209,6 +210,7 @@
param['document_id'] = current_record.get('contract_id');
// con601_param_set_value(param);
param['document_category'] = 'CONTRACT';
param['repurchase_types'] = current_record.get('repurchase_types');
if (current_record.get('contract_status') == 'REPURING') {
param['function_code'] = 'CON620RP';
} else {
...
...
@@ -379,8 +381,9 @@
function CON601_dun_msg_money() {
var records = $('CON620_contract_result_ds').getSelected();
var records_repur = $('CON620_contract_repur_result_ds').getSelected();
var records_repur_one = $('con620_one_time_repurchase_result_ds').getSelected();
if (records_repur.length > 0) {
if (records_repur.length > 0
||records_repur_one.length > 0
) {
$L.showInfoMessage('提示', '解约回购合同不在催收短信发送范围!');
return;
}
...
...
@@ -462,7 +465,8 @@
function
CON601_dun_msg_no_money()
{
var
records =
$('CON620_contract_result_ds').getSelected();
var
records_repur =
$('CON620_contract_repur_result_ds').getSelected();
if
(records_repur.length
>
0) {
var
records_repur_one =
$('con620_one_time_repurchase_result_ds').getSelected();
if
(records_repur.length
>
0||records_repur_one.length > 0) {
$L.showInfoMessage('提示', '解约回购合同不在催收短信发送范围!');
return;
}
...
...
@@ -621,6 +625,11 @@
selectable=
"true"
selectionModel=
"multiple"
>
</a:dataSet>
<!--<a:dataSet id="bgt_contract_payment_detail_line_ds" fetchAll="true" model="cont.CON620.bgt_contract_payment_detail_line"/>-->
<a:dataSet
id=
"con620_one_time_repurchase_result_ds"
autoPageSize=
"true"
autoQuery=
"true"
model=
"cont.CON620.con_contract_dun_for_repur_one_time_query"
queryDataSet=
"CON620_contract_query_ds"
queryUrl=
"${/request/@context_path}/autocrud/cont.CON620.con_contract_dun_for_repur_one_time_query/query"
selectable=
"true"
selectionModel=
"multiple"
>
</a:dataSet>
</a:dataSets>
<a:screenBody>
<a:screenTopToolbar>
...
...
@@ -844,6 +853,50 @@
</a:columns>
</a:grid>
</a:tab>
<a:tab
prompt=
"一次性回购逾期租金"
width=
"130"
>
<a:grid
id=
"CON620_contract_repur_result_one_rid_ds"
bindTarget=
"con620_one_time_repurchase_result_ds"
marginHeight=
"215"
marginWidth=
"50"
navBar=
"true"
>
<a:columns>
<a:column
name=
"bp_id_agent_desc"
align=
"center"
prompt=
"代理店"
lock=
"true"
width=
"100"
/>
<a:column
name=
"contract_number"
lock=
"true"
prompt=
"HLS.CONTRACT_NUMBER"
renderer=
"CON620_render_contract_dun_grid"
width=
"100"
/>
<a:column
name=
"bp_id_tenant_desc"
lock=
"true"
prompt=
"承租人名称"
showTitle=
"true"
width=
"100"
align=
"center"
/>
<a:column
name=
"min_overdue_date"
align=
"center"
prompt=
"预定支付日"
width=
"100"
renderer=
"render_formatDate"
/>
<a:column
name=
"min_overdue_times"
align=
"center"
prompt=
"预定支付期数"
width=
"100"
/>
<a:column
prompt=
"营业"
>
<a:column
name=
"business_due_times"
align=
"center"
prompt=
"逾期期数"
width=
"100"
/>
<a:column
name=
"business_due_days"
align=
"center"
prompt=
"逾期天数"
width=
"100"
/>
<a:column
name=
"business_due_amount"
align=
"right"
prompt=
"逾期金额"
renderer=
"CON620_render_contract_dun_grid"
footerRenderer=
"summaryRenderer"
width=
"100"
/>
<a:column
name=
"over_due_amount"
align=
"right"
prompt=
"违约金"
renderer=
"Leaf.formatMoney"
footerRenderer=
"summaryRenderer"
width=
"100"
/>
<a:column
name=
"business_received_amount"
align=
"right"
prompt=
"已收租金"
renderer=
"CON620_render_contract_dun_grid"
footerRenderer=
"summaryRenderer"
width=
"100"
/>
<a:column
name=
"business_unreceived_amount"
align=
"right"
prompt=
"未收租金"
renderer=
"Leaf.formatMoney"
footerRenderer=
"summaryRenderer"
width=
"100"
/>
</a:column>
<a:column
name=
"business_type_n"
align=
"center"
prompt=
"业务类型"
width=
"60"
/>
<a:column
name=
"division_n"
align=
"center"
prompt=
"租赁物"
width=
"120"
/>
<a:column
name=
"modelcd"
align=
"center"
prompt=
"机型"
width=
"100"
/>
<a:column
name=
"machine_number"
align=
"center"
prompt=
"机器号码"
width=
"100"
/>
<a:column
name=
"send_message_n"
align=
"center"
prompt=
"发送催收短信"
width=
"120"
/>
<a:column
name=
"dun_date"
align=
"center"
prompt=
"催收短信发送日期"
width=
"120"
/>
</a:columns>
</a:grid>
</a:tab>
</a:tabs>
</a:tabPanel>
</a:screenBody>
...
...
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