Commit ade120ad authored by 25484's avatar 25484

[fix]商业伙伴修改

parent 85f71476
...@@ -256,7 +256,8 @@ ...@@ -256,7 +256,8 @@
if (record.get('bp_category') == 'VENDER') { if (record.get('bp_category') == 'VENDER') {
record.getField('unit_id_n').setReadOnly(true); record.getField('unit_id_n').setReadOnly(true);
} record.getField('unit_id_n').setRequired(false);
}else{
if(employee_type_id == '64'){ if(employee_type_id == '64'){
record.getField('unit_id_n').setReadOnly(true); record.getField('unit_id_n').setReadOnly(true);
record.getField('unit_id_n').setRequired(false); record.getField('unit_id_n').setRequired(false);
...@@ -264,6 +265,7 @@ ...@@ -264,6 +265,7 @@
record.getField('unit_id_n').setReadOnly(false); record.getField('unit_id_n').setReadOnly(false);
record.getField('unit_id_n').setRequired(true); record.getField('unit_id_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