Commit e1d28225 authored by lijingjing's avatar lijingjing

[fix] 报价维护页面修改

parent c25df379
......@@ -514,7 +514,19 @@ function prj501n_contract_number_renderer(id, name, query_only){
}
}
};
window['${/parameter/@bp_seq}${/parameter/@layout_code}_on_layout_dynamic_form_add_and_load'] = function(ds, record, config_records, bp_seq) {
var ds_id = get_dsid_by_basetable(window['${/parameter/@layout_code}_layoutDataSetList'], 'prj_project');
if(ds_id==ds.id && ds_id){
if(record.get('pay_method') == 'WIRE_TRANSFER'){
record.getField('bank_branch_name').setReadOnly(true);
record.getField('bank_branch_name_n').setReadOnly(true);
record.getField('bank_branch_name').setRequired(false);
record.getField('bank_branch_name_n').setRequired(false);
}
}
};
//pdf预览 add by zhuxianfei
......
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