作者 潘浩文
1 个管道 的构建 通过 耗费 1 秒

接口

@@ -81,7 +81,7 @@ class AdminGoodsOrderController extends AdminBaseController @@ -81,7 +81,7 @@ class AdminGoodsOrderController extends AdminBaseController
81 ->join('user u','go.user_id=u.id') 81 ->join('user u','go.user_id=u.id')
82 ->join('address a','go.address_id=a.id') 82 ->join('address a','go.address_id=a.id')
83 ->where($where) 83 ->where($where)
84 - ->field('*,go.create_time as gcreate_time,go.id as goid') 84 + ->field('*,go.create_time as gcreate_time,go.id as goid,go.status as gostatus')
85 ->order('go.create_time', 'desc') 85 ->order('go.create_time', 'desc')
86 ->paginate('10'); 86 ->paginate('10');
87 //向地址传参 87 //向地址传参
@@ -80,16 +80,13 @@ @@ -80,16 +80,13 @@
80 <td>{$vo.user_nickname}</td> 80 <td>{$vo.user_nickname}</td>
81 <td>{$vo.mobile}</td> 81 <td>{$vo.mobile}</td>
82 <td> 82 <td>
83 - <eq name="vo.status" value="1">待发货</eq>  
84 - <eq name="vo.status" value="2">已发货</eq>  
85 - <!--<eq name="vo.status" value="3">已发货</eq>-->  
86 - <!--<eq name="vo.status" value="4">已完成</eq>-->  
87 - <!--<eq name="vo.status" value="5">已取消</eq>--> 83 + <eq name="vo.gostatus" value="1">待发货</eq>
  84 + <eq name="vo.gostatus" value="2">已发货</eq>
88 </td> 85 </td>
89 <td>{$vo.address}</td> 86 <td>{$vo.address}</td>
90 <td>{$vo.remark}</td> 87 <td>{$vo.remark}</td>
91 <td> 88 <td>
92 - <eq name="vo.status" value="1"> 89 + <eq name="vo.gostatus" value="1">
93 <a class="js-ajax-dialog-btn" href="{:url('AdminGoodsOrder/fahuo',array('id'=>$vo['id']))}">已发货</a> 90 <a class="js-ajax-dialog-btn" href="{:url('AdminGoodsOrder/fahuo',array('id'=>$vo['id']))}">已发货</a>
94 </eq> 91 </eq>
95 <a class="js-ajax-delete" href="{:url('AdminGoodsOrder/delete',array('id'=>$vo['id']))}"> 92 <a class="js-ajax-delete" href="{:url('AdminGoodsOrder/delete',array('id'=>$vo['id']))}">