VendorProduct.js 699 B

123456789101112131415161718192021222324252627282930
  1. Ext.define('erp.view.scm.purchase.VendorProduct',{
  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:'Viewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 20%',
  14. updateUrl: 'scm/purchase/updateVendorProduct.action',
  15. getIdUrl: 'common/getId.action?seq=VENDOR_SEQ',
  16. keyField: 've_id',
  17. codeField: 've_code'
  18. },{
  19. xtype: 'erpGridPanel2',
  20. anchor: '100% 80%',
  21. detno: 'pv_detno',
  22. necessaryField: 'pv_prodid',
  23. keyField: 'pv_id',
  24. mainField: 'pv_vendid'
  25. }]
  26. }]
  27. });
  28. me.callParent(arguments);
  29. }
  30. });