dream 7 месяцев назад
Родитель
Сommit
c8d644ead0
1 измененных файлов с 2 добавлено и 1 удалено
  1. 2 1
      Modules/Seller/Model/CommonorderModel.class.php

+ 2 - 1
Modules/Seller/Model/CommonorderModel.class.php

@@ -33,10 +33,11 @@ class CommonorderModel{
 		$total_quantity = empty($total_quantity) ? 0 : $total_quantity;
 		
 		$refund_quantity = $this->refund_order_goods_quantity( $order_id,$order_goods_id,$uniacid);
-		var_dump($refund_quantity);
+
 		 $surplus_quantity = $total_quantity - $refund_quantity;
 		if($order_info['delivery'] == 'hexiao'){
 		    $used_quantity = D('Home/Salesroom')->get_hexiao_order_goods_used_quantity($order_id,$order_goods_id);
+			var_dump($used_quantity);
 		    $surplus_quantity = $surplus_quantity - $used_quantity;
 		}