Commit f3af82bd authored by 38823's avatar 38823

佣金政策报表开发

parent 973a194a
var override_queryfields = [
];
var add_datafilters=[{
name:'commission_month',
expression : "t1.commission_month= ${/parameter/@commission_month}"
}];
add_datafilter();
override();
\ No newline at end of file
...@@ -352,5 +352,9 @@ var enableLayoutConfig = { ...@@ -352,5 +352,9 @@ var enableLayoutConfig = {
'modules/cont/CON1370/con_asset_fee_detail.lview':true, 'modules/cont/CON1370/con_asset_fee_detail.lview':true,
'modules/hls/HLS303/bp_agent_bounty_create.lview':true, 'modules/hls/HLS303/bp_agent_bounty_create.lview':true,
'modules/hls/HLS303/bp_agent_bounty_detail.lview':true, 'modules/hls/HLS303/bp_agent_bounty_detail.lview':true,
'modules/acp/ACP522/ap_invoice_com_detail.lview':true 'modules/acp/ACP522/ap_invoice_com_detail.lview':true,
'modules/csh/CSH501R/csh_payment_comm_create_entrance.lview':true,
'modules/csh/CSH501R/csh_payment_comm_selected.lview':true,
'modules/csh/CSH501R/csh_payment_comm_req.lview':true,
'modules/cont/CON1380/con_commission_report.lview':true
}; };
\ No newline at end of file
<?xml version="1.0" encoding="UTF-8"?>
<a:screen xmlns:a="http://www.leaf-framework.org/application" customizationEnabled="true" dynamiccreateenabled="true" trace="true">
<a:view>
<script><![CDATA[
$L.onReady(function(){
debugger;
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_QUERY', 'con_contract');
var re_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_RESULT', 'con_contract');
var record = $(ds_id).getCurrentRecord();
var baseDate = record.get('base_date');
if(baseDate == undefined){
$(re_ds_id).setQueryParameter('commission_month','1');
$(re_ds_id).query();
}
});
//查询时调用(grid,table,gridBox)
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function(ds, record, config_records, bp_seq) {
debugger;
var ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'F_QUERY', 'con_contract');
var re_ds_id = get_dsid_by_tabcode_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'G_RESULT', 'con_contract');
var record = $(ds_id).getCurrentRecord();
var baseDate = record.get('base_date');
if(baseDate == undefined){
$L.showMessage('提示','请先选择基准日期!');
return;
}else {
$(re_ds_id).setQueryParameter('commission_month',baseDate);
$(re_ds_id).query();
}
};
]]></script>
<a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
</a:view>
</a:screen>
\ No newline at end of file
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