整理对话框相关逻辑,封装部分js方法

This commit is contained in:
2021-03-18 06:39:17 +08:00
parent bc79583fe7
commit 7223845862
96 changed files with 317 additions and 1887 deletions
@@ -53,9 +53,9 @@ var params = JSON.parse('{{json_encode($query)}}');
sGrid.remoteData(params);
};
new agGrid.Grid(mGridDiv, mGrid);
// 读取数据
mGrid.remoteData();
$ref_customer_order = mGrid;
params['master'] = 0;
var sGridDiv = document.querySelector("#ref_cancel_order_data");
var sGrid = new agGridOptions();
@@ -92,7 +92,6 @@ var params = JSON.parse('{{json_encode($query)}}');
};
new agGrid.Grid(sGridDiv, sGrid);
// 读取数据
sGrid.remoteData();
$ref_customer_order_data = sGrid;