Commit 45002f65 by 朱继来

调整

parent 1348f44f
Showing with 2 additions and 2 deletions
......@@ -245,10 +245,10 @@
}
var service_type = $('.service_type').val(); // 售后类型
var fqty = $(this).parents('tr').find('.fqty').text();
var fqty = parseInt($(this).parents('tr').find('.fqty').text());
if (service_type == 2) { // 出库退货
if (parseInt(val) > parseInt(fqty)) {
if (parseInt(val) > fqty) {
layer.tips('不能超过订单出库数量', $(this));
$(this).val('');
return false;
......
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