BOMChange.js 797 B

1234567891011121314151617181920212223242526272829
  1. Ext.define('erp.view.pm.craft.BOMChange',{
  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% 50%',
  13. saveUrl: 'pm/craft/saveBOM.action',
  14. deleteUrl: 'pm/craft/deleteBOM.action',
  15. updateUrl: 'pm/craft/updateBOM.action',
  16. submitUrl: 'pm/craft/submitBOM.action',
  17. auditUrl: 'pm/craft/auditBOM.action',
  18. resAuditUrl: 'pm/craft/resAuditBOM.action',
  19. resSubmitUrl: 'pm/craft/resSubmitBOM.action',
  20. getIdUrl: 'common/getId.action?seq=BOM_SEQ',
  21. keyField: 'bo_id',
  22. statusField: 'bo_status',
  23. codeField: 'bo_statuscode'
  24. }]
  25. }]
  26. });
  27. me.callParent(arguments);
  28. }
  29. });