Estimate.js 1.4 KB

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. Ext.define('erp.view.fa.arp.Estimate',{
  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:'arbillViewport',
  10. layout: 'anchor',
  11. items: [{
  12. xtype: 'erpFormPanel',
  13. anchor: '100% 50%',
  14. saveUrl: 'fa/arp/EstimateController/saveEstimate.action',
  15. deleteUrl: 'fa/arp/EstimateController/deleteEstimate.action',
  16. updateUrl: 'fa/arp/EstimateController/updateEstimate.action',
  17. auditUrl: 'fa/arp/EstimateController/auditEstimate.action',
  18. resAuditUrl: 'fa/arp/EstimateController/resAuditEstimate.action',
  19. submitUrl: 'fa/arp/EstimateController/submitEstimate.action',
  20. resSubmitUrl: 'fa/arp/EstimateController/resSubmitEstimate.action',
  21. postUrl: 'fa/arp/EstimateController/postEstimate.action',
  22. resPostUrl: 'fa/arp/EstimateController/resPostEstimate.action',
  23. printUrl:'fa/arp/EstimateController/printEstimate.action',
  24. getIdUrl: 'common/getId.action?seq=Estimate_SEQ',
  25. keyField: 'es_id',
  26. codeField: 'es_code',
  27. auditStatusCode:'es_auditstatuscode',
  28. statusCode:'es_statuscode'
  29. },{
  30. xtype: 'erpGridPanel2',
  31. anchor: '100% 50%'
  32. // detno: 'gsd_detno', // 整个要改啊 啊啊 啊………………
  33. // necessaryField: 'gsd_prodcode',
  34. // keyField: 'esd_id',
  35. // mainField: 'gsd_gsid'
  36. }]
  37. }]
  38. });
  39. me.callParent(arguments);
  40. }
  41. });