CategoryAssKind.js 806 B

1234567891011121314151617181920212223242526272829303132
  1. Ext.define('erp.view.fa.ars.CategoryAssKind',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. id:'makeViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 60%',
  14. saveUrl: 'fa/ars/saveCategoryAssKind.action',
  15. deleteUrl: 'fa/ars/deleteCategoryAssKind.action',
  16. updateUrl: 'fa/ars/updateCategoryAssKind.action',
  17. getIdUrl: 'common/getId.action?seq=CATEGORY_SEQ',
  18. keyField: 'ca_id',
  19. codeField: 'ca_code',
  20. },{
  21. xtype: 'erpGridPanel2',
  22. anchor: '100% 40%',
  23. detno: 'cak_detno',
  24. necessaryField: 'cak_akid',
  25. keyField: 'cak_id',
  26. mainField: 'cak_cateid'
  27. }]
  28. }]
  29. });
  30. me.callParent(arguments);
  31. }
  32. });