作者 anyv
1 个管道 的构建 通过 耗费 0 秒

8

... ... @@ -45,7 +45,7 @@ class SalesmanorderController extends AdminBaseController{
}
$money = 0;
foreach($data_arr['data'] as $key => $val){
if($data_arr['state'] == 2 || $data_arr['state'] == 3 || $data_arr['state'] == 5){
if($data_arr['data']['state'] == 2 || $data_arr['data']['state'] == 3 || $data_arr['data']['state'] == 5){
$data_arr['data'][$key]['grade_class'] = $val['school'].'-'.$val['grade'].$val['class'];
$money += $data_arr['data'][$key]['money'];
}
... ...