Commit 8a2c065e authored by Steven杜宇's avatar Steven杜宇

// 信息确认

parent 4fc0d6f8
......@@ -131,7 +131,22 @@ class YHResignInfoConfirmModifyViewController: YHBaseViewController {
}
func checkInfo() -> Bool {
return false
if let arr1 = items.first {
for item in arr1 {
if !item.tips.isEmpty {
return false
}
}
}
// 有效期验证
if let identity = detailMember.identity {
let isValidDateEnough = identity.isValidDateEnough()
if !isValidDateEnough {
return false
}
}
return true
}
@objc func didConfirmBtnClicked() {
......
......@@ -102,6 +102,9 @@ class YHResignFamilyInfoItem {
} else if self.id == .hongKongId {
return "请输入香港身份证号"
} else if self.id == .hongkongAddress {
return "请输入香港住址"
}
return ""
}
......
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