Authored by weiqingting

限购码不准输入0

... ... @@ -25,7 +25,7 @@
<div class="form-group">
<label class="col-sm-2 control-label">数量<i class="red">*</i></label>
<div class="col-sm-8">
<input type="text" placeholder="数量" class="form-control observe noEdit number" data-field="limitTimes" required pattern="^[0-9]+$" value="[[limitTimes]]">
<input type="text" placeholder="数量" class="form-control observe noEdit number" data-field="limitTimes" required onkeyup="value=value.replace(/[^1-9]/g,'')" value="[[limitTimes]]">
</div>
</div>
... ...