Commit ade120ad authored by 25484's avatar 25484

[fix]商业伙伴修改

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