CraftMake.js 717 B

12345678910111213141516171819202122232425262728293031
  1. Ext.define('erp.view.pm.mes.CraftMake',{
  2. extend: 'Ext.Viewport',
  3. layout: 'fit',
  4. hideBorders: true,
  5. initComponent : function(){
  6. var me = this;
  7. Ext.apply(me, {
  8. items: [{
  9. id:'CraftMakeViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 25%',
  14. saveUrl: 'pm/mes/updateCraftMake.action',
  15. updateUrl: 'pm/mes/updateCraftMake.action',
  16. keyField: 'ma_id',
  17. codeField: 'ma_code',
  18. statusField: 'ma_status',
  19. statuscodeField: 'ma_statuscode'
  20. },{
  21. xtype: 'erpGridPanel2',
  22. anchor: '100% 75%',
  23. detno: 'cd_detno',
  24. keyField: 'cd_id',
  25. mainField: 'cd_crid'
  26. }]
  27. }]
  28. });
  29. me.callParent(arguments);
  30. }
  31. });