Commit c8457eb8 by 朱继来

fix

parents 4df7b11b 45002f65
Showing with 2 additions and 2 deletions
...@@ -254,9 +254,9 @@ ...@@ -254,9 +254,9 @@
} }
var service_type = $('.service_type').val(); // 售后类型 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 && parseInt(val) > parseInt(fqty)) { // 出库退货 if (service_type == 2 && parseInt(val) > fqty) { // 出库退货
layer.tips('不能超过订单出库数量', $(this)); layer.tips('不能超过订单出库数量', $(this));
$(this).val(''); $(this).val('');
return false; 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