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 }