SerialRule.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536
  1. Ext.define('erp.view.scm.reserve.SerialRule',{
  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% 40%',
  11. saveUrl: 'scm/reserve/saveSerail.action?caller=' +caller,
  12. deleteUrl: 'scm/reserve/deleteSerail.action?caller=' +caller,
  13. updateUrl: 'scm/reserve/updateSerail.action?caller=' +caller,
  14. auditUrl: 'scm/reserve/auditSerail.action?caller=' +caller,
  15. resAuditUrl: 'scm/reserve/resAuditSerail.action?caller=' +caller,
  16. submitUrl: 'scm/reserve/submitSerail.action?caller=' +caller,
  17. resSubmitUrl: 'scm/reserve/resSubmitSerail.action?caller=' +caller,
  18. bannedUrl:'scm/reserve/bannedSerail.action?caller=' +caller,
  19. resBannedUrl:'scm/reserve/resBannedSerail.action?caller='+caller,
  20. getIdUrl: 'common/getId.action?seq=BARCODESET_SEQ',
  21. keyField: 'bs_id',
  22. codeField: 'bs_code',
  23. statusField: 'bs_status',
  24. statuscodeField: 'bs_statuscode'
  25. },{
  26. xtype: 'erpGridPanel2',
  27. anchor: '100% 60%',
  28. detno: 'bsd_detno',
  29. keyField: 'bsd_id',
  30. mainField: 'bsd_bsid',
  31. allowExtraButtons : true
  32. }]
  33. });
  34. me.callParent(arguments);
  35. }
  36. });