Packing.js.svn-base 1.1 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Ext.define('erp.view.scm.reserve.Packing',{
  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/savePacking.action',
  12. deleteUrl: 'scm/reserve/deletePacking.action',
  13. updateUrl: 'scm/reserve/updatePacking.action',
  14. submitUrl: 'scm/reserve/submitPacking.action',
  15. resSubmitUrl: 'scm/reserve/resSubmitPacking.action',
  16. auditUrl: 'scm/reserve/auditPacking.action',
  17. resAuditUrl: 'scm/reserve/resAuditPacking.action',
  18. printUrl: 'scm/reserve/printPacking.action',
  19. postUrl: 'scm/reserve/postPacking.action',
  20. resPostUrl: 'scm/reserve/resPostPacking.action',
  21. getIdUrl: 'common/getId.action?seq=Packing_SEQ',
  22. keyField: 'pi_id',
  23. codeField: 'pi_code',
  24. statuscodeField: 'pi_statuscode',
  25. statusField: 'pi_status'
  26. },{
  27. xtype: 'erpGridPanel2',
  28. anchor: '100% 50%',
  29. detno: 'pd_detno',
  30. keyField: 'pd_id',
  31. mainField: 'pd_piid'
  32. }]
  33. });
  34. me.callParent(arguments);
  35. }
  36. });