fix: 修改积分相关接口传参userId改为shopUserId,修改耗材出入库展示,修改点歌页面跳转

This commit is contained in:
2025-03-17 18:07:55 +08:00
parent 4599274813
commit 61607fcc44
5 changed files with 30 additions and 10 deletions

View File

@@ -379,7 +379,7 @@ async function pointsInit() {
return;
}
const res = await PointsApi.calcOrderUsablePoints({
userId: props.user.id,
shopUserId: props.user.id,
orderAmount: currentpayMoney.value - pointsDiscountAmount.value,
});
pointsRes.value = res;
@@ -394,7 +394,7 @@ async function pointsInit() {
// 根据积分计算可抵扣金额
async function pointsToMoney() {
const res = await PointsApi.calcPointsToMoney({
userId: props.user.id,
shopUserId: props.user.id,
orderAmount: currentpayMoney.value - pointsDiscountAmount.value,
points: usePointsNumber.value,
});