ProductGroup.js 699 B

123456789101112131415161718192021222324252627282930
  1. Ext.define('erp.view.scm.product.ProductGroup',{
  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:'productViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 20%',
  14. updateUrl: 'scm/product/updateProductGroup.action',
  15. getIdUrl: 'common/getId.action?seq=PRODUCT_SEQ',
  16. keyField: 'pr_id',
  17. codeField: 'pr_code',
  18. },{
  19. xtype: 'erpGridPanel2',
  20. anchor: '100% 80%',
  21. keyField: 'pg_id',
  22. detno: 'pg_detno',
  23. mainField: 'pg_prid',
  24. necessaryField:'pg_name'
  25. }]
  26. }]
  27. });
  28. me.callParent(arguments);
  29. }
  30. });