QUABatch.js.svn-base 1006 B

12345678910111213141516171819202122232425262728293031323334
  1. Ext.define('erp.view.scm.reserve.QUABatch',{
  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/saveQUABatch.action',
  12. deleteUrl: 'scm/reserve/deleteQUABatch.action',
  13. updateUrl: 'scm/reserve/updateQUABatch.action',
  14. submitUrl: 'scm/reserve/submitQUABatch.action',
  15. resSubmitUrl: 'scm/reserve/resSubmitQUABatch.action',
  16. auditUrl: 'scm/reserve/auditQUABatch.action',
  17. resAuditUrl: 'scm/reserve/resAuditQUABatch.action',
  18. getIdUrl: 'common/getId.action?seq=QUABATCH_SEQ',
  19. keyField: 'qba_id',
  20. codeField: 'qba_code',
  21. statuscodeField: 'qba_statuscode',
  22. statusField: 'qba_status'
  23. },{
  24. xtype: 'erpGridPanel2',
  25. anchor: '100% 65%',
  26. detno: 'pbd_detno',
  27. necessaryField: 'pbd_batchcode',
  28. keyField: 'pbd_id',
  29. mainField: 'pbd_qbaid'
  30. }]
  31. });
  32. me.callParent(arguments);
  33. }
  34. });