ProdInOutApply.js.svn-base 1.0 KB

12345678910111213141516171819202122232425262728293031323334
  1. Ext.define('erp.view.scm.reserve.ProdInOutApply',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. xtype: 'erpFormPanel',
  10. anchor: '100% 35%',
  11. saveUrl: 'scm/reserve/saveProdInOutApply.action',
  12. deleteUrl: 'scm/reserve/deleteProdInOutApply.action',
  13. updateUrl: 'scm/reserve/updateProdInOutApply.action',
  14. submitUrl: 'scm/reserve/submitProdInOutApply.action',
  15. resSubmitUrl: 'scm/reserve/resSubmitProdInOutApply.action',
  16. auditUrl: 'scm/reserve/auditProdInOutApply.action',
  17. resAuditUrl: 'scm/reserve/resAuditProdInOutApply.action',
  18. getIdUrl: 'common/getId.action?seq=ProdInOutApply_SEQ',
  19. keyField: 'pi_id',
  20. codeField: 'pi_code',
  21. statuscodeField: 'pi_statuscode',
  22. statusField: 'pi_status'
  23. },{
  24. xtype: 'erpGridPanel2',
  25. anchor: '100% 65%',
  26. allowExtraButtons: true,
  27. detno: 'pd_detno',
  28. keyField: 'pd_id',
  29. mainField: 'pd_piid'
  30. }]
  31. });
  32. me.callParent(arguments);
  33. }
  34. });