Commit 8c3283c9 authored by 38823's avatar 38823

佣金报表调整优化

parent b3657bff
......@@ -22,7 +22,7 @@
var headers_ds = $('${/parameter/@layout_code}_F_QUERY__ds');
var record = headers_ds.getAt(0);
if (Ext.isEmpty(record.get('base_date'))) {
$L.showMessage('提示', '基准日期必输,不能为空');
$L.showMessage('提示', '请选择基准日期');
return;
}
Leaf.showConfirm('${l:HLS.PROMPT}', '<font color="red">该任务需执行约30分钟,请耐心等待!</font></br></br><font color="red">【特别注意】任务发起后30分钟内请勿重复点击</font>', function () {
......@@ -53,6 +53,10 @@
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() {
var headers_ds = $('${/parameter/@layout_code}_F_QUERY__ds');
var record = headers_ds.getCurrentRecord();
if (Ext.isEmpty(record.get('base_date'))) {
$L.showMessage('提示', '请选择基准日期');
return;
}
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();
......
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