fix: 修复挂账按订单支付还款传参问题,增加修改密功能
This commit is contained in:
@@ -378,9 +378,10 @@ async function pointsInit() {
|
||||
if (!props.user.id || score.sel == -1) {
|
||||
return;
|
||||
}
|
||||
const orderAmount = currentpayMoney.value - pointsDiscountAmount.value;
|
||||
const res = await PointsApi.calcOrderUsablePoints({
|
||||
shopUserId: props.user.id,
|
||||
orderAmount: currentpayMoney.value - pointsDiscountAmount.value,
|
||||
orderAmount: orderAmount <= 0 ? 0 : orderAmount,
|
||||
});
|
||||
pointsRes.value = res;
|
||||
usePointsNumber.value = res.usable ? res.maxUsablePoints : 0;
|
||||
|
||||
Reference in New Issue
Block a user