BasePanel.js 1.4 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354
  1. Ext.define('saas.view.document.bom.BasePanel', {
  2. extend: 'saas.view.core.base.BasePanel',
  3. xtype: 'document-bom-basepanel',
  4. controller: 'document-bom-basepanel',
  5. viewModel: 'document-bom-basepanel',
  6. searchField:[],
  7. //字段属性
  8. _formXtype:'document-bom-formpanel',
  9. _title:'BOM资料',
  10. // _dataUrl:basePath+'ducument/customer/list',
  11. _batchOpenUrl:basePath+'document/bom/batchOpen',
  12. _batchCloseUrl:basePath+'document/bom/batchClose',
  13. _batchDeleteUrl:basePath+'document/bom/batchDelete',
  14. gridConfig: {
  15. idField: 'id',
  16. codeField: 'bo_mothercode',
  17. dataUrl: basePath+'document/bom/list',
  18. columns : [{
  19. text : "id",
  20. width : 0,
  21. dataIndex : "id",
  22. xtype : "numbercolumn",
  23. },{
  24. text : "母件id",
  25. width : 0,
  26. dataIndex : "bo_motherid",
  27. xtype : "numbercolumn",
  28. },{
  29. text : "母件编号",
  30. width : 200.0,
  31. dataIndex : "bo_mothercode",
  32. },
  33. {
  34. text : "母件名称",
  35. dataIndex : "bo_mothername",
  36. width : 120.0,
  37. },
  38. {
  39. text : "BOM状态",
  40. dataIndex : "bo_status",
  41. width : 120.0,
  42. },
  43. {
  44. text : "BOM版本",
  45. dataIndex : "bo_version",
  46. width : 120.0,
  47. }]
  48. },
  49. });