Commit fdff006b authored by 25484's avatar 25484

[fix]商业伙伴代理店修改

parent 5850b506
...@@ -41,7 +41,11 @@ ...@@ -41,7 +41,11 @@
bp_record.set('owner_user_id','${/session/@user_id}'); bp_record.set('owner_user_id','${/session/@user_id}');
bp_record.set('agent_name', agent_name); bp_record.set('agent_name', agent_name);
bp_record.set('agent_name_n', agent_name_n); bp_record.set('agent_name_n', agent_name_n);
if(agent_name && agent_name_n){
bp_record.getField('agent_name_n').setReadOnly(true);
}else{
bp_record.getField('agent_name_n').setReadOnly(false);
}
if ('${/parameter/@bp_type}' == 'AGENT') { if ('${/parameter/@bp_type}' == 'AGENT') {
bp_record.getField('agent_type_n').setReadOnly(false); bp_record.getField('agent_type_n').setReadOnly(false);
// bp_record.getField('agent_type_n').setRequired(true); // bp_record.getField('agent_type_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