ProdFeature.js 750 B

12345678910111213141516171819202122232425262728293031
  1. Ext.define('erp.view.pm.bom.ProdFeature',{
  2. extend: 'Ext.Viewport',
  3. layout: 'anchor',
  4. initComponent : function(){
  5. var me = this;
  6. Ext.apply(me, {
  7. items: [{
  8. xtype: 'erpFormPanel',
  9. anchor: '100% 25%',
  10. saveUrl: 'pm/bom/saveProdFeature.action',
  11. deleteUrl: 'pm/bom/deleteProdFeature.action',
  12. updateUrl: 'pm/bom/updateProdFeature.action',
  13. getIdUrl: 'common/getId.action?seq=PRODFEATURE_SEQ',
  14. keyField: 'pr_id',
  15. codeField: 'pr_code',
  16. },{
  17. xtype: 'erpGridPanel2',
  18. anchor: '100% 75%',
  19. detno: 'pf_detno',
  20. keyField: 'pf_id',
  21. mainField: 'pf_prid'
  22. /*tbar:['->',{
  23. text:'新增特征',
  24. xtype:'button',
  25. id:'addFeatrue'
  26. }]*/
  27. }]
  28. });
  29. me.callParent(arguments);
  30. }
  31. });