From a79fd77e8ee4738edab600bdb0fa7d5e5ba0393d Mon Sep 17 00:00:00 2001 From: huliyong <2783385703@qq.com> Date: Sun, 26 Oct 2025 20:26:32 +0800 Subject: [PATCH] =?UTF-8?q?fix:=20=E8=B0=83=E6=95=B4=E6=8F=90=E7=8E=B0?= =?UTF-8?q?=E9=87=91=E9=A2=9D=E4=B8=8A=E9=99=90=E4=B8=BA200=E5=85=83?= =?UTF-8?q?=E5=B9=B6=E4=BC=98=E5=8C=96=E5=88=86=E7=B1=BB=E8=AE=A1=E7=AE=97?= =?UTF-8?q?=E9=80=BB=E8=BE=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 修改提现页面的单笔提现上限从5万元降至200元,以符合新的业务要求 优化管理页面的分类计算逻辑,直接对所有项目排序而不再过滤父分类 --- pages/manager/inspect.vue | 5 ++--- pages/subcomponent/withdraw.vue | 4 ++-- 2 files changed, 4 insertions(+), 5 deletions(-) diff --git a/pages/manager/inspect.vue b/pages/manager/inspect.vue index 1151789..765ceb2 100644 --- a/pages/manager/inspect.vue +++ b/pages/manager/inspect.vue @@ -103,9 +103,8 @@ export default { console.log('categories计算 - pricePreviewList:', list.length) // 显示所有分类,不再根据订单数据筛选 - const allCategories = list.filter(item => item.pid === '0').sort((a, b) => a.sort - b.sort) - console.log('categories计算 - allCategories:', allCategories.length) - + const allCategories = list.sort((a, b) => a.sort - b.sort) + // const allCategories = list.filter(item => item.pid === '0').sort((a, b) => a.sort - b.sort) // 为每个分类计算数量 const categoriesWithCount = allCategories.map(category => { const count = this.getCategoryItemCountDirect(category.id) diff --git a/pages/subcomponent/withdraw.vue b/pages/subcomponent/withdraw.vue index 84ade54..5ee04ed 100644 --- a/pages/subcomponent/withdraw.vue +++ b/pages/subcomponent/withdraw.vue @@ -157,8 +157,8 @@ export default { } // 验证最大提现金额 - if (amountNum > 50000) { - uni.showToast({ title: '单笔提现不能超过5万元', icon: 'none' }) + if (amountNum > 200) { + uni.showToast({ title: '单笔提现不能超过200元,请分多次提现', icon: 'none' }) return }