Commit 41a94eab by 朱继来

调整调价输入值

parent f5d11f89
......@@ -1030,6 +1030,12 @@
}
}
if ($(this).val() < 0) {
layer.msg('只能是正整数');
$(this).val('');
return false;
}
if($(this).val()>999999.9999){
$(this).val(999999.9999);
}
......
......@@ -88,7 +88,7 @@
<tr>
<td><p>{{$v['goods_name']}}</p></td>
<td>
<input class="only_positive_nubme num" name="change_info[{{$v['rec_id']}}][goods_number]" value="{{$v['goods_number']}}">
<input class="only_positive_nubme only_number num" name="change_info[{{$v['rec_id']}}][goods_number]" value="{{$v['goods_number']}}">
</td>
<td>
<input class="price only_number" name="change_info[{{$v['rec_id']}}][goods_price]" value="{{$v['goods_price']}}">
......
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