PurchasePrice.js 1.1 KB

1234567891011121314151617181920212223242526272829303132333435
  1. Ext.define('erp.view.scm.purchase.PurchasePrice',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. xtype: 'erpFormPanel',
  10. anchor: '100% 35%',
  11. saveUrl: 'scm/purchase/savePurchasePrice.action',
  12. deleteUrl: 'scm/purchase/deletePurchasePrice.action',
  13. updateUrl: 'scm/purchase/updatePurchasePrice.action',
  14. auditUrl: 'scm/purchase/auditPurchasePrice.action',
  15. resAuditUrl: 'scm/purchase/resAuditPurchasePrice.action',
  16. submitUrl: 'scm/purchase/submitPurchasePrice.action',
  17. resSubmitUrl: 'scm/purchase/resSubmitPurchasePrice.action',
  18. bannedUrl: 'scm/purchase/bannedPurchasePrice.action',
  19. resBannedUrl: 'scm/purchase/resBannedPurchasePrice.action',
  20. getIdUrl: 'common/getId.action?seq=PURCHASEPRICE_SEQ',
  21. codeField: 'pp_code',
  22. keyField: 'pp_id',
  23. statusField: 'pp_statuscode'
  24. },{
  25. xtype: 'erpGridPanel2',
  26. anchor: '100% 65%',
  27. detno: 'ppd_detno',
  28. necessaryField: 'ppd_prodcode',
  29. keyField: 'ppd_id',
  30. mainField: 'ppd_ppid'
  31. }]
  32. });
  33. me.callParent(arguments);
  34. }
  35. });