This commit is contained in:
cun-nan 2024-10-18 09:30:32 +08:00
parent eabfb9bd1f
commit a7272a1b4f
3 changed files with 11 additions and 10 deletions

View File

@ -82,7 +82,7 @@ public class PrintOilOrderReport {
}
if (ObjectUtil.isNotEmpty(handover.get("consumeRefuelMoney"))) {
sb.append("囤油卡付款:"+handover.get("consumeRefuelMoney")+"L\r\n");
sb.append("囤油卡付款:"+handover.get("consumeRefuelMoney")+"\r\n");
sb.append("--------------------------------\r\n");
}

View File

@ -333,7 +333,7 @@ public class UserBalanceServiceImpl extends ServiceImpl<UserBalanceMapper, UserB
growthValue = growth * growthValue;
//更新用户余额表成长值
UserBalance userBalance = baseMapper.selectOne(new LambdaQueryWrapper<UserBalance>()
.eq(UserBalance::getMtUserId, userId));
.eq(UserBalance::getMtUserId, userId).eq(UserBalance::getStoreId, storeId));
userBalance.setGrowthValue(userBalance.getGrowthValue() + growthValue);
//更新成长值记录变化表

View File

@ -1114,9 +1114,10 @@ export default {
'WECHAT': '微信',
'ALIPAY': '支付宝',
'UNIONPAY': '银联二维码',
'credit': '挂账',
'oilCard': '囤油卡',
'balance': '储值卡'
'after_pay': '挂账',
'fule_card': '囤油卡',
'card_value': '储值卡',
'car_card_value': '车队卡',
};
let payTypeText = payTypeMap[this.payType] || '小程序码';
@ -1127,15 +1128,15 @@ export default {
unitName: "", //
// consumeAmount:this.consumeAmount,
creditAmount: (this.oilAmount + (+this.goodsAmount)).toFixed(2),//
creditAmount: this.realAmount.toFixed(2),//
//
discount: (this.oilDiscount + this.goodsDiscount + this.fullReduction + this.couponAmount).toFixed(2), //
discount: this.disTotal.toFixed(2), //
//
consumeAmount: this.consumeAmount,
consumeAmount: this.realAmount.toFixed(2),
//
consumeRefuelMoney: this.consumeRefuelMoney ? this.consumeRefuelMoney.toFixed(2) : 0,
consumeRefuelMoney: this.realAmount.toFixed(2),
//
actualPay: ((+this.oilActualPay) + (+this.goodsActualPay)).toFixed(2),
actualPay: this.realAmount.toFixed(2),
//
seekZero: this.seekZero ? this.seekZero.toFixed(2) : 0,
}