|
@@ -48,6 +48,21 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
return row.status===0 && table.data('operate-audit');
|
|
|
}
|
|
|
},
|
|
|
+ {
|
|
|
+ name: 'del',
|
|
|
+ text: __('删除'),
|
|
|
+ title: __('删除'),
|
|
|
+ classname: 'btn btn-xs btn-danger btn-ajax',
|
|
|
+ icon: 'fa',
|
|
|
+ url: 'order_voucher/del',
|
|
|
+ callback: function (data) {
|
|
|
+ //Layer.alert("接收到回传数据:" + JSON.stringify(data), {title: "回传数据"});
|
|
|
+ $('.btn-refresh').trigger('click')
|
|
|
+ },
|
|
|
+ visible: function (row) {
|
|
|
+ return table.data('operate-del');
|
|
|
+ }
|
|
|
+ },
|
|
|
]
|
|
|
}
|
|
|
]
|