Commit a9ff8ccd authored by 陆正友's avatar 陆正友

租金催收新增一次性回购tap页

parent e12b3c18
...@@ -42,6 +42,13 @@ ...@@ -42,6 +42,13 @@
document.getElementById("${/parameter/@layout_code}_F_BASIC_CON_CONTRACT_MACHINE_NUMBER").style.display = "none"; 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> ]]></script>
......
...@@ -246,6 +246,13 @@ ...@@ -246,6 +246,13 @@
$('CON_DUE_DETAIL_G_SEAL_INFO_hls_document_use_seal_layout_grid_id').hide(); $('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打印(盖章) //新增催款函pdf打印(盖章)
......
...@@ -28,6 +28,7 @@ ...@@ -28,6 +28,7 @@
function CON601_con_contract_query() { function CON601_con_contract_query() {
$('CON620_contract_result_ds').query(); $('CON620_contract_result_ds').query();
$('CON620_contract_repur_result_ds').query(); $('CON620_contract_repur_result_ds').query();
$('con620_one_time_repurchase_result_ds').query();
} }
...@@ -157,6 +158,7 @@ ...@@ -157,6 +158,7 @@
param['document_id'] = current_record.get('contract_id'); param['document_id'] = current_record.get('contract_id');
// con601_param_set_value(param); // con601_param_set_value(param);
param['document_category'] = 'CONTRACT'; param['document_category'] = 'CONTRACT';
param['repurchase_types'] = current_record.get('repurchase_types');
if (current_record.get('contract_status') == 'REPURING') { if (current_record.get('contract_status') == 'REPURING') {
param['function_code'] = 'CON620QRP'; param['function_code'] = 'CON620QRP';
} else { } else {
...@@ -195,7 +197,6 @@ ...@@ -195,7 +197,6 @@
} }
function contract_business_link(record_id, ds_id) { function contract_business_link(record_id, ds_id) {
debugger;
var current_record = $(ds_id).findById(record_id); var current_record = $(ds_id).findById(record_id);
var record = current_record; var record = current_record;
var saveData = []; var saveData = [];
...@@ -209,6 +210,7 @@ ...@@ -209,6 +210,7 @@
param['document_id'] = current_record.get('contract_id'); param['document_id'] = current_record.get('contract_id');
// con601_param_set_value(param); // con601_param_set_value(param);
param['document_category'] = 'CONTRACT'; param['document_category'] = 'CONTRACT';
param['repurchase_types'] = current_record.get('repurchase_types');
if (current_record.get('contract_status') == 'REPURING') { if (current_record.get('contract_status') == 'REPURING') {
param['function_code'] = 'CON620RP'; param['function_code'] = 'CON620RP';
} else { } else {
...@@ -379,8 +381,9 @@ ...@@ -379,8 +381,9 @@
function CON601_dun_msg_money() { function CON601_dun_msg_money() {
var records = $('CON620_contract_result_ds').getSelected(); var records = $('CON620_contract_result_ds').getSelected();
var records_repur = $('CON620_contract_repur_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('提示', '解约回购合同不在催收短信发送范围!'); $L.showInfoMessage('提示', '解约回购合同不在催收短信发送范围!');
return; return;
} }
...@@ -462,7 +465,8 @@ ...@@ -462,7 +465,8 @@
function CON601_dun_msg_no_money() { function CON601_dun_msg_no_money() {
var records = $('CON620_contract_result_ds').getSelected(); var records = $('CON620_contract_result_ds').getSelected();
var records_repur = $('CON620_contract_repur_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('提示', '解约回购合同不在催收短信发送范围!'); $L.showInfoMessage('提示', '解约回购合同不在催收短信发送范围!');
return; return;
} }
...@@ -621,6 +625,11 @@ ...@@ -621,6 +625,11 @@
selectable="true" selectionModel="multiple"> selectable="true" selectionModel="multiple">
</a:dataSet> </a:dataSet>
<!--<a:dataSet id="bgt_contract_payment_detail_line_ds" fetchAll="true" model="cont.CON620.bgt_contract_payment_detail_line"/>--> <!--<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:dataSets>
<a:screenBody> <a:screenBody>
<a:screenTopToolbar> <a:screenTopToolbar>
...@@ -844,6 +853,50 @@ ...@@ -844,6 +853,50 @@
</a:columns> </a:columns>
</a:grid> </a:grid>
</a:tab> </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:tabs>
</a:tabPanel> </a:tabPanel>
</a:screenBody> </a:screenBody>
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment