Commit d7185365 authored by 25484's avatar 25484

[FIX]商业伙伴创建页面修改

parent 5201868c
...@@ -35,10 +35,10 @@ ...@@ -35,10 +35,10 @@
bp_record.set('owner_user_id','${/session/@user_id}'); bp_record.set('owner_user_id','${/session/@user_id}');
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);
} else { } else {
bp_record.getField('agent_type_n').setReadOnly(true); bp_record.getField('agent_type_n').setReadOnly(true);
bp_record.getField('agent_type_n').setRequired(false); // bp_record.getField('agent_type_n').setRequired(false);
} }
if (ds_id && '${/parameter/@default_value_dsid}') { if (ds_id && '${/parameter/@default_value_dsid}') {
var head_record = $('${/parameter/@default_value_dsid}').getCurrentRecord(); var head_record = $('${/parameter/@default_value_dsid}').getCurrentRecord();
......
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