深茂订单详情

parent e8cf371d
Showing with 3 additions and 1 deletions
......@@ -434,6 +434,7 @@ class OrderService
$temp = [];
$return_amount_all = 0;
foreach ($returnItems as $k=>$v){
$orderGoodsInfo = \Arr::get($orderItemsArr,$v["rec_id"]);
$temp[] = [
......@@ -448,8 +449,9 @@ class OrderService
"after_sale_price"=>$v["return_price"], // 售后单价
"return_amount"=>$v["return_amount"], // 售后金额
];
$return_amount_all += $v["return_amount"];
}
return $temp;
return ["return_amount_all"=>$return_amount_all,"items"=>$temp];
}
}
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