Commit eaec96f5 authored by lujunye's avatar lujunye

补充填写提示

parent f205fe2b
......@@ -616,6 +616,34 @@ class GYSGLViewController: BaseViewController,UITableViewDelegate,UITableViewDat
return genderLbl
}
@IBAction func submitAction(_ sender: Any) {
if gysName.count == 0 {
HUD.flash(.label("请填写供应商名称"), delay: 1.2)
return
}
if dzStr.count == 0 {
HUD.flash(.label("请选择地址"), delay: 1.2)
return
}
if detailDzStr.count == 0 {
HUD.flash(.label("请填写详细地址"), delay: 1.2)
return
}
if nameStr.count == 0 {
HUD.flash(.label("请填写联系人姓名"), delay: 1.2)
return
}
if phoneNum.count == 0 {
HUD.flash(.label("请填写手机号码"), delay: 1.2)
return
}
if zhizhao.count == 0 {
HUD.flash(.label("请上传营业资格证"), delay: 1.2)
return
}
if food_production_license.count == 0 {
HUD.flash(.label("请上传视频流通许可证"), delay: 1.2)
return
}
let alertView = GeliAlertView(frame: self.view.window!.bounds)
alertView.delegate = self;
alertView.tishiLbl.text = ""
......
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