FeatureProduct.js 1.2 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. Ext.define('erp.view.pm.bom.FeatureProduct',{
  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:'FeatureProductViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 45%',
  14. saveUrl: 'pm/bom/saveFeatureProduct.action',
  15. deleteUrl: 'pm/bom/deleteFeatureProduct.action',
  16. updateUrl: 'pm/bom/updateFeatureProduct.action',
  17. auditUrl: 'pm/bom/auditFeatureProduct.action',
  18. resAuditUrl: 'pm/bom/resAuditFeatureProduct.action',
  19. submitUrl: 'pm/bom/submitFeatureProduct.action',
  20. resSubmitUrl: 'pm/bom/resSubmitFeatureProduct.action',
  21. getIdUrl: 'common/getId.action?seq=FEATUREPRODUCT_SEQ',
  22. keyField: 'fp_id',
  23. codeField: 'fp_code',
  24. },{
  25. xtype: 'erpGridPanel2',
  26. anchor: '100% 55%',
  27. // title:'特征值明细',
  28. detno: 'fpd_detno',
  29. keyField: 'fpd_id',
  30. mainField: 'fpd_fpid',
  31. necessaryField: 'fpd_fevaluecode',
  32. tbar:[{
  33. xtype:'tbtext',
  34. text:'特征值明细'
  35. },'->',{
  36. text:'删除明细',
  37. xtype:'button',
  38. id:'deleteDetail',
  39. }]
  40. }]
  41. }]
  42. });
  43. me.callParent(arguments);
  44. }
  45. });