WarehouseMan.js 631 B

1234567891011121314151617181920212223242526
  1. Ext.define('erp.view.scm.reserve.WarehouseMan', {
  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% 20%',
  11. updateUrl : 'scm/reserve/updateWarehouseMan.action',
  12. getIdUrl : 'common/getId.action?seq=WAREHOUSE_SEQ',
  13. keyField : 'wh_id',
  14. codeField : 'wh_code'
  15. }, {
  16. xtype : 'erpGridPanel2',
  17. anchor : '100% 80%',
  18. keyField : 'wm_id',
  19. mainField : 'wm_whid',
  20. detno : 'wm_detno',
  21. necessaryField : 'wm_cgycode'
  22. } ]
  23. });
  24. me.callParent(arguments);
  25. }
  26. });