Commit 799015d6 authored by lijingjing's avatar lijingjing

Merge branch 'refs/heads/baojia_detail' into develop

parents cc0e1851 69dad480
......@@ -478,6 +478,7 @@ function prj501n_contract_number_renderer(id, name, query_only){
};
//更新时调用
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_update'] = function(ds, record, name, value, old_value, bp_seq) {
if(name=='pay_method'){
if ( record.get('pay_method') == 'WIRE_TRANSFER') {
record.set('bank_branch_name',null);
record.set('bank_branch_name_n',null);
......@@ -485,12 +486,14 @@ function prj501n_contract_number_renderer(id, name, query_only){
record.getField('bank_branch_name_n').setReadOnly(true);
record.getField('bank_branch_name').setRequired(false);
record.getField('bank_branch_name_n').setRequired(false);
}else{
} else {
record.getField('bank_branch_name').setReadOnly(false);
record.getField('bank_branch_name_n').setReadOnly(false);
record.getField('bank_branch_name').setRequired(true);
record.getField('bank_branch_name_n').setRequired(true);
}
}
};
......
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