Commit 47724435 authored by 刘俊宏's avatar 刘俊宏

供应商bug修改

parent c4581dc7
...@@ -657,14 +657,14 @@ class GYSGLViewController: BaseViewController,UITableViewDelegate,UITableViewDat ...@@ -657,14 +657,14 @@ class GYSGLViewController: BaseViewController,UITableViewDelegate,UITableViewDat
HUD.flash(.label("请填写正确的手机号码"), delay: 1.2) HUD.flash(.label("请填写正确的手机号码"), delay: 1.2)
return return
} }
if zhizhao.count == 0 { // if zhizhao.count == 0 {
HUD.flash(.label("请上传营业资格证"), delay: 1.2) // HUD.flash(.label("请上传营业资格证"), delay: 1.2)
return // return
} // }
if food_production_license.count == 0 { // if food_production_license.count == 0 {
HUD.flash(.label("请上传视频流通许可证"), delay: 1.2) // HUD.flash(.label("请上传视频流通许可证"), delay: 1.2)
return // return
} // }
let alertView = GeliAlertView(frame: self.view.window!.bounds) let alertView = GeliAlertView(frame: self.view.window!.bounds)
alertView.delegate = self; alertView.delegate = self;
alertView.tishiLbl.text = "" alertView.tishiLbl.text = ""
......
...@@ -126,6 +126,7 @@ class GYSListViewController: BaseViewController,UITableViewDataSource,UITableVie ...@@ -126,6 +126,7 @@ class GYSListViewController: BaseViewController,UITableViewDataSource,UITableVie
} }
}else{ }else{
let vc = GYSGLViewController() let vc = GYSGLViewController()
vc.delegate = self
vc.barT = "新增供应商信息" vc.barT = "新增供应商信息"
self.navigationController?.pushViewController(vc, animated: true) self.navigationController?.pushViewController(vc, animated: 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