Showing
1 changed file
with
1 additions
and
1 deletions
@@ -25,7 +25,7 @@ | @@ -25,7 +25,7 @@ | ||
25 | <div class="form-group"> | 25 | <div class="form-group"> |
26 | <label class="col-sm-2 control-label">数量<i class="red">*</i></label> | 26 | <label class="col-sm-2 control-label">数量<i class="red">*</i></label> |
27 | <div class="col-sm-8"> | 27 | <div class="col-sm-8"> |
28 | - <input type="text" placeholder="数量" class="form-control observe noEdit number" data-field="limitTimes" required pattern="^[0-9]+$" value="[[limitTimes]]"> | 28 | + <input type="text" placeholder="数量" class="form-control observe noEdit number" data-field="limitTimes" required onkeyup="value=value.replace(/[^1-9]/g,'')" value="[[limitTimes]]"> |
29 | </div> | 29 | </div> |
30 | </div> | 30 | </div> |
31 | 31 |
-
Please register or login to post a comment