MrShi
2026-04-28 8e0a06da052c4f335ed4a2be51e1ac2c6b45a7a4
small-program/shop/pages/wallet/wallet.vue
@@ -247,8 +247,8 @@
               model: {
                  startTime: this.startDate || this.defaultStartDate,
                  endTime: this.endDate || this.defaultEndDate,
                  type: this.active === 1?0:(this.active===2?1:''),
                  objType: this.type === 1?16:( this.type === 2?17:( this.type === 3?25: (this.type === 4?1: ''))),
                  optType: this.active === 1 ? 1 : (this.active === 2 ? -1 : ''),
                  type: this.type === 1 ? 0 : (this.type === 2 ? 1 : (this.type === 4 ? 2 : '')),
               },
               page: this.currentPage
            }).then(res => {
@@ -268,8 +268,8 @@
            this.$u.api.shopSummary({
               startTime: this.startDate || this.defaultStartDate,
               endTime: this.endDate || this.defaultEndDate,
               type: this.active === 1?0:(this.active===2?1:''),
               objType: this.type === 1?16:( this.type === 2?17:( this.type === 3?25: (this.type === 4?1: ''))),
               optType: this.active === 1 ? 1 : (this.active === 2 ? -1 : ''),
               type: this.type === 1 ? 0 : (this.type === 2 ? 1 : (this.type === 4 ? 2 : '')),
            }).then(res=>{
               if(res.code == 200){
                  this.countDataList = res.data
@@ -292,9 +292,9 @@
                     icon: 'none'
                  })
               }
               if(new Date(this.tempEndDate+" 00:00:00").getTime() < new Date(this.tempStartDate+" 00:00:00").getTime()){
               if(new Date(this.tempEndDate+" 00:00:00").getTime() <= new Date(this.tempStartDate+" 00:00:00").getTime()){
                  return uni.showToast({
                     title:'日期范围不正确',
                     title:'开始时间必须小于截止时间',
                     icon:'none'
                  })
               }
@@ -307,8 +307,8 @@
            } else {
               this.startDate = null
               this.endDate = null
               this.tempStartDate = this.defaultStartDate
               this.tempEndDate = this.defaultEndDate
               this.tempStartDate = null
               this.tempEndDate = null
               this.show1 = false
               setTimeout(() => {
                  this.getFirstPageData()
@@ -633,6 +633,8 @@
                  font-size: 30rpx;
                  font-weight: 400;
                  margin-top: 30rpx;
                  padding-bottom: 30rpx;
                  box-sizing: border-box;
               }
               .item-list-item {
                  width: 100%;