|
|
@@ -6,7 +6,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
Table.api.init({
|
|
|
extend: {
|
|
|
index_url: 'ledger/ledger_frozen_change/index' + location.search,
|
|
|
-
|
|
|
table: 'ledger_frozen_change',
|
|
|
}
|
|
|
});
|
|
|
@@ -27,7 +26,6 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
// {field: 'form_id', title: __('form_id')},
|
|
|
{field: 'change_amount', title: __('Change_amount'), operate:'BETWEEN'},
|
|
|
{field: 'present_amount', title: __('Present_amount'), operate:'BETWEEN'},
|
|
|
-
|
|
|
{field: 'create_time', title: __('Create_time'), operate:'RANGE', addclass:'datetimerange', autocomplete:false, formatter: Table.api.formatter.datetime},
|
|
|
{
|
|
|
field: 'action', title: __('Action'), searchList: {
|
|
|
@@ -44,13 +42,7 @@ define(['jquery', 'bootstrap', 'backend', 'table', 'form'], function ($, undefin
|
|
|
|
|
|
// 为表格绑定事件
|
|
|
Table.api.bindevent(table);
|
|
|
- },
|
|
|
- add: function () {
|
|
|
- Controller.api.bindevent();
|
|
|
- },
|
|
|
- edit: function () {
|
|
|
- Controller.api.bindevent();
|
|
|
- },
|
|
|
+ }
|
|
|
api: {
|
|
|
bindevent: function () {
|
|
|
Form.api.bindevent($("form[role=form]"));
|