FATabPanel.js 1.9 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475
  1. Ext.define('erp.view.sys.fa.FATabPanel',{
  2. extend: 'Ext.tab.Panel',
  3. alias: 'widget.fatabpanel',
  4. id:'fatabpanel',
  5. animCollapse: false,
  6. bodyBorder: false,
  7. border: false,
  8. autoShow: true,
  9. tabPosition:'bottom',
  10. frame:true,
  11. dockedItems: [Ext.create('erp.view.sys.base.Toolbar')],
  12. defaults:{
  13. plugins: [{
  14. ptype: 'cellediting',
  15. clicksToEdit: 2,
  16. pluginId: 'cellplugin'
  17. }]
  18. },
  19. items: [{
  20. title: '其它出入库客科目',
  21. xtype:'simpleactiongrid',
  22. caller:'ProdIOCateSet',
  23. saveUrl: 'co/cost/saveProdIOCateSet.action',
  24. deleteUrl: 'co/cost/deleteProdIOCateSet.action',
  25. updateUrl: 'co/cost/updateProdIOCateSet.action',
  26. getIdUrl: 'common/getId.action?seq=PRODIOCATESET_SEQ',
  27. keyField: 'pc_id',
  28. codeField: 'pc_code',
  29. params:{
  30. caller:'ProdIOCateSet!Grid',
  31. condition:'1=1'
  32. }
  33. },{
  34. title: '币别',
  35. xtype:'simpleactiongrid',
  36. caller:'Currencys',
  37. saveUrl: 'fa/ars/saveCurrencys.action',
  38. deleteUrl: 'fa/ars/deleteCurrencys.action',
  39. updateUrl: 'fa/ars/updateCurrencys.action',
  40. getIdUrl: 'common/getId.action?seq=CURRENCYS_SEQ',
  41. keyField:'cr_id',
  42. codeField:'cr_code',
  43. params:{
  44. caller:'Currencys!Grid',
  45. condition:'1=1'
  46. }
  47. },{
  48. title: '月度汇率',
  49. xtype:'simpleactiongrid',
  50. caller:'CurrencysMonth',
  51. keyField:'cm_id',
  52. deleteUrl: 'fa/fix/CurrencysController/deleteCurrencysMonth.action',
  53. keyField: 'cm_id',
  54. params:{
  55. caller:'CurrencysMonth!Grid',
  56. condition:'1=1'
  57. }
  58. },{
  59. title:'固定资产类型',
  60. xtype:'simpleactiongrid',
  61. caller:'AssetsKind',
  62. saveUrl: 'fa/fix/saveAssetsKind.action',
  63. deleteUrl: 'fa/fix/deleteAssetsKind.action',
  64. updateUrl: 'fa/fix/updateAssetsKind.action',
  65. getIdUrl: 'common/getId.action?seq=ASSETSKIND_SEQ',
  66. keyField : 'ak_id',
  67. params:{
  68. caller:'AssetsKind!Grid',
  69. condition:'1=1'
  70. }
  71. }],
  72. initComponent : function(){
  73. this.callParent(arguments);
  74. }
  75. });