1 个管道
的构建
通过
耗费
14 秒
Merge branch 'master' of http://114.215.101.231:8099/anyv/xkeasy
正在显示
2 个修改的文件
包含
12 行增加
和
2 行删除
@@ -85,7 +85,7 @@ class OrderSalesmanController extends WeChatBaseController | @@ -85,7 +85,7 @@ class OrderSalesmanController extends WeChatBaseController | ||
85 | $where['school'] = ['eq',$param['school']]; | 85 | $where['school'] = ['eq',$param['school']]; |
86 | } | 86 | } |
87 | if(!empty($param['grade'])){ | 87 | if(!empty($param['grade'])){ |
88 | - $param['grade'] = explode('-',$param['grade']); | 88 | + $param['grade'] = explode(' - ',$param['grade']); |
89 | $where['grade'] = ['eq',$param['grade'][0]]; | 89 | $where['grade'] = ['eq',$param['grade'][0]]; |
90 | $where['class'] = ['eq',$param['grade'][1]]; | 90 | $where['class'] = ['eq',$param['grade'][1]]; |
91 | } | 91 | } |
@@ -370,7 +370,17 @@ | @@ -370,7 +370,17 @@ | ||
370 | <input type="hidden" id="grade" value=""/> | 370 | <input type="hidden" id="grade" value=""/> |
371 | <input type="hidden" id="is_courier" value="1"/> | 371 | <input type="hidden" id="is_courier" value="1"/> |
372 | </div> | 372 | </div> |
373 | -<div class="shuju_zongshu">搜索结果为<span class="count">{:count($data)}</span>条</div> | 373 | +<php>$arr2 = [];</php> |
374 | +<foreach name="$data" item="vo"> | ||
375 | + <if condition="$vo.state eq 2"> | ||
376 | + <php>$arr2[] = $vo;</php> | ||
377 | + <elseif condition="$vo.state eq 5" /> | ||
378 | + <php>$arr5[] = $vo;</php> | ||
379 | + <elseif condition="$vo.state eq 3" /> | ||
380 | + <php>$arr3[] = $vo;</php> | ||
381 | + </if> | ||
382 | +</foreach> | ||
383 | +<div class="shuju_zongshu">搜索结果为<span class="count">{:count($arr2)}</span>条</div> | ||
374 | <!-- 列表内容 --> | 384 | <!-- 列表内容 --> |
375 | <div> | 385 | <div> |
376 | <!--未发货--> | 386 | <!--未发货--> |
-
请 注册 或 登录 后发表评论