PriceMould.js 1.1 KB

123456789101112131415161718192021222324252627282930313233343536373839
  1. Ext.define('erp.view.pm.mould.PriceMould',{
  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:'PriceMouldViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 50%',
  14. saveUrl: 'pm/mould/savePriceMould.action',
  15. deleteUrl: 'pm/mould/deletePriceMould.action',
  16. updateUrl: 'pm/mould/updatePriceMould.action',
  17. auditUrl: 'pm/mould/auditPriceMould.action',
  18. resAuditUrl: 'pm/mould/resAuditPriceMould.action',
  19. submitUrl: 'pm/mould/submitPriceMould.action',
  20. resSubmitUrl: 'pm/mould/resSubmitPriceMould.action',
  21. bannedUrl: 'pm/mould/bannedPriceMould.action',
  22. resBannedUrl: 'pm/mould/resBannedPriceMould.action',
  23. getIdUrl: 'common/getId.action?seq=PriceMould_SEQ',
  24. keyField: 'pd_id',
  25. codeField: 'pd_code',
  26. statusField: 'pd_statuscode'
  27. },{
  28. xtype: 'erpGridPanel2',
  29. anchor: '100% 50%',
  30. detno: 'pmd_detno',
  31. necessaryField: 'pmd_prodcode',
  32. keyField: 'pmd_id',
  33. mainField: 'pmd_pdid'
  34. }]
  35. }]
  36. });
  37. me.callParent(arguments);
  38. }
  39. });