Commit 310e1932 by 朱继来

允许全部退货

parent e226498f
Showing with 6 additions and 6 deletions
......@@ -412,7 +412,7 @@
$('.returnApply').click(function() {
var return_way = $('.return_way:checked').val();
var goods_count = 0; // 商品数量
var return_eq_true = []; // 退货数量与出库数量相等
// var return_eq_true = []; // 退货数量与出库数量相等
var return_empty = []; // 退货数量为空
// 判断是否选择退货方式
......@@ -430,7 +430,7 @@
if (!num) return_empty.push(0);
// 数量等于出库数量标记
if (num == removal_number) return_eq_true.push(1);
// if (num == removal_number) return_eq_true.push(1);
goods_count++;
});
......@@ -440,10 +440,10 @@
return false;
}
if (return_eq_true.length == goods_count) {
layer.msg('不能选择全部退货数量,请检查数量');
return false;
}
// if (return_eq_true.length == goods_count) {
// layer.msg('不能选择全部退货数量,请检查数量');
// return false;
// }
var order_id = $('input[name=order_id]').val();
var refund_reason = $('.refund_reason').val();
......
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