Commit 1f7bb444 authored by David黄金龙's avatar David黄金龙

1、修改2处bug

2、
parent fbb5edfb
...@@ -364,10 +364,10 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource ...@@ -364,10 +364,10 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
private func handleJumpLogic(tapIndex : Int) { private func handleJumpLogic(tapIndex : Int) {
//开发模式下 任意跳转 //开发模式下 任意跳转
//#if DEBUG #if DEBUG
// handleJumpLogicDebug(tapIndex: tapIndex) handleJumpLogicDebug(tapIndex: tapIndex)
// return return
//#endif #endif
//正式环境 //正式环境
handleJumpLogicRelease(tapIndex: tapIndex) handleJumpLogicRelease(tapIndex: tapIndex)
} }
...@@ -405,6 +405,7 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource ...@@ -405,6 +405,7 @@ extension YHInformationPerfectListVC : UITableViewDelegate,UITableViewDataSource
} else if tapIndex == 1 { } else if tapIndex == 1 {
//家庭程序信息 //家庭程序信息
let vc = YHFamilyMemberInfoListVC(orderId: orderId ?? 0) let vc = YHFamilyMemberInfoListVC(orderId: orderId ?? 0)
vc.orderId = orderId ?? 0 vc.orderId = orderId ?? 0
navigationController?.pushViewController(vc) navigationController?.pushViewController(vc)
......
...@@ -207,7 +207,7 @@ extension YHSpouseInfoContainerVC { ...@@ -207,7 +207,7 @@ extension YHSpouseInfoContainerVC {
guard let spouse = spouse else { return } guard let spouse = spouse else { return }
guard let info = spouse.toDictionary() else { return } guard let info = spouse.toDictionary() else { return }
let dict:[String: Any] = ["order_id":spouse.orderId, let dict:[String: Any] = ["order_id":orderId,
"relation":spouse.relation, "relation":spouse.relation,
"step":isSubmit ? currentStep : 0, "step":isSubmit ? currentStep : 0,
"next":isSubmit, "next":isSubmit,
......
...@@ -230,6 +230,9 @@ extension YHDatePickView: UIPickerViewDelegate,UIPickerViewDataSource { ...@@ -230,6 +230,9 @@ extension YHDatePickView: UIPickerViewDelegate,UIPickerViewDataSource {
return 12 return 12
} else { } else {
let year: Int = pickerView.selectedRow(inComponent: 0) + currentDateCom.year! let year: Int = pickerView.selectedRow(inComponent: 0) + currentDateCom.year!
if type == .yyyy {
return 0
}
let month: Int = pickerView.selectedRow(inComponent: 1) + 1 let month: Int = pickerView.selectedRow(inComponent: 1) + 1
let days: Int = howManyDays(inThisYear: year, withMonth: month) let days: Int = howManyDays(inThisYear: year, withMonth: month)
return days return days
......
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