|
@@ -201,12 +201,12 @@
|
|
|
SpreadJsObj.loadSheetData(resultSpread.getActiveSheet(), 'data', searchResult);
|
|
|
};
|
|
|
|
|
|
- $('input', this.obj).bind('keydown', function (e) {
|
|
|
+ $('input', obj).bind('keydown', function (e) {
|
|
|
if (e.keyCode == 13) searchBills();
|
|
|
});
|
|
|
- $('button', this.obj).bind('click', () => {searchBills()});
|
|
|
- $('#over', this.obj).bind('change', () => {searchOver()});
|
|
|
- $('#empty', this.obj).bind('change', () => {searchLess()});
|
|
|
+ $('button', obj).bind('click', () => {searchBills()});
|
|
|
+ $('#over', obj).bind('change', () => {searchOver()});
|
|
|
+ $('#empty', obj).bind('change', () => {searchLess()});
|
|
|
resultSpread.getActiveSheet().bind(spreadNS.Events.CellDoubleClick, function (e, info) {
|
|
|
const sheet = info.sheet;
|
|
|
const data = sheet.zh_data;
|