Commit addf6abb authored by 38823's avatar 38823

佣金报表调整

parent 86415361
...@@ -5,7 +5,6 @@ ...@@ -5,7 +5,6 @@
<a:link id="query_job" model="cont.CON1380.con1380_result_query_job" modelaction="update"/> <a:link id="query_job" model="cont.CON1380.con1380_result_query_job" modelaction="update"/>
<script><![CDATA[ <script><![CDATA[
$L.onReady(function(){ $L.onReady(function(){
debugger;
var headers_ds = $('${/parameter/@layout_code}_F_QUERY__ds'); var headers_ds = $('${/parameter/@layout_code}_F_QUERY__ds');
var record = headers_ds.getCurrentRecord(); var record = headers_ds.getCurrentRecord();
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hlcm_monthly_report_temp'); var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hlcm_monthly_report_temp');
...@@ -15,7 +14,6 @@ ...@@ -15,7 +14,6 @@
//更新全量数据 //更新全量数据
window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function() { window['${/parameter/@layout_code}_user_button2_layout_dynamic_click'] = function() {
debugger;
var headers_ds = $('${/parameter/@layout_code}_F_QUERY__ds'); var headers_ds = $('${/parameter/@layout_code}_F_QUERY__ds');
var record = headers_ds.getAt(0); var record = headers_ds.getAt(0);
if (Ext.isEmpty(record.get('base_date'))) { if (Ext.isEmpty(record.get('base_date'))) {
...@@ -46,6 +44,15 @@ ...@@ -46,6 +44,15 @@
}); });
}, null, 300, 150); }, null, 300, 150);
}; };
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() {
var headers_ds = $('${/parameter/@layout_code}_F_QUERY__ds');
var record = headers_ds.getCurrentRecord();
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'hlcm_monthly_report_temp');
$(ds_id).setQueryParameter('commission_month',record.get('base_date'));
$(ds_id).query();
};
]]></script> ]]></script>
<a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/> <a:screen-include screen="modules/cont/CON500/con_contract_get_layout_code.lview"/>
</a:view> </a:view>
......
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