check-record.vue 1.5 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445
  1. <template>
  2. <view class="common-page" style="padding:0">
  3. <PageScroll requestStr="/app/offlineorder/getUserStat" @updateList="updateList" ref="scrollRef">
  4. <u-sticky :customNavHeight="0">
  5. <view class="search-area flex-a">
  6. <view class="text-item flex-1">核单时间</view>
  7. <view class="text-item flex-1">核单数量</view>
  8. <view class="text-item flex-1">核单本数</view>
  9. <view class="text-item flex-1">预估金额</view>
  10. </view>
  11. </u-sticky>
  12. <view class="list-con">
  13. <view v-for="(item, index) in dataList" :key="index" class="flex-a">
  14. <view class="text-item flex-1">{{ item.statDate }}</view>
  15. <view class="text-item flex-1">{{ item.totalNum }}</view>
  16. <view class="text-item flex-1">{{ item.bookNum }}</view>
  17. <view class="text-item flex-1">{{ item.expectAmount }}</view>
  18. </view>
  19. </view>
  20. </PageScroll>
  21. </view>
  22. </template>
  23. <script setup>
  24. import PageScroll from '@/components/pageScroll/index.vue'
  25. import {
  26. ref
  27. } from 'vue';
  28. const scrollRef = ref(null)
  29. const refreshList = () => {
  30. scrollRef.value?.resetUpScroll()
  31. }
  32. let dataList = ref([])
  33. const updateList = (data) => {
  34. dataList.value = data
  35. }
  36. </script>
  37. <style lang="scss">
  38. .search-area {
  39. padding: 24rpx;
  40. background-color: #ffffff;
  41. z-index: 9;
  42. }
  43. </style>