sth
This commit is contained in:
parent
34728ca220
commit
bcfa38d16e
|
|
@ -118,7 +118,7 @@ class Order extends Backend
|
||||||
}
|
}
|
||||||
[$where, $sort, $order, $offset, $limit] = $this->buildparams();
|
[$where, $sort, $order, $offset, $limit] = $this->buildparams();
|
||||||
$list = $this->model
|
$list = $this->model
|
||||||
->field(['id','order_no','user_id','customer','tel','status','area_id','address',
|
->field(['id','order_no','admin_id','customer','tel','status','area_id','address',
|
||||||
'source','source_shop','source_uid','source','item_title','item_id','work_tel_id',
|
'source','source_shop','source_uid','source','item_title','item_id','work_tel_id',
|
||||||
'detail','remark','images','create_time','update_time'])
|
'detail','remark','images','create_time','update_time'])
|
||||||
->where($where)
|
->where($where)
|
||||||
|
|
|
||||||
|
|
@ -26,6 +26,7 @@
|
||||||
<table id="table" class="table table-striped table-bordered table-hover table-nowrap"
|
<table id="table" class="table table-striped table-bordered table-hover table-nowrap"
|
||||||
data-operate-edit="{:$auth->check('order/edit')}"
|
data-operate-edit="{:$auth->check('order/edit')}"
|
||||||
data-operate-del="{:$auth->check('order/del')}"
|
data-operate-del="{:$auth->check('order/del')}"
|
||||||
|
data-operate-dispatch="{:$auth->check('orders/dispatch/add')}"
|
||||||
width="100%">
|
width="100%">
|
||||||
</table>
|
</table>
|
||||||
</div>
|
</div>
|
||||||
|
|
|
||||||
|
|
@ -128,7 +128,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
||||||
name:"dispatch",
|
name:"dispatch",
|
||||||
text:"派单",
|
text:"派单",
|
||||||
title:"派单",
|
title:"派单",
|
||||||
classname:"btn-view btn-dialog",
|
extend: 'data-toggle="tooltip" data-container="body"',
|
||||||
|
classname: 'btn btn-xs btn-warning btn-dialog',
|
||||||
|
//classname:"btn-view btn-dialog",
|
||||||
icon:'fa fa-add',
|
icon:'fa fa-add',
|
||||||
url: function(row){
|
url: function(row){
|
||||||
return 'orders/dispatch/add?order_id='+row.id;
|
return 'orders/dispatch/add?order_id='+row.id;
|
||||||
|
|
@ -158,8 +160,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
||||||
},
|
},
|
||||||
{
|
{
|
||||||
name: 'del',
|
name: 'del',
|
||||||
|
text:"取消订单",
|
||||||
|
title:"取消订单",
|
||||||
icon: 'fa fa-trash',
|
icon: 'fa fa-trash',
|
||||||
title: __('Del'),
|
|
||||||
extend: 'data-toggle="tooltip" data-container="body"',
|
extend: 'data-toggle="tooltip" data-container="body"',
|
||||||
classname: 'btn btn-xs btn-danger btn-delone',
|
classname: 'btn btn-xs btn-danger btn-delone',
|
||||||
dropdown:"更多",
|
dropdown:"更多",
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue
Block a user