ProductSNRelation.js 801 B

123456789101112131415161718192021222324252627282930
  1. Ext.define('erp.view.scm.product.ProductSNRelation',{
  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. bodyStyle: 'background:#f1f1f1;',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 20%',
  14. saveUrl: 'scm/product/saveProductSNRelation.action',
  15. deleteUrl: 'scm/product/deleteProductSNRelation.action',
  16. updateUrl: 'scm/product/updateProductSNRelation.action',
  17. getIdUrl: 'common/getId.action?seq=PRODUCTSNRELATION_SEQ',
  18. keyField: 'pr_code'
  19. },{
  20. xtype: 'erpGridPanel2',
  21. anchor: '100% 80%',
  22. detno : 'psr_detno',
  23. keyField : 'psr_id',
  24. mainField : 'psr_prodcode'
  25. }]
  26. }]
  27. });
  28. me.callParent(arguments);
  29. }
  30. });