Invoice.js.svn-base 1.1 KB

12345678910111213141516171819202122232425262728293031323334353637
  1. Ext.define('erp.view.scm.reserve.Invoice',{
  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% 50%',
  11. saveUrl: 'scm/reserve/saveInvoice.action',
  12. deleteUrl: 'scm/reserve/deleteInvoice.action',
  13. updateUrl: 'scm/reserve/updateInvoice.action',
  14. submitUrl: 'scm/reserve/submitInvoice.action',
  15. resSubmitUrl: 'scm/reserve/resSubmitInvoice.action',
  16. auditUrl: 'scm/reserve/auditInvoice.action',
  17. resAuditUrl: 'scm/reserve/resAuditInvoice.action',
  18. postUrl: 'scm/reserve/postInvoice.action',
  19. printUrl: 'scm/reserve/printInvoice.action',
  20. printDeliveryUrl: 'scm/reserve/printInvoice.action',
  21. resPostUrl: 'scm/reserve/resPostInvoice.action',
  22. getIdUrl: 'common/getId.action?seq=Invoice_SEQ',
  23. keyField: 'in_id',
  24. codeField: 'in_code',
  25. statuscodeField: 'in_statuscode',
  26. statusField: 'in_status'
  27. },{
  28. xtype: 'erpGridPanel2',
  29. anchor: '100% 50%',
  30. detno: 'id_detno',
  31. keyField: 'id_id',
  32. mainField: 'id_inid'
  33. }]
  34. });
  35. me.callParent(arguments);
  36. }
  37. });