Commit e44d2a67 authored by Steven杜宇's avatar Steven杜宇

// CRM字段更改

parent 2cb0291e
...@@ -660,19 +660,16 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol { ...@@ -660,19 +660,16 @@ class YHFamilyMember: SmartCodable, YHFormItemProtocol {
} }
if follow != 1 && follow != 2 { // 默认随行 if follow != 1 && follow != 2 { // 默认随行
if self.relationType == .father || self.relationType == .mother || self.relationType == .brother {
follow = 0
} else {
follow = 1 follow = 1
} }
// 父母和兄弟姐妹无随行配置
if self.relationType == .father || self.relationType == .mother || self.relationType == .brother {
follow = 0
} }
if isLiveOverseaYear != 1 && isLiveOverseaYear != 2 { // 默认在海外未居住满一年以上 if isLiveOverseaYear != 1 && isLiveOverseaYear != 2 { // 默认在海外未居住满一年以上
isLiveOverseaYear = 2 isLiveOverseaYear = 2
} }
return self return self
} }
......
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