整理对话框相关逻辑,封装部分js方法
This commit is contained in:
@@ -55,7 +55,6 @@ var params = JSON.parse('{{json_encode($query)}}');
|
||||
sGrid.remoteData(params);
|
||||
};
|
||||
new agGrid.Grid(mGridDiv, mGrid);
|
||||
// 读取数据
|
||||
mGrid.remoteData();
|
||||
$ref_promotion = mGrid;
|
||||
|
||||
@@ -82,7 +81,6 @@ var params = JSON.parse('{{json_encode($query)}}');
|
||||
{cellClass:'text-center', field: 'id', headerName: 'ID', width: 60}
|
||||
];
|
||||
new agGrid.Grid(sGridDiv, sGrid);
|
||||
// 读取数据
|
||||
sGrid.remoteData();
|
||||
$ref_promotion_data = sGrid;
|
||||
|
||||
|
||||
@@ -61,7 +61,6 @@ var $ref_stock_select = null;
|
||||
|
||||
new agGrid.Grid(gridDiv, grid);
|
||||
|
||||
// 读取数据
|
||||
grid.remoteData({page: 1});
|
||||
|
||||
var data = search.forms;
|
||||
|
||||
Reference in New Issue
Block a user