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

8

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