_batchCode.vue 600 B

123456789101112131415161718192021222324252627282930
  1. <template>
  2. <div class="container commodity">
  3. <commodity-info />
  4. <component-info />
  5. </div>
  6. </template>
  7. <script>
  8. import { ComponentInfo, CommodityInfo } from '~components/store'
  9. export default {
  10. layout: 'shop',
  11. fetch ({ store, route }) {
  12. return Promise.all([
  13. // store.dispatch('shop/findStoreInfoFromUuid', route.params),
  14. store.dispatch('shop/findCommodityOnBatchInfo', route.params)
  15. ])
  16. },
  17. components: {
  18. ComponentInfo,
  19. CommodityInfo
  20. }
  21. }
  22. </script>
  23. <style>
  24. .container.commodity {
  25. width: 1190px;
  26. padding-left: 0px;
  27. padding-right: 0px;
  28. }
  29. </style>