...
|
...
|
@@ -43,6 +43,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
field: 'rider.nickname',
|
|
|
title: __('选择配送骑手'),
|
|
|
table: table,
|
|
|
operate: false,
|
|
|
events: Table.api.events.operate,
|
|
|
buttons: [
|
|
|
{
|
...
|
...
|
@@ -51,7 +52,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
title: __('选择配送骑手'),
|
|
|
classname: 'btn btn-xs btn-primary btn-dialog',
|
|
|
icon: 'fa fa-fighter-jet',
|
|
|
url: 'litestore/litestoreorder/render?ids={ids}',
|
|
|
url: 'litestore/litestoreorder/rider?ids={ids}',
|
|
|
callback: function (data) {
|
|
|
Layer.alert("接收到回传数据:" + JSON.stringify(data), {title: "回传数据"});
|
|
|
},
|
...
|
...
|
@@ -65,7 +66,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
],
|
|
|
formatter: Table.api.formatter.buttons
|
|
|
},
|
|
|
{field: 'rider.nickname', title: __('骑手')},
|
|
|
{field: 'rider_user_id', title: __('骑手'), searchList: Config.riderList, operate: 'IN', formatter: Table.api.formatter.flag},
|
|
|
{field: 'operate', title: __('Operate'), table: table, buttons: [
|
|
|
{name: 'send', text: __('view'), icon: 'fa fa-eye', classname: 'btn btn-xs btn-warning btn-dialog chakan', url: 'litestore/litestoreorder/detail'},
|
|
|
], events: Table.api.events.operate, formatter: Table.api.formatter.operate}
|
...
|
...
|
@@ -116,7 +117,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
});
|
|
|
Controller.api.bindevent();
|
|
|
},
|
|
|
render: function () {
|
|
|
rider: function () {
|
|
|
Controller.api.bindevent();
|
|
|
},
|
|
|
api: {
|
...
|
...
|
|