BarPrint.js.svn-base 674 B

123456789101112131415161718192021222324252627
  1. Ext.define('erp.view.scm.reserve.BarPrint',{
  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/saveBarPrint.action',
  12. updateUrl: 'scm/reserve/updateBarPrint.action',
  13. printUrl: 'scm/reserve/barPrint.action',
  14. getIdUrl: 'common/getId.action?seq=BARPRINT_SEQ',
  15. codeField: 'bp_code',
  16. keyField: 'bp_id'
  17. },{
  18. xtype: 'erpGridPanel2',
  19. anchor: '100% 65%',
  20. detno: 'bpd_detno',
  21. keyField: 'bpd_id',
  22. mainField: 'bpd_bpid'
  23. }]
  24. });
  25. me.callParent(arguments);
  26. }
  27. });