用户积分修改,修改分销员筛选,修改超级会员订单列表检索

This commit is contained in:
2026-01-13 14:52:10 +08:00
parent 63896046a8
commit 0990e08201
11 changed files with 2416 additions and 2014 deletions

View File

@@ -37,7 +37,7 @@
</view>
<view class="u-m-l-30 u-flex">
<text class="">积分</text>
<text class="color-main">{{item.accountPoints}}</text>
<text class="color-main">{{item.pointBalance||0}}</text>
</view>
</view>
</view>
@@ -113,7 +113,7 @@
headImg: '',
telephone: '',
amount: '0.00',
accountPoints: '0.00'
pointBalance: '0.00'
})
} else {
list[index].checked = true

View File

@@ -32,7 +32,7 @@
<view class="u-font-24 u-m-l-30 u-text-center">
<text>积分</text>
<text class="color-main">{{
pageData.user.accountPoints
pageData.user.pointBalance||0
}}</text>
</view>
</view>
@@ -88,7 +88,7 @@
<view class="u-flex">
<view>积分</view>
<view class="color-333 u-m-l-10">{{
pageData.user.accountPoints
pageData.user.pointBalance||0
}}</view>
</view>
<view class="u-flex">
@@ -935,14 +935,15 @@ function watchChooseuser() {
if (pageData.user.id == data.id) {
return;
}
if (data.id) {
const res = await shopUserDetail({
userId: data.userId,
});
pageData.user = res;
} else {
pageData.user = data;
}
pageData.user = data;
// if (data.id) {
// const res = await shopUserDetail({
// userId: data.userId,
// });
// pageData.user = res;
// } else {
// pageData.user = data;
// }
// 更新购物车和历史订单数据
uodateCartAndHistory();
});