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

1、修改2处bug

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