ProductFeature.js 599 B

123456789101112131415161718192021222324
  1. Ext.define('erp.view.scm.product.ProductFeature',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. layout: 'anchor',
  10. items: [{
  11. xtype: 'erpFormPanel',
  12. anchor: '100% 100%',
  13. saveUrl: 'scm/product/saveProductFeature.action',
  14. updateUrl: 'scm/product/updateProductFeature.action',
  15. getIdUrl: 'common/getId.action?seq=PRODUCT_SEQ',
  16. keyField: 'pr_id',
  17. codeField: 'pr_code',
  18. statusField: 'pr_statuscode'
  19. }]
  20. }]
  21. });
  22. me.callParent(arguments);
  23. }
  24. });