Commit 99afdbbb authored by pete谢兆麟's avatar pete谢兆麟

项目经验加上时间限制

parent f9a5a5a4
......@@ -312,7 +312,7 @@ class YHWorkIntroductionViewController: YHBaseViewController {
@objc func endClick() {
view.endEditing(true)
YHDatePickView.show(type: .yyyymmdd, title: "请选择结束时间") { date in
YHDatePickView.show(type: .yyyymmdd, title: "请选择结束时间", lastIsTaday: true) { date in
if date < self.dataSource.project_start_time ?? "" {
YHHUD.flash(message: "结束时间不能早于开始时间")
} else {
......
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