inventoryCountList.js 675 B

1234567891011
  1. $(function(){
  2. //实例化查询表单,当前页面只能实例化一次
  3. var searchForm = $("#searchForm").searchForm();
  4. var advSearchForm = $("#advSearchForm").searchForm();
  5. //实例化实体List
  6. $.InventoryList = new $.AbstractList( {entity:"Inventory",searchForm:searchForm, advSearchForm:advSearchForm});
  7. $("#btnSearch").bind("click", $.proxy($.InventoryList.quickSearch, $.InventoryList));
  8. $("#btnAdvSearch").bind("click", $.proxy($.InventoryList.openAdvSearchWindow, $.InventoryList));
  9. $("#btnQuery").bind("click", $.proxy($.InventoryList.advSearch, $.InventoryList));
  10. $("#btnReset").bind("click", $.proxy($.InventoryList.reset, $.InventoryList));
  11. });