|
@@ -37,7 +37,7 @@ class CommonorderModel{
|
|
$surplus_quantity = $total_quantity - $refund_quantity;
|
|
$surplus_quantity = $total_quantity - $refund_quantity;
|
|
if($order_info['delivery'] == 'hexiao'){
|
|
if($order_info['delivery'] == 'hexiao'){
|
|
$used_quantity = D('Home/Salesroom')->get_hexiao_order_goods_used_quantity($order_id,$order_goods_id);
|
|
$used_quantity = D('Home/Salesroom')->get_hexiao_order_goods_used_quantity($order_id,$order_goods_id);
|
|
- var_dump($used_quantity);
|
|
|
|
|
|
+ // var_dump($used_quantity);
|
|
$surplus_quantity = $surplus_quantity - $used_quantity;
|
|
$surplus_quantity = $surplus_quantity - $used_quantity;
|
|
}
|
|
}
|
|
|
|
|