BarStockProfit.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334
  1. Ext.define('erp.view.scm.reserve.BarStockProfit',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. xtype: 'erpFormPanel',
  10. anchor: '100% 40%',
  11. saveUrl: 'scm/barStockProfit/saveProfit.action?caller=' +caller,
  12. deleteUrl: 'scm/barStockProfit/deleteProfit.action?caller=' +caller,
  13. updateUrl: 'scm/barStockProfit/updateProfit.action?caller=' +caller,
  14. auditUrl: 'scm/barStockProfit/auditProfit.action?caller=' +caller,
  15. resAuditUrl: 'scm/barStockProfit/resAduitProfit.action?caller=' +caller,
  16. submitUrl: 'scm/barStockProfit/submitProfit.action?caller=' +caller,
  17. resSubmitUrl: 'scm/barStockProfit/resSubmitProfit.action?caller=' +caller,
  18. getIdUrl: 'common/getId.action?seq=BARSTOCKTAKING_SEQ',
  19. keyField: 'bs_id',
  20. codeField: 'bs_code',
  21. statusField: 'bs_status',
  22. statuscodeField: 'bs_statuscode'
  23. },{
  24. xtype: 'erpGridPanel2',
  25. anchor: '100% 60%',
  26. allowExtraButtons: true,
  27. detno: 'bsd_detno',
  28. keyField: 'bsd_id',
  29. mainField: 'bsd_bsid'
  30. }]
  31. });
  32. me.callParent(arguments);
  33. }
  34. });