MrShi
2026-04-28 f0386ab50ec3674430ccd80c6ec843c4625708e6
small-program/shop/pages/wallet/wallet.vue
@@ -192,6 +192,7 @@
            countData:{},
            countDataList:{},
            hasNext:true,
            loading:false,
            show: false,
            show1:false,
            year:null,
@@ -285,22 +286,34 @@
         },
         comfirmDate(flag){
            if (flag) {
               if (!this.tempStartDate || !this.tempEndDate) {
                  return uni.showToast({
                     title: '请选择开始和结束时间',
                     icon: 'none'
                  })
               }
               if(new Date(this.tempEndDate+" 00:00:00").getTime() < new Date(this.tempStartDate+" 00:00:00").getTime()){
                  return uni.showToast({
                     title:'日期范围不正确',
                     icon:'error'
                     icon:'none'
                  })
               }
               this.startDate =this.tempStartDate
               this.endDate =this.tempEndDate
               this.startDate = this.tempStartDate
               this.endDate = this.tempEndDate
               this.show1 = false
               setTimeout(() => {
                  this.getFirstPageData()
               }, 300)
            } else {
               this.startDate = null
               this.endDate = null
               this.tempStartDate = this.defaultStartDate
               this.tempEndDate = this.defaultEndDate
               this.show1 = false
               setTimeout(() => {
                  this.getFirstPageData()
               }, 300)
            }
            this.getFirstPageData()
            this.show1=false
         },
         openShow(){
            this.tempActive =this.active
@@ -311,7 +324,6 @@
            if(flag){
               this.active = this.tempActive
               this.type = this.tempType
               this.show = false
               this.wordsWidth = 250
               if(this.active === 0 && this.type === 0){
                  this.words = '全部'
@@ -323,10 +335,20 @@
                  }
                  this.words = t1 + t2
               } 
               this.getFirstPageData()
               this.show = false
               setTimeout(() => {
                  this.getFirstPageData()
               }, 300)
            }else{
               this.tempActive = 0
               this.tempType =0
               this.tempType = 0
               this.active = 0
               this.type = 0
               this.words = '全部'
               this.show = false
               setTimeout(() => {
                  this.getFirstPageData()
               }, 300)
            }
         },
         formattedDateTime(currentDate) {
@@ -361,9 +383,10 @@
         },
         getFirstPageData(){
            this.currentPage = 0
            this.hasNext=true
            this.total=0
            this.dataList=[]
            this.hasNext = true
            this.loading = false
            this.total = 0
            this.dataList = []
            this.getShopPage()
         },
         jumpWithdraw(){