MoveProductDetail.js 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Ext.define('erp.view.pm.make.MoveProductDetail',{
  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:'makeViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 30%',
  14. saveUrl: 'pm/make/saveMoveProductDetail.action',
  15. deleteUrl: 'pm/make/deleteMoveProductDetail.action',
  16. updateUrl: 'pm/make/updateMoveProductDetail.action',
  17. auditUrl: 'pm/make/auditMoveProductDetail.action',
  18. resAuditUrl: 'pm/make/resAuditMoveProductDetail.action',
  19. submitUrl: 'pm/make/submitMoveProductDetail.action',
  20. resSubmitUrl: 'pm/make/resSubmitMoveProductDetail.action',
  21. getIdUrl: 'common/getId.action?seq=MOVEPRODUCT_SEQ',
  22. keyField: 'mp_id',
  23. codeField: 'mp_code',
  24. statusField: 'mp_statuscode'
  25. },{
  26. xtype: 'erpGridPanel2',
  27. anchor: '100% 70%',
  28. detno: 'mpd_detno',
  29. necessaryField: 'mpd_prodcode',
  30. keyField: 'mpd_id',
  31. mainField: 'mpd_mpid'
  32. }]
  33. }]
  34. });
  35. me.callParent(arguments);
  36. }
  37. });