Commit cb84ca06 authored by 陆正友's avatar 陆正友

IFRS9报表-新业务-厂商担保

parent ffc2bdcc
......@@ -12,7 +12,7 @@ var add_datafilters = [ {
},
{
name : 'divisions',
expression : 't1.division in (${@division1},${@division2},${@division3},${@division4},${@division5},${@division6},${@division7},${@division8},{@division9},{@division10}) '
expression : 't1.division in (${@division1},${@division2},${@division3},${@division4},${@division5},${@division6},${@division7},${@division8},{@division9},{@division10},{@division14}) '
}
];
......
......@@ -24,6 +24,11 @@
var period_name=$(ds_id).getAt(0).get('period_name');
var record = $(ds_id).getAt(0);
//期间校验提示
if(period_name == null || period_name == ''){
Leaf.showMessage('提示', '请选择报表的期间');
return false;
}
record.data.division1='';
record.data.division2='';
record.data.division3='';
......@@ -35,6 +40,8 @@
record.data.division9='';
record.data.division10='';
record.data.division11='';
record.data.division12='';
record.data.division14='';
if(record.data.lease_name10=='Y'){
record.data.division1='10';
}
......@@ -68,9 +75,15 @@
if(record.data.lease_name92=='Y'){
record.data.division11='92';
};
if(record.data.lease_name99=='Y'){
record.data.divisio12='99';
};
if(record.data.lease_name93=='Y'){
record.data.divisio14='93';
};
// record.data.division=record.data.division.substr(1,record.data.division.length);
if(record.data.division1 == ''&&record.data.division2 == ''&&record.data.division3 == ''&&record.data.division4 == ''
&&record.data.division5 == ''&&record.data.division6 == ''&&record.data.division7 == ''&&record.data.division8 == ''&&record.data.division9 == ''&&record.data.division10 == ''&&record.data.division11 == ''){
&&record.data.division5 == ''&&record.data.division6 == ''&&record.data.division7 == ''&&record.data.division8 == ''&&record.data.division9 == ''&&record.data.division10 == ''&&record.data.division11 == ''&&record.data.division12 == ''&&record.data.division14 == ''){
// record.data.division1='10,20,30,40,50,60,70,80';
record.data.division1='10';
record.data.division2='20';
......@@ -83,6 +96,9 @@
record.data.division9='90';
record.data.division10='91';
record.data.division11='92';
record.data.division12='99';
record.data.division14='93';
};
param['division1']= record.data.division1;
param['division2']= record.data.division2;
......@@ -95,6 +111,8 @@
param['division9']= record.data.division9;
param['division10']= record.data.division10;
param['division11']= record.data.division11;
param['division12']= record.data.division12;
param['division14']= record.data.division14;
param['period_name']=period_name;
param['function_code'] = 'CON3400N';
param['function_usage'] = 'MODIFY';
......
......@@ -75,6 +75,7 @@
$(ds_id).setQueryParameter("division9",'${/parameter/@division9}');
$(ds_id).setQueryParameter("division10",'${/parameter/@division10}');
$(ds_id).setQueryParameter("division11",'${/parameter/@division11}');
$(ds_id).setQueryParameter("division14",'${/parameter/@division14}');
$(ds_id).query();
})
window['${/parameter/@layout_code}_user_button1_layout_dynamic_click'] = function() {
......
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