PostStyle.js.svn-base 706 B

123456789101112131415161718192021222324252627
  1. Ext.define('erp.view.ma.PostStyle',{
  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% 25%',
  11. saveUrl: 'common/saveCommon.action?caller=' +caller,
  12. deleteUrl: 'common/deleteCommon.action?caller=' +caller,
  13. updateUrl: 'common/updateCommon.action?caller=' +caller,
  14. getIdUrl: 'common/getId.action?seq=POSTSTYLE_SEQ',
  15. keyField: 'ps_id'
  16. },{
  17. xtype: 'erpGridPanel2',
  18. anchor: '100% 75%',
  19. allowExtraButtons: true,
  20. keyField: 'pss_id',
  21. detno: 'pss_detno',
  22. mainField: 'pss_psid'
  23. }]
  24. });
  25. me.callParent(arguments);
  26. }
  27. });