数据统计问题修改,增加销售统计页面

This commit is contained in:
2025-11-24 17:16:44 +08:00
parent 679207521d
commit 0d13ae2e9e
6 changed files with 459 additions and 10 deletions

View File

@@ -47,7 +47,7 @@
size="14"
bold
mode="price"
:text="refundCount"
:text="refundAmount"
></up-text>
</view>
</view>
@@ -180,7 +180,7 @@ onShow((options) => {
});
const yingyeE = ref(0);
const refundCount = ref(0);
const refundAmount = ref(0);
/**
* 获取统计数据
* @param {Object} start
@@ -202,7 +202,7 @@ function getlist(start, end) {
shopId: uni.getStorageSync("shopId"),
rangeType: rangeType,
}).then((res) => {
refundCount.value = res.refundCount;
refundAmount.value = res.refundAmount;
for (var key in res) {
pageData.list.map((item) => {
if (item.key == key) {