index.js 1.4 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  1. /**
  2. * 导出选择器
  3. */
  4. import TableLayout from './TableLayout'
  5. import TableSearch from './TableSearch'
  6. import RegionPicker from './RegionPicker'
  7. import PurchasePlan from './PurchasePlan'
  8. import PickerGoods from './PickerGoods'
  9. import PickerPlan from './PickerPlan'
  10. import PickerContract from './PickerContract'
  11. import PickerWarehouseEntryBatch from './PickerWarehouseEntryBatch'
  12. import PickerOrder from './PickerOrder'
  13. import PickerWarehouseEntry from './PickerWarehouseEntry'
  14. import PickerWarehouseOut from './PickerWarehouseOut'
  15. import PickerSupplier from './PickerSupplier'
  16. import GradeEditor from './GradeEditor'
  17. import TransferTree from './TransferTree'
  18. import GoodsPicker from './GoodsPicker'
  19. let components = {
  20. TableLayout,
  21. TableSearch,
  22. RegionPicker,
  23. PurchasePlan,
  24. PickerGoods,
  25. PickerPlan,
  26. PickerWarehouseEntryBatch,
  27. PickerWarehouseEntry,
  28. PickerWarehouseOut,
  29. PickerOrder,
  30. PickerSupplier,
  31. GradeEditor,
  32. TransferTree,
  33. GoodsPicker
  34. }
  35. components.install = function(Vue, opts) {
  36. Object.keys(components).forEach(function(key) {
  37. key !== 'install' && Vue.component(components[key].name, components[key])
  38. })
  39. }
  40. export {
  41. TableLayout,
  42. TableSearch,
  43. RegionPicker,
  44. PurchasePlan,
  45. PickerGoods,
  46. PickerPlan,
  47. PickerContract,
  48. PickerWarehouseEntryBatch,
  49. PickerWarehouseEntry,
  50. PickerWarehouseOut,
  51. PickerOrder,
  52. PickerSupplier,
  53. GradeEditor,
  54. TransferTree,
  55. GoodsPicker
  56. }
  57. export default components