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

// 去掉“提前到港”弹窗及校验逻辑

parent c03c4d7e
...@@ -174,20 +174,22 @@ class YHResignAppointScheduleListViewController: YHBaseViewController { ...@@ -174,20 +174,22 @@ class YHResignAppointScheduleListViewController: YHBaseViewController {
} }
func clickConfirmHKButton(status: YHResignConfirmHKStatus, _ model: YHResignAppointGroup) { func clickConfirmHKButton(status: YHResignConfirmHKStatus, _ model: YHResignAppointGroup) {
if status == .waitConfirmHK { // 待确认在港 // if status == .waitConfirmHK { // 待确认在港
// 展示提前到港弹窗 // 展示提前到港弹窗
let alert = YHForwardArriveHKAlertView.alertView() // let alert = YHForwardArriveHKAlertView.alertView()
alert.confirmBlock = { // alert.confirmBlock = {
[weak self] isConfirm in // [weak self] isConfirm in
guard let self = self else { return } // guard let self = self else { return }
if isConfirm { // if isConfirm {
// 去修改预约递交时间 // // 去修改预约递交时间
self.modifySchedule() // self.modifySchedule()
} // }
} // }
alert.show() // alert.show()
} else if status == .canConfirmHK { // 可点击确认在港 // } else
if status == .canConfirmHK { // 可点击确认在港
let alertView = YHResignAppointedScheduleRiskTipsView.alertView() let alertView = YHResignAppointedScheduleRiskTipsView.alertView()
alertView.bottomBtnBlock = { alertView.bottomBtnBlock = {
[weak self] isSure in [weak self] isSure in
......
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