Commit c829bac9 authored by niminmin's avatar niminmin

[feat]商业伙伴

parent 575bde95
......@@ -614,6 +614,18 @@
record.set('resident_addres_sp', get_native_place(value))
}
}
if(name=='marital_status'){
if(value=='30'){
record.getField('bp_name_sp').setRequired(true);
record.getField('card_type_sp_n').setRequired(true);
record.getField('id_no_sp').setRequired(true);
}else{
record.getField('bp_name_sp').setRequired(false);
record.getField('card_type_sp_n').setRequired(false);
record.getField('id_no_sp').setRequired(false);
}
}
......
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