From 2869daa75fb190b26bc32f753523edf97dba6410 Mon Sep 17 00:00:00 2001
From: cclu <1106109051@qq.com>
Date: Fri, 26 Apr 2024 15:29:18 +0800
Subject: [PATCH] update
---
pages/merchantAccount/index.vue | 11 +-
pages/revenueStatistics/detail.vue | 208 ++++++++++++++++-
pages/revenueStatistics/index.vue | 244 +++++++++++++++++---
pages/revenueStatistics/servicePartList.vue | 93 +++++++-
4 files changed, 508 insertions(+), 48 deletions(-)
diff --git a/pages/merchantAccount/index.vue b/pages/merchantAccount/index.vue
index a77a075..69cfcb3 100644
--- a/pages/merchantAccount/index.vue
+++ b/pages/merchantAccount/index.vue
@@ -138,13 +138,20 @@ export default {
dataList:[],// 数据数组
}
},
- onLoad(){
+ onLoad(query){
+ console.log('query',query)
this.menu = uni.getMenuButtonBoundingClientRect()
let lastDay = uni.getStorageSync('lastDay')
- const date = new Date(lastDay)
+ let date = undefined
+ if (query.month){
+ date = new Date(query.month)
+ }else{
+ date = new Date(lastDay)
+ }
let y = date.getFullYear()
let m = date.getMonth() + 1
this.single = `${y}-${m<10?'0'+m :m}`
+ console.log('this.single',this.single)
this.endData = lastDay
this.handleGetPageData()
},
diff --git a/pages/revenueStatistics/detail.vue b/pages/revenueStatistics/detail.vue
index 8379ea8..b38ca37 100644
--- a/pages/revenueStatistics/detail.vue
+++ b/pages/revenueStatistics/detail.vue
@@ -11,6 +11,11 @@
{{ServerpartName || ''}}
+
+ 更多筛选
+
+
+
@@ -193,11 +198,37 @@
+
+