supplier.vue 683 B

1234567891011121314151617181920212223242526272829303132333435363738394041
  1. <template>
  2. <view class="container all-type-list-wrapper">
  3. <supplier-details :shopId="shopId" v-if="isLoading"></supplier-details>
  4. </view>
  5. </template>
  6. <script>
  7. import supplierDetails from "@/components/cm-module/supplier/supplierDetails.vue" //供应商详情
  8. export default{
  9. components:{
  10. supplierDetails
  11. },
  12. data(){
  13. return{
  14. shopId:0,
  15. shopInfo:{},
  16. isLoading:false
  17. }
  18. },
  19. onLoad(option) {
  20. this.shopId = option.shopId
  21. this.isLoading = true
  22. },
  23. methods:{
  24. },
  25. onShow() {
  26. }
  27. }
  28. </script>
  29. <style lang="scss">
  30. page {
  31. background: $sub-bg-color;
  32. .all-type-list-wrapper {
  33. display: flex;
  34. flex-direction: column;
  35. }
  36. }
  37. </style>