Commit 2b0e372f by 朱继来

Merge branch 'zjl_order_msg_20180402' into 'master'

调整判断

See merge request !28
parents 711d4fd2 d4f917ad
Showing with 10 additions and 8 deletions
......@@ -1216,15 +1216,17 @@
return false;
}
var reg = /\d/;
if (!reg.test(payTimeOther)) {
layer.msg('格式错误');
return false;
}
if (payTimeOther) {
var reg = /\d/;
if (!reg.test(payTimeOther)) {
layer.msg('格式错误');
return false;
}
if (payTimeOther < 0 || payTimeOther > 30) {
layer.msg('自定义时间限制在1-30天');
return false;
if (payTimeOther < 0 || payTimeOther > 30) {
layer.msg('自定义时间限制在1-30天');
return false;
}
}
var currencySign = currency == 1 ? '¥' : '$';
......
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 sign in to comment