|
|
@@ -1396,6 +1396,11 @@ class OrderSuperLoss extends Api
|
|
|
}
|
|
|
}
|
|
|
$res['日期'] = $params['date'];
|
|
|
+ $res['yinshuaA'] = number_format(array_sum($res['印刷车间']['A班']),2);
|
|
|
+ $res['yinshuaB'] = number_format(array_sum($res['印刷车间']['B班']),2);
|
|
|
+ $res['yinhouA'] = number_format(array_sum($res['印后车间']['A班']),2);
|
|
|
+ $res['yinhouB'] = number_format(array_sum($res['印后车间']['B班']),2);
|
|
|
+ $res['total'] = number_format(floatval($res['yinshuaA'])+floatval($res['yinshuaB'])+floatval($res['yinhouA'])+floatval($res['yinhouB']),2);
|
|
|
$this->success('成功',$res);
|
|
|
}
|
|
|
}
|