BomSet.js 1.0 KB

1234567891011121314151617181920212223242526272829303132333435363738
  1. Ext.define('erp.view.pm.bom.BomSet',{
  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:'BomSetViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 48%',
  14. saveUrl: 'pm/bom/saveBomSet.action',
  15. deleteUrl: 'pm/bom/deleteBomSet.action',
  16. updateUrl: 'pm/bom/updateBomSet.action',
  17. auditUrl: 'pm/bom/auditBomSet.action',
  18. resAuditUrl: 'pm/bom/resAuditBomSet.action',
  19. submitUrl: 'pm/bom/submitBomSet.action',
  20. resSubmitUrl: 'pm/bom/resSubmitBomSet.action',
  21. getIdUrl: 'common/getId.action?seq=BomSet_SEQ',
  22. keyField: 'bs_id',
  23. codeField: 'bs_code',
  24. statusField: 'bs_status',
  25. statuscodeField: 'bs_statuscode'
  26. },{
  27. xtype: 'erpGridPanel2',
  28. anchor: '100% 52%',
  29. detno: 'bsd_detno',
  30. keyField: 'bsd_id',
  31. mainField: 'bsd_bsid',
  32. necessaryField: 'bsd_prodcode'
  33. }]
  34. }]
  35. });
  36. me.callParent(arguments);
  37. }
  38. });