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

接口

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