Commit 5214b08e authored by 邓乾隆's avatar 邓乾隆

财报、付款申请查询基准日期校验

parent 9568e0c3
...@@ -24,6 +24,11 @@ ...@@ -24,6 +24,11 @@
var period_name=$(ds_id).getAt(0).get('period_name'); var period_name=$(ds_id).getAt(0).get('period_name');
var record = $(ds_id).getAt(0); var record = $(ds_id).getAt(0);
//期间校验提示
if(period_name == null || period_name == ''){
Leaf.showMessage('提示', '请选择报表的期间');
return false;
}
record.data.division1=''; record.data.division1='';
record.data.division2=''; record.data.division2='';
record.data.division3=''; record.data.division3='';
......
...@@ -94,6 +94,11 @@ ...@@ -94,6 +94,11 @@
function CON321_con_contract_update() { function CON321_con_contract_update() {
var headers_ds = $('con_contract_cashflow_monthly_query_ds'); var headers_ds = $('con_contract_cashflow_monthly_query_ds');
var record = headers_ds.getAt(0); var record = headers_ds.getAt(0);
//基准日期校验
if(record.get('due_date') == null || record.get('due_date') == ''){
Leaf.showMessage('提示', '请选择报表的基准日期');
return false;
}
Leaf.Masker.mask(Ext.getBody(), '正在更新数据,请稍等...'); Leaf.Masker.mask(Ext.getBody(), '正在更新数据,请稍等...');
Leaf.request({ Leaf.request({
url: $('con_cashflow_pre_update_id').getUrl(), url: $('con_cashflow_pre_update_id').getUrl(),
......
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