Commit 49aa1490 authored by Steven杜宇's avatar Steven杜宇

// 家庭成员

parent fc6e8fec
...@@ -152,7 +152,7 @@ extension YHCertificateInfoController : UITableViewDelegate, UITableViewDataSour ...@@ -152,7 +152,7 @@ extension YHCertificateInfoController : UITableViewDelegate, UITableViewDataSour
cell.placeHolder = detailItem.placeHolder cell.placeHolder = detailItem.placeHolder
cell.title = detailItem.getTitle() cell.title = detailItem.getTitle()
cell.text = detailItem.value cell.text = detailItem.value
cell.setTips(detailItem.tips, isShow: isNeedShowError && detailItem.isShowTips) cell.setTips(detailItem.tips, isShow: isNeedShowError && detailItem.isNeed && detailItem.isShowTips)
cell.textInputCondtion = { cell.textInputCondtion = {
textField in textField in
...@@ -212,7 +212,7 @@ extension YHCertificateInfoController : UITableViewDelegate, UITableViewDataSour ...@@ -212,7 +212,7 @@ extension YHCertificateInfoController : UITableViewDelegate, UITableViewDataSour
cell.isMust = detailItem.isNeed cell.isMust = detailItem.isNeed
cell.title = detailItem.getTitle() cell.title = detailItem.getTitle()
cell.detail = detailItem.value cell.detail = detailItem.value
cell.setTips(detailItem.tips, isShow: isNeedShowError && detailItem.isShowTips) cell.setTips(detailItem.tips, isShow: isNeedShowError && detailItem.isNeed && detailItem.isShowTips)
return cell return cell
} }
...@@ -233,7 +233,7 @@ extension YHCertificateInfoController : UITableViewDelegate, UITableViewDataSour ...@@ -233,7 +233,7 @@ extension YHCertificateInfoController : UITableViewDelegate, UITableViewDataSour
save() save()
} }
} }
cell.setTips(detailItem.tips, isShow: isNeedShowError && detailItem.isShowTips) cell.setTips(detailItem.tips, isShow: isNeedShowError && detailItem.isNeed && detailItem.isShowTips)
return cell return cell
} }
......
...@@ -452,14 +452,19 @@ extension YHChildPrimaryInfoVC { ...@@ -452,14 +452,19 @@ extension YHChildPrimaryInfoVC {
if isEmptyString(child.nationality) { if isEmptyString(child.nationality) {
return false return false
} }
if isEmptyString(child.address.country) { if !child.isLiveTother() { // 没有与主申请人同住
return false if isEmptyString(child.address.country) {
} return false
if isEmptyString(child.address.details) { }
return false if isEmptyString(child.address.details) {
} return false
if child.isBirthOverSeas(), isEmptyArray(child.address.area) { }
return false
if child.address.isInChina() {
if isEmptyArray(child.address.area) {
return false
}
}
} }
return true return 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