...
|
...
|
@@ -41,6 +41,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
{field: 'city_name', title: __('City_name')},
|
|
|
{field: 'county_name', title: __('County_name')},
|
|
|
{field: 'address', title: __('Address')},
|
|
|
{field: 'logistic_code', title: __('运单号')},
|
|
|
{field: 'createtime', title: __('Createtime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
|
|
|
{field: 'paytime', title: __('Paytime'), operate:'RANGE', addclass:'datetimerange', formatter: Table.api.formatter.datetime},
|
|
|
{field: 'status', title: __('Status'), searchList: {"1":__('Status 1'),"2":__('Status 2'),"3":__('Status 3'),"4":__('Status 4'),"5":__('Status 5'),"6":__('Status 6'),"7":__('Status 7'),"8":__('Status 8'),"9":__('Status 9'),"10":__('Status 10'),"11":__('Status 11')}, formatter: Table.api.formatter.status},
|
...
|
...
|
@@ -68,9 +69,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
name: 'send',
|
|
|
text: __('发货'),
|
|
|
title: __('发货'),
|
|
|
classname: 'btn btn-xs btn-info btn-ajax',
|
|
|
classname: 'btn btn-xs btn-info btn-dialog',
|
|
|
icon: '',
|
|
|
url: $.fn.bootstrapTable.defaults.extend.send_url + '/status/3',
|
|
|
url: $.fn.bootstrapTable.defaults.extend.send_url,
|
|
|
confirm: '是否确认通过已发货?',
|
|
|
hidden:function(row){
|
|
|
if(row.status != 2){
|
...
|
...
|
@@ -175,6 +176,9 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin |
|
|
init();
|
|
|
})
|
|
|
},
|
|
|
send:function(){
|
|
|
Controller.api.bindevent();
|
|
|
},
|
|
|
api: {
|
|
|
bindevent: function () {
|
|
|
Form.api.bindevent($("form[role=form]"));
|
...
|
...
|
|