Commit 3a66cf9b authored by niminmin's avatar niminmin

修改催收页面字段

parent ae79bd14
<?xml version="1.0" encoding="UTF-8"?>
<!--
$Author: lpc 9874
$Date:
$Revision: 1.0
$Purpose: 租赁物查看
-->
<a:screen xmlns:a="http://www.leaf-framework.org/application" xmlns:s="leaf.plugin.script" customizationEnabled="true" dynamiccreateenabled="true" trace="true">
<a:init-procedure>
<s:server-script import="contract_print_path.js"><![CDATA[
$ctx.parameter.file_path = con_print_path['con_print_path'];
$ctx.parameter.tomcat_source = con_print_path['tomcat_source'];
]]></s:server-script>
</a:init-procedure>
<a:view>
<a:link id="${/parameter/@layout_code}${/parameter/@pre_layout}prj500_cdd_uploadFile_id" url="${/request/@context_path}/uploadFile.lview"/>
<a:link id="${/parameter/@layout_code}${/parameter/@pre_layout}prj500_cdd_downloadFile_id" url="${/request/@context_path}/downloadFile.lview"/>
<link href="${/request/@context_path}/css/lightbox.css" rel="stylesheet" type="text/css"/>
<script src="${/request/@context_path}/javascripts/lightbox.js" type="text/javascript"/>
<a:link id="contract_accounting_wait_link_id" model="cont.CON505N.contract_accounting_wait" modelaction="update"/>
<a:link id="contract_accounting_finish_link_id" model="cont.CON505N.contract_accounting_finish" modelaction="update"/>
<script type="text/javascript"><![CDATA[
Ext.ux.Lightbox.register('a[ref=img]', true);
//保存submitsuccess调用
window['${/parameter/@layout_code}_on_layout_dynamic_submitsuccess'] = function(ds, record, res, bp_seq) {
window['${/parameter/@layout_code}_unlock_layout_dynamic_window']();
var con_accounting_ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'con_accounting_manage');
var accounting_record = $(con_accounting_ds_id).getCurrentRecord();
$('CONTRACT_LEGAL_MODIFY_G_CASHFLOW_con_contract_cashflow_ds').setQueryParameter('con_accounting_id', accounting_record.get('con_accounting_id'));
$('CONTRACT_LEGAL_MODIFY_G_CASHFLOW_con_contract_cashflow_ds').query();
};
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() {
};
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function() {
};
window['${/parameter/@layout_code}_user_button3_layout_dynamic_click'] = function() {};
window['${/parameter/@layout_code}_user_button4_layout_dynamic_click'] = function() {};
function view_pdf(attachment_id) {
Leaf.request({
url: '${/request/@context_path}/autocrud/fnd.fnd_atm_attachment/query',
para: {
attachment_id: attachment_id
},
success: function(res) {
var path = res.result.record.file_path;
path = path.substr(path.indexOf('hls_attachment'));
var tomcat_source = '${/parameter/@tomcat_source}';
var source_path = 'http://' + window.location.host + '/' + tomcat_source + '/' + path;
var oWin = window.open(source_path);
},
scope: this
});
}
function upload_file(id, name, query_only) {
var record = window['${/parameter/@layout_code}_hls_link_render_record'][id + '---' + name];
if (record.get('con_accounting_attch_id')) {
var url;
if (query_only == 'Y') {
url = $('${/parameter/@layout_code}${/parameter/@pre_layout}prj500_cdd_downloadFile_id').getUrl() + '?table_name=CON_ACCOUNTING_MANAGE_ATTCH&header_id=' + record.get('con_accounting_attch_id');
} else {
url = $('${/parameter/@layout_code}${/parameter/@pre_layout}prj500_cdd_uploadFile_id').getUrl() + '?table_name=CON_ACCOUNTING_MANAGE_ATTCH&header_id=' + record.get('con_accounting_attch_id');
}
var win = new Leaf.Window({
url: url,
title: '${l:HLS.SUPPORTING_DOCUMENT}',
id: 'prj500_cdd_uploadFile_screen_id',
width: 850,
height: 400
});
win.on('close', function() {
$('CONTRACT_LEGAL_MODIFY_ACY_con_accounting_manage_attch_ds').setQueryParameter('con_accounting_id', record.get('con_accounting_id'));
// $('CONTRACT_LEGAL_MODIFY_ACY_con_accounting_manage_attch_ds').setQueryParameter('con_accounting_attch_id', record.get('con_accounting_attch_id'));
$('CONTRACT_LEGAL_MODIFY_ACY_con_accounting_manage_attch_ds').query();
});
} else {
Leaf.showMessage('${l:HLS.PROMPT}', '请先保存!');
}
};
//超链接渲染
window['${/parameter/@layout_code}_dynamic_link_renderer'] = function(value, record, name, config_record) {
window['${/parameter/@layout_code}_hls_link_render_record'][record.id + '---' + name] = record;
if (name == 'attachment') {
link_function = 'upload_file';
if (record.get('attach_count') == 0 || !record.get('attach_count')) {
return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\',\'' + config_record.get('query_only') + '\');">' + config_record.get('prompt') + '</a>';
} else {
return '<a href="javascript:window[\'' + link_function + '\'](\'' + record.id + '\',\'' + name + '\',\'' + config_record.get('query_only') + '\');">' + config_record.get('prompt') + '(' + record.get('attach_count') + ')' + '</a>';
}
} else if (name == 'attach_file_name') {
//
if (value != null) {
var link = '${/request/@context_path}/atm_download.lsc?attachment_id=';
var str = value.split(';;');
var url = '';
for (var i = 0;i < str.length;i++) {
var temp = str[i].split('--');
if (!Leaf.isEmpty(temp[0])) {
var file_name = temp[0].toUpperCase();
var file_suffix = temp[0].substr(temp[0].lastIndexOf('.') + 1).toUpperCase();
if (file_name.indexOf('.PDF') >= 0) {
url = url + '<a href=javascript:view_pdf(\'' + temp[1] + '\')>' + temp[0] + '</a>' + ',';
} else if (file_suffix == 'BMP' || file_suffix == 'JPG' || file_suffix == 'JPEG' || file_suffix == 'PNG' || file_suffix == 'GIF') {
url = url + '<a href=' + link + temp[1] + ' ref="img">' + temp[0] + '</a>' + ',';
} else {
url = url + '<a href=' + link + temp[1] + '>' + temp[0] + '</a>' + ',';
}
}
}
return url;
}
}
};
]]></script>
</a:view>
</a:screen>
......@@ -3,221 +3,206 @@
<a:init-procedure/>
<a:view>
<a:link id="con_dun_record_id" url="${/request/@context_path}/modules/cont/CON620/con_dun_record.lview"/>
<a:link id="hls_bp_master_id" url="${/request/@context_path}/modules/hls/HLS306/hls_bp_master_details_check.lview"/>
<a:link id="con_contract_update_link_id" url="${/request/@context_path}/modules/cont/CON505/con_contract_modify.lview"/>
<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_lawyer_letter_print_link_id" url="${/request/@context_path}/modules/cont/CON620/con_contract_lawyer_letter_print.lview"/>
<a:link id="penalty_change_id" url="${/request/@context_path}/modules/cont/CON747/con_contract_penatly_change_req_detail.lview"/>
<a:link id="con_contract_dun_detail_link_id" url="${/request/@context_path}/modules/cont/CON620/con_contract_rent_detail.lview"/>
<a:link id="hls_bp_master_id"
url="${/request/@context_path}/modules/hls/HLS306/hls_bp_master_details_check.lview"/>
<a:link id="con_contract_update_link_id"
url="${/request/@context_path}/modules/cont/CON505/con_contract_modify.lview"/>
<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_lawyer_letter_print_link_id"
url="${/request/@context_path}/modules/cont/CON620/con_contract_lawyer_letter_print.lview"/>
<a:link id="penalty_change_id"
url="${/request/@context_path}/modules/cont/CON747/con_contract_penatly_change_req_detail.lview"/>
<a:link id="con_contract_dun_detail_link_id"
url="${/request/@context_path}/modules/cont/CON620/con_contract_rent_detail.lview"/>
<script type="text/javascript"><![CDATA[
function CON601_con_contract_query() {
$('CON620_contract_result_ds').query();
}
function CON601_con_contract_reset() {
$('CON620_contract_query_ds').reset();
}
function penalty_change_btn() {
// Leaf.go(url);
// var contract_id=$('CON620_contract_result_ds').getSelected().get('contract_id');
var url=$('penalty_change_id').getUrl();
// var url=$('penalty_change_id').getUrl()+'?contract_id='+contract_id;
new Leaf.Window({
id: 'penalty_change_window',
fullScreen:true,
url: url
});
}
function CON601_con_contract_print() {
//待报表做好,在此处写
var contract_id = $('CON620_contract_result_ds').getSelected()[0].get('contract_id');
function CON601_con_contract_query() {
$('CON620_contract_result_ds').query();
}
new Leaf.Window({
id: 'con_contract_lawyer_letter_print_detail_winid',
params: {
contract_id: contract_id,
winid: 'con_contract_lawyer_letter_print_detail_winid'
},
url: $('con_contract_lawyer_letter_print_link_id').getUrl(),
title: '${l:CON505.CON_CONTENT_PRINT}',
width: 600,
height: 400
});
function CON601_con_contract_reset() {
$('CON620_contract_query_ds').reset();
}
}
function CON620_render_contract_dun_grid(value, record, name) {
if (name == 'contract_number') {
if (record.get('overdue_times') > 1) {
return '<u><a style="color:red" href="javascript:contract_link(' + record.id + ');">' + value + '</a></u>';
} else {
return '<a href="javascript:contract_link(' + record.id + ');">' + value + '</a>';
}
} else if (name == 'bp_id_tenant_desc') {
//商业伙伴查询页面要做好,然后在此处关联。
function CON620_render_contract_dun_grid(value, record, name) {
if (name == 'contract_number') {
if (record.get('overdue_times') > 1) {
return '<u><a style="color:red" href="javascript:contract_link(' + record.id + ');">' + value + '</a></u>';
} else {
return '<a href="javascript:contract_link(' + record.id + ');">' + value + '</a>';
}
} else if (name == 'bp_id_tenant_desc') {
//商业伙伴查询页面要做好,然后在此处关联。
if (record.get('overdue_times') > 1) {
return '<u><a style="color:red" href="javascript:bp_id_tenant_desc_link(' + record.get('contract_id') + ');">' + value + '</a></u>';
} else {
return '<a href="javascript:bp_id_tenant_desc_link(' + record.get('contract_id') + ');">' + value + '</a>';
}
} else if (name == 'bp_id_agent_desc') {
if (record.get('bp_id_agent_desc') == null) {
return;
} else {
if (record.get('overdue_times') > 1) {
return '<u><a style="color:red" href="javascript:bp_id_tenant_desc_link(' + record.get('contract_id') + ');">' + value + '</a></u>';
} else {
return '<a href="javascript:bp_id_tenant_desc_link(' + record.get('contract_id') + ');">' + value + '</a>';
}
} else if (name == 'bp_id_agent_desc') {
if (record.get('bp_id_agent_desc') == null) {
return;
return '<u><a style="color:red" href="javascript:bp_id_agent_desc_link(' + record.get('bp_id_agent_level1') + ',\'' + record.get('bp_id_agent_class') + '\')">' + value + '</a></u>';
} else {
if (record.get('overdue_times') > 1) {
return '<u><a style="color:red" href="javascript:bp_id_agent_desc_link(' + record.get('bp_id_agent_level1') + ',\'' + record.get('bp_id_agent_class') + '\')">' + value + '</a></u>';
} else {
return '<a href="javascript:bp_id_agent_desc_link(' + record.get('bp_id_agent_level1') + ',\'' + record.get('bp_id_agent_class') + '\')">' + value + '</a>';
}
return '<a href="javascript:bp_id_agent_desc_link(' + record.get('bp_id_agent_level1') + ',\'' + record.get('bp_id_agent_class') + '\')">' + value + '</a>';
}
}
}
}
function bp_id_tenant_desc_link(contract_id) {
var url = $('con_dun_record_id').getUrl() + '?contract_id=' + contract_id;
function bp_id_tenant_desc_link(contract_id) {
var url = $('con_dun_record_id').getUrl() + '?contract_id=' + contract_id;
var win = new Leaf.Window({
id: 'con_dun_record_window',
url: url,
title: '催收记录',
fullScreen: true
});
win.on('close', function() {
$('CON620_contract_result_ds').query();
});
}
var win = new Leaf.Window({
id: 'con_dun_record_window',
url: url,
title: '催收记录',
fullScreen: true
});
win.on('close', function () {
$('CON620_contract_result_ds').query();
});
}
function bp_id_agent_desc_link(bp_id, bp_class) {
var url = $('hls_bp_master_id').getUrl();
new Leaf.Window({
id: 'hls_bp_detail_winId',
url: url,
params: {
bp_id: bp_id,
bp_class: bp_class,
winId: 'hls_bp_detail_winId'
},
title: '${l:HLS212.BP_MASTER_MAINTAIN}',
fullScreen: true
});
function bp_id_agent_desc_link(bp_id, bp_class) {
var url = $('hls_bp_master_id').getUrl();
new Leaf.Window({
id: 'hls_bp_detail_winId',
url: url,
params: {
bp_id: bp_id,
bp_class: bp_class,
winId: 'hls_bp_detail_winId'
},
title: '${l:HLS212.BP_MASTER_MAINTAIN}',
fullScreen: true
});
}
}
function con601_param_set_value(param) {
param['document_category'] = 'CONTRACT';
param['function_code'] = 'CON620D';
param['function_usage'] = 'QUERY';
param['maintain_type'] = 'QUERY';
param['url_title'] = '催收详情';
param['company_id'] = '${/session/@company_id}';
//
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'con_contract_dun_detail_link_id', 'CON620_contract_result_ds');
}
function con601_param_set_value(param) {
param['document_category'] = 'CONTRACT';
param['function_code'] = 'CON620D';
param['function_usage'] = 'UPDATE';
param['maintain_type'] = 'UPDATE';
param['url_title'] = '催收详情';
param['company_id'] = '${/session/@company_id}';
//
hls_doc_get_layout_code('con_contract_get_layout_code_link_id', param, 'con_contract_dun_detail_link_id', 'CON620_contract_result_ds');
}
function contract_link(id) {
//
var current_record = $('CON620_contract_result_ds').findById(id);
var record = current_record;
var saveData = [];
for (var k in record.data) {
var item = record.data[k];
if (item && item.xtype == 'dataset') {
delete record.data[k];
}
function contract_link(id) {
//
var current_record = $('CON620_contract_result_ds').findById(id);
var record = current_record;
var saveData = [];
for (var k in record.data) {
var item = record.data[k];
if (item && item.xtype == 'dataset') {
delete record.data[k];
}
var param = record.data;
param['document_id'] = current_record.get('contract_id');
con601_param_set_value(param);
}
var param = record.data;
param['document_id'] = current_record.get('contract_id');
con601_param_set_value(param);
}
function summaryRenderer(datas, name) {
var sum = 0;
var sum2 = 0;
var sum3 = 0;
var sum4 = 0;
var sum5 = 0;
for (var i = 0;i < datas.length;i++) {
record = datas[i];
if (name == "overdue_amount") {
var t_1 = record.get("overdue_amount");
var t_2 = parseFloat(t_1);
if (!isNaN(t_2)) {
sum += t_2;
}
}
if (name == "remain_principal") {
var d_1 = record.get("remain_principal");
var d_2 = parseFloat(d_1);
if (!isNaN(d_2)) {
sum2 += d_2;
}
}
function summaryRenderer(datas, name) {
if (name == "penalty") {
var p_1 = record.get("penalty");
var p_2 = parseFloat(p_1);
if (!isNaN(p_2)) {
sum3 += p_2;
}
}
if (name == "promised_return_amount") {
var r_1 = record.get("promised_return_amount");
var r_2 = parseFloat(r_1);
if (!isNaN(r_2)) {
sum4 += r_2;
}
}
if (name == "deposit") {
var s_1 = record.get("deposit");
var s_2 = parseFloat(s_1);
if (!isNaN(s_2)) {
sum5 += s_2;
}
}
}
if (name == "overdue_days") {
return '<div align="right">合计:</div>';
}
var sum = 0;
var sum2 = 0;
var sum3 = 0;
var sum4 = 0;
var sum5 = 0;
for (var i = 0; i < datas.length; i++) {
record = datas[i];
if (name == "overdue_amount") {
return '<font color="red">' + Leaf.formatNumber(sum, 2) + '</font>';
var t_1 = record.get("overdue_amount");
var t_2 = parseFloat(t_1);
if (!isNaN(t_2)) {
sum += t_2;
}
}
if (name == "remain_principal") {
return '<font color="red">' + Leaf.formatNumber(sum2, 2) + '</font>';
var d_1 = record.get("remain_principal");
var d_2 = parseFloat(d_1);
if (!isNaN(d_2)) {
sum2 += d_2;
}
}
if (name == "penalty") {
return '<font color="red">' + Leaf.formatNumber(sum3, 2) + '</font>';
var p_1 = record.get("penalty");
var p_2 = parseFloat(p_1);
if (!isNaN(p_2)) {
sum3 += p_2;
}
}
if (name == "promised_return_amount") {
return '<font color="red">' + Leaf.formatNumber(sum4, 2) + '</font>';
var r_1 = record.get("promised_return_amount");
var r_2 = parseFloat(r_1);
if (!isNaN(r_2)) {
sum4 += r_2;
}
}
if (name == "deposit") {
return '<font color="red">' + Leaf.formatNumber(sum5, 2) + '</font>';
var s_1 = record.get("deposit");
var s_2 = parseFloat(s_1);
if (!isNaN(s_2)) {
sum5 += s_2;
}
}
}
if (name == "overdue_days") {
return '<div align="right">合计:</div>';
}
if (name == "overdue_amount") {
return '<font color="red">' + Leaf.formatNumber(sum, 2) + '</font>';
}
if (name == "remain_principal") {
return '<font color="red">' + Leaf.formatNumber(sum2, 2) + '</font>';
}
if (name == "penalty") {
return '<font color="red">' + Leaf.formatNumber(sum3, 2) + '</font>';
}
if (name == "promised_return_amount") {
return '<font color="red">' + Leaf.formatNumber(sum4, 2) + '</font>';
}
if (name == "deposit") {
return '<font color="red">' + Leaf.formatNumber(sum5, 2) + '</font>';
}
}
function onIndexChange(ds, record, name, value, oldvalue) {
$('bgt_contract_payment_detail_line_ds').setQueryParameter('contract_id', record.get('contract_id'));
$('bgt_contract_payment_detail_line_ds').query();
}
function onIndexChange(ds, record, name, value, oldvalue) {
$('bgt_contract_payment_detail_line_ds').setQueryParameter('contract_id', record.get('contract_id'));
function ds_query(ds) {
if (ds.getAll().length == 0) {
$('bgt_contract_payment_detail_line_ds').setQueryParameter('contract_id', null);
$('bgt_contract_payment_detail_line_ds').query();
}
}
function ds_query(ds) {
if(ds.getAll().length==0) {
$('bgt_contract_payment_detail_line_ds').setQueryParameter('contract_id', null);
$('bgt_contract_payment_detail_line_ds').query();
}
}
]]></script>
<a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
<a:dataSets>
<a:dataSet id="CON601_lease_organization_name_ds" loadData="true" model="basic.hls_lease_organization_for_lov"/>
<a:dataSet id="con501_division_name_ds" loadData="true" model="basic.hls_division_for_lov"/>
<a:dataSet id="business_type_ds">
<a:datas>
<a:record code_value="LEASE" code_value_name="直租"/>
</a:datas>
</a:dataSet>
<a:dataSet id="CON601_lease_organization_name_ds" loadData="true"
model="basic.hls_lease_organization_for_lov"/>
<a:dataSet id="CON620_contract_query_ds" autoCreate="true">
<a:fields>
<a:field name="bp_id_tenant_n" autoComplete="true" lovGridHeight="350" lovHeight="500" lovLabelWidth="100" lovService="cont.CON541.hls_bp_master_v_for_lov?bp_category=TENANT" lovWidth="520" title="HLS.BP_TITLE">
<a:field name="bp_id_tenant_n" autoComplete="true" lovGridHeight="350" lovHeight="500"
lovLabelWidth="100" lovService="cont.CON541.hls_bp_master_v_for_lov?bp_category=TENANT"
lovWidth="520" title="HLS.BP_TITLE">
<a:mapping>
<a:map from="bp_name" to="bp_id_tenant_n"/>
<a:map from="bp_id" to="bp_id_tenant"/>
......@@ -226,16 +211,24 @@
<a:field name="bp_id_tenant"/>
<a:field name="contract_number" typeCase="Upper"/>
<a:field name="overdue_times"/>
<a:field name="owner_user_id_desc" lovGridHeight="350" lovHeight="475" lovService="cont.CON620.sys_user_for_lov" lovWidth="520" title="出单人">
<a:field name="owner_user_id_desc" lovGridHeight="350" lovHeight="475"
lovService="cont.CON620.sys_user_for_lov" lovWidth="520" title="出单人">
<a:mapping>
<a:map from="user_id" to="owner_user_id"/>
<a:map from="description" to="owner_user_id_desc"/>
</a:mapping>
</a:field>
<a:field name="lease_organization_name" displayField="description" options="CON601_lease_organization_name_ds" returnField="lease_organization" valueField="lease_organization"/>
<a:field name="lease_organization_name" displayField="description"
options="CON601_lease_organization_name_ds" returnField="lease_organization"
valueField="lease_organization"/>
<a:field name="business_type_n" displayField="code_value_name" options="business_type_ds" returnField="business_type" valueField="code_value"/>
<a:field name="division_n" displayField="description" options="con501_division_name_ds" returnField="division" valueField="division"/>
</a:fields>
</a:dataSet>
<a:dataSet id="CON620_contract_result_ds" autoPageSize="true" autoQuery="true" model="cont.CON620.con_contract_dun_for_query" queryDataSet="CON620_contract_query_ds" queryUrl="${/request/@context_path}/autocrud/cont.CON620.con_contract_dun_for_query/query" selectable="true" selectionModel="single">
<a:dataSet id="CON620_contract_result_ds" autoPageSize="true" autoQuery="true"
model="cont.CON620.con_contract_dun_for_query" queryDataSet="CON620_contract_query_ds"
queryUrl="${/request/@context_path}/autocrud/cont.CON620.con_contract_dun_for_query/query"
selectable="true" selectionModel="single">
<a:fields>
<a:field name="promised_return_date" datatype="date"/>
</a:fields>
......@@ -253,49 +246,52 @@
<a:gridButton click="CON601_con_contract_reset" text="HLS.RESET"/>
<!--<a:gridButton id="CON601_con_contract_print_btn" click="CON601_con_contract_print" text="打印催收函"/>-->
</a:screenTopToolbar>
<a:form column="4" labelWidth="100" marginWidth="30" title="CON301.CONTRACT_QUERY">
<a:form column="4" labelWidth="120" marginWidth="30" title="CON301.CONTRACT_QUERY">
<a:textField name="contract_number" bindTarget="CON620_contract_query_ds" prompt="HLS.CONTRACT_NUMBER"/>
<a:textField name="contract_name" bindTarget="CON620_contract_query_ds" prompt="合同名称"/>
<a:lov name="bp_id_tenant_n" bindTarget="CON620_contract_query_ds" prompt="HLS.TENANT_CODE"/>
<a:textField name="phone" bindTarget="CON620_contract_query_ds" prompt="电话"/>
<a:numberField name="overdue_times" allowDecimals="false" bindTarget="CON620_contract_query_ds" prompt="逾期期数"/>
<a:numberField name="overdue_days_from" allowDecimals="false" bindTarget="CON620_contract_query_ds" prompt="逾期天数从"/>
<a:numberField name="overdue_days_to" allowDecimals="false" bindTarget="CON620_contract_query_ds" prompt="逾期天数到"/>
<a:numberField name="due_amount_from" allowDecimals="false" bindTarget="CON620_contract_query_ds" prompt="预定收款金额从"/>
<a:numberField name="due_amount_to" allowDecimals="false" bindTarget="CON620_contract_query_ds" prompt="预定收款金额至"/>
<a:textField name="bp_id_agent_desc" bindTarget="CON620_contract_query_ds" prompt="代理店"/>
<a:comboBox name="business_type_n" bindTarget="CON620_contract_query_ds" prompt="业务类型"/>
<a:comboBox name="division_n" bindTarget="CON620_contract_query_ds" prompt="租赁物"/>
<a:numberField name="account_due_times_from" bindTarget="CON620_contract_query_ds" prompt="会计逾期总期数从"/>
<a:numberField name="account_due_times_to" bindTarget="CON620_contract_query_ds" prompt="会计逾期总期数到"/>
<a:numberField name="account_due_days_from" bindTarget="CON620_contract_query_ds" prompt="会计逾期总天数从"/>
<a:numberField name="account_due_days_to" bindTarget="CON620_contract_query_ds" prompt="会计逾期总天数到"/>
<a:numberField name="account_due_amount_from" bindTarget="CON620_contract_query_ds" prompt="会计逾期总金额从"/>
<a:numberField name="account_due_amount_to" bindTarget="CON620_contract_query_ds" prompt="会计逾期总金额到"/>
<a:numberField name="business_due_times_from" bindTarget="CON620_contract_query_ds" prompt="营业逾期总期数从"/>
<a:numberField name="business_due_times_to" bindTarget="CON620_contract_query_ds" prompt="营业逾期总期数到"/>
<a:numberField name="business_due_days_from" bindTarget="CON620_contract_query_ds" prompt="营业逾期总天数从"/>
<a:numberField name="business_due_days_to" bindTarget="CON620_contract_query_ds" prompt="营业逾期总天数到"/>
<a:numberField name="business_due_amount_from" bindTarget="CON620_contract_query_ds" prompt="营业逾期总金额从"/>
<a:numberField name="business_due_amount_to" bindTarget="CON620_contract_query_ds" prompt="营业逾期总金额到"/>
</a:form>
<a:grid id="CON601_con_contract_grid_ds" bindTarget="CON620_contract_result_ds" marginHeight="150" marginWidth="30" navBar="true">
<a:grid id="CON601_con_contract_grid_ds" bindTarget="CON620_contract_result_ds" marginHeight="240"
marginWidth="30" navBar="true">
<a:columns>
<a:column name="contract_number" lock="true" prompt="HLS.CONTRACT_NUMBER" renderer="CON620_render_contract_dun_grid" width="150"/>
<a:column name="contract_name" align="center" prompt="合同名称"/>
<!--<a:column name="bp_id_tenant_desc" lock="true" prompt="承租人名称" renderer="CON620_render_contract_dun_grid" showTitle="true" width="210"/>-->
<a:column name="bp_id_tenant_desc" lock="true" prompt="承租人名称" showTitle="true" width="100" align="center"/>
<a:column name="bp_id_agent_desc" align="center" prompt="代理店" width="120"/>
<a:column name="bussiness_type_n" align="center" prompt="业务类型" width="60"/>
<a:column name="division_n" align="center" prompt="产品线" width="60"/>
<a:column name="account_due_times" align="right" prompt="会计逾期总期数" renderer="Leaf.formatMoney" width="100"/>
<a:column name="account_due_days" align="right" prompt="会计逾期总天数" renderer="Leaf.formatMoney" width="100"/>
<a:column name="account_due_damount" align="right" prompt="会计逾期总金额" renderer="Leaf.formatMoney" width="100"/>
<a:column name="business_due_times" align="right" prompt="营业逾期总期数" renderer="Leaf.formatMoney" width="100"/>
<a:column name="business_due_days" align="right" prompt="营业逾期总天数" renderer="Leaf.formatMoney" width="100"/>
<a:column name="business_due_amount" align="right" prompt="营业逾期总金额" renderer="Leaf.formatMoney" width="100"/>
<a:column name="contract_number" lock="true" prompt="HLS.CONTRACT_NUMBER"
renderer="CON620_render_contract_dun_grid" width="150"/>
<a:column name="contract_name" align="center"
prompt="合同名称" width="120"/><!--<a:column name="bp_id_tenant_desc" lock="true" prompt="承租人名称" renderer="CON620_render_contract_dun_grid" showTitle="true" width="210"/>-->
<a:column name="bp_id_tenant_desc" lock="true" prompt="承租人名称" showTitle="true" width="170"
align="center"/>
<a:column name="bp_id_agent_desc" align="center" prompt="代理店" width="200"/>
<a:column name="business_type_n" align="center" prompt="业务类型" width="60"/>
<a:column name="division_n" align="center" prompt="租赁物" width="60"/>
<a:column name="account_due_times" align="right" prompt="会计逾期总期数" renderer="Leaf.formatMoney"
width="100"/>
<a:column name="account_due_days" align="right" prompt="会计逾期总天数" renderer="Leaf.formatMoney"
width="100"/>
<a:column name="account_due_amount" align="right" prompt="会计逾期总金额" renderer="Leaf.formatMoney"
width="100"/>
<a:column name="business_due_times" align="right" prompt="营业逾期总期数" renderer="Leaf.formatMoney"
width="100"/>
<a:column name="business_due_days" align="right" prompt="营业逾期总天数" renderer="Leaf.formatMoney"
width="100"/>
<a:column name="business_due_amount" align="right" prompt="营业逾期总金额" renderer="Leaf.formatMoney"
width="100"/>
</a:columns>
</a:grid>
<!--<a:grid bindTarget="bgt_contract_payment_detail_line_ds" marginHeight="420" marginWidth="30" navBar="true" showRowNumber="true">-->
<!--<a:columns>-->
<!--&lt;!&ndash; <a:column name="bp_name" prompt="承租人名称" width="200" showTitle="true"/>-->
<!--<a:column name="contract_number" prompt="HLS.CONTRACT_NUMBER" width="150"/> &ndash;&gt;-->
<!--<a:column name="times" align="center" prompt="CON305.TIMES" width="80"/>-->
<!--<a:column name="due_date" align="center" prompt="CON305.DUE_DATE" renderer="Leaf.formatDate"/>-->
<!--<a:column name="due_amount" align="right" prompt="CON305.DUE_AMOUNT" renderer="Leaf.formatMoney"/>-->
<!--<a:column name="principal" align="right" prompt="CON305.PRINCIPAL" renderer="Leaf.formatMoney"/>-->
<!--<a:column name="interest" align="right" prompt="CON305.INTEREST" renderer="Leaf.formatMoney"/>-->
<!--<a:column name="write_off_date" align="center" prompt="实际收款日" renderer="Leaf.formatDate"/>-->
<!--<a:column name="write_off_due_amount" align="right" prompt="实际收款金额" renderer="Leaf.formatMoney"/>-->
<!--<a:column name="write_off_principal" align="right" prompt="实际收款本金" renderer="Leaf.formatMoney"/>-->
<!--<a:column name="write_off_interest" align="right" prompt="实际收款利息" renderer="Leaf.formatMoney"/>-->
<!--</a:columns>-->
<!--</a:grid>-->
</a:screenBody>
</a:view>
</a:screen>
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