ProdReplaceMother.js 983 B

1234567891011121314151617181920212223242526272829303132
  1. Ext.define('erp.view.pm.bom.ProdReplaceMother',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. initComponent : function(){
  5. var me = this;
  6. Ext.apply(me, {
  7. items: [{
  8. xtype: 'erpFormPanel',
  9. anchor: '100% 30%',
  10. saveUrl: 'pm/bom/saveProdReplaceMother.action',
  11. deleteUrl: 'pm/bom/deleteProdReplaceMother.action',
  12. updateUrl: 'pm/bom/updateProdReplaceMother.action',
  13. auditUrl: 'pm/bom/auditProdReplaceMother.action',
  14. resAuditUrl: 'pm/bom/resAuditProdReplaceMother.action',
  15. submitUrl: 'pm/bom/submitProdReplaceMother.action',
  16. resSubmitUrl: 'pm/bom/resSubmitProdReplaceMother.action',
  17. getIdUrl: 'common/getId.action?seq=PRODREPLACE_SEQ',
  18. keyField: 'pr_id',
  19. codeField: 'pr_code',
  20. statusField: 'pr_statuscode'
  21. },{
  22. xtype: 'erpGridPanel2',
  23. anchor: '100% 70%',
  24. detno: 'pre_detno',
  25. keyField: 'pre_id',
  26. mainField: 'pre_itemid',
  27. necessaryField: 'pre_prodcode'
  28. }]
  29. });
  30. me.callParent(arguments);
  31. }
  32. });