PurchaseSend.js 642 B

12345678910111213141516171819202122232425
  1. Ext.define('erp.view.scm.purchase.PurchaseSend',{
  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/purchase/savePurchase.action',
  14. deleteUrl: 'scm/purchase/deletePurchase.action',
  15. updateUrl: 'scm/purchase/udpatePurchase.action',
  16. getIdUrl: 'common/getId.action?seq=PURCHASE_SEQ',
  17. keyField: 'pu_id',
  18. codeField: 'pu_code',
  19. statusField: 'pu_statuscode'
  20. }]
  21. }]
  22. });
  23. me.callParent(arguments);
  24. }
  25. });