This commit is contained in:
cun-nan 2024-03-13 10:09:10 +08:00
parent 24029e9796
commit 26c8c6544e
2 changed files with 9 additions and 8 deletions

View File

@ -162,6 +162,7 @@ public class CardValueRecordServiceImpl extends ServiceImpl<CardValueRecordMappe
cardValueOrders.setBidBalance(cardValueRecordDTO.getBalance()); cardValueOrders.setBidBalance(cardValueRecordDTO.getBalance());
cardValueOrders.setRechargeBalance(cardValueRecordDTO.getBalance()); cardValueOrders.setRechargeBalance(cardValueRecordDTO.getBalance());
//支付金额 //支付金额
cardValueOrders.setAmount(cardValueRecordDTO.getBalance());
cardValueOrders.setPayAmount(cardValueRecordDTO.getBalance()); cardValueOrders.setPayAmount(cardValueRecordDTO.getBalance());
}else { }else {
//查询储值卡信息 //查询储值卡信息

View File

@ -312,7 +312,7 @@
// } // }
if (this.carValueId == '') { if (this.carValueId == '') {
uni.showToast({ uni.showToast({
title: "囤油卡为必填项", title: "当前店铺暂未设置电子囤油卡储值优惠,请先联系商家",
icon: Error icon: Error
}) })
return return
@ -421,13 +421,13 @@
// //
addValueCarRecords() { addValueCarRecords() {
if (this.carValueId == '') { // if (this.carValueId == '') {
uni.showToast({ // uni.showToast({
title: "储值卡为必填项", // title: "",
icon: "error" // icon: "error"
}) // })
return // return
} // }
let _this = this let _this = this
request({ request({