1234567891011 |
- $(function(){
- //实例化查询表单,当前页面只能实例化一次
- var searchForm = $("#searchForm").searchForm();
- var advSearchForm = $("#advSearchForm").searchForm();
- //实例化实体List
- $.InventoryList = new $.AbstractList( {entity:"Inventory",searchForm:searchForm, advSearchForm:advSearchForm});
- $("#btnSearch").bind("click", $.proxy($.InventoryList.quickSearch, $.InventoryList));
- $("#btnAdvSearch").bind("click", $.proxy($.InventoryList.openAdvSearchWindow, $.InventoryList));
- $("#btnQuery").bind("click", $.proxy($.InventoryList.advSearch, $.InventoryList));
- $("#btnReset").bind("click", $.proxy($.InventoryList.reset, $.InventoryList));
- });
|