|
|
@@ -258,7 +258,7 @@ let gljSelOprObj = {
|
|
|
cacheSection.push(data[i]);
|
|
|
}
|
|
|
}
|
|
|
- sheetCommonObj.cleanSheet(me.workBook.getSheet(0), me.setting, -1);
|
|
|
+ //sheetCommonObj.cleanSheet(me.workBook.getSheet(0), me.setting, -1);
|
|
|
sheetsOprObj.showDataForGljSel(me.workBook.getSheet(0), me.setting, cacheSection, rationGLJOprObj.distTypeTree);
|
|
|
me.workBook.getSheet(0).setRowCount(cacheSection.length);
|
|
|
cacheSection = null;
|
|
|
@@ -332,7 +332,7 @@ $(document).ready(function () {
|
|
|
const gljLibId = $(this).val();
|
|
|
gljSelOprObj.initView(gljLibId, false);
|
|
|
});
|
|
|
- $('#gljSearchKeyword').change(function () {
|
|
|
+ /* $('#gljSearchKeyword').change(function () {
|
|
|
gljSelOprObj.filterDatasAndShow();
|
|
|
});
|
|
|
$('#gljSearchKeyword').bind('keypress', function (e) {
|
|
|
@@ -340,7 +340,10 @@ $(document).ready(function () {
|
|
|
$(this).blur();
|
|
|
return false;
|
|
|
}
|
|
|
- });
|
|
|
+ }); */
|
|
|
+ $('#gljSearchKeyword').on('keyup', _.debounce(function () {
|
|
|
+ gljSelOprObj.filterDatasAndShow();
|
|
|
+ }, 300));
|
|
|
$('#selGlj').on('shown.bs.modal', function () {
|
|
|
if (gljSelOprObj.workBook) {
|
|
|
gljSelOprObj.workBook.refresh();
|