_id.vue 528 B

12345678910111213141516171819
  1. <template>
  2. <div class="mobile-content">
  3. <say-price-info></say-price-info>
  4. </div>
  5. </template>
  6. <script>
  7. import {SayPriceInfo} from '~components/mobile'
  8. export default {
  9. layout: 'mobile',
  10. components: {
  11. SayPriceInfo
  12. },
  13. fetch ({store, route}) {
  14. return Promise.all([
  15. route.query.type === 'saler' ? store.dispatch('applyPurchase/loadVendorInquiryDetail', {id: route.params.id}) : store.dispatch('applyPurchase/loadBuyerInquiryDetail', {id: route.params.id})
  16. ])
  17. }
  18. }
  19. </script>