Commit e3e11ba6 authored by lujunye's avatar lujunye

补输入数据逻辑

parent 68006167
......@@ -147,7 +147,13 @@ class DistributorSettingAlertView: UIView {
}
}else{
commission_per = payTF.text!
if (commission_per as! NSString).floatValue > 100 {
HUD.flash(.label("佣金不大于100%~"), delay: 1.2)
payTF.text! = ""
return
}
}
delegate?.DistributorSettingAlertViewSubmitAction(tag: self.tag, operation_type: operation_type, dbt_price: moneyTx.text!, commission_type: commission_type, commission_per: commission_per, commission_val: commission_val,view:self)
}
......
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