充值问题i修改

This commit is contained in:
zzyuan 2025-12-04 17:46:09 +08:00
parent 1383548c58
commit fb444ba226
2 changed files with 6 additions and 6 deletions

View File

@ -525,7 +525,7 @@
this.$modal.confirm('个人钱包余额已超过3000是否确认继续充值?').then(() => { this.$modal.confirm('个人钱包余额已超过3000是否确认继续充值?').then(() => {
let param = { let param = {
userId:this.form.userId, userId:this.form.userId,
amount:Number(this.form.amount*100) amount:Number(this.form.amount*100).toFixed(0)
} }
rechargeAccWalletApi(param).then(response => { rechargeAccWalletApi(param).then(response => {
this.$modal.msgSuccess("操作成功"); this.$modal.msgSuccess("操作成功");
@ -537,7 +537,7 @@
this.$modal.confirm('充值金额:'+this.form.amount+'元,是否确认继续充值?').then(() => { this.$modal.confirm('充值金额:'+this.form.amount+'元,是否确认继续充值?').then(() => {
let param = { let param = {
userId:this.form.userId, userId:this.form.userId,
amount:Number(this.form.amount*100) amount:Number(this.form.amount*100).toFixed(0)
} }
rechargeAccWalletApi(param).then(response => { rechargeAccWalletApi(param).then(response => {
this.$modal.msgSuccess("操作成功"); this.$modal.msgSuccess("操作成功");
@ -556,7 +556,7 @@
this.$modal.confirm('提现金额:'+this.form.amount+'元,是否确认继续提现?').then(() => { this.$modal.confirm('提现金额:'+this.form.amount+'元,是否确认继续提现?').then(() => {
let param = { let param = {
userId:this.form.userId, userId:this.form.userId,
amount:Number(this.form.amount*100) amount:Number(this.form.amount*100).toFixed(0)
} }
withdrawAccWalletApi(param).then(response => { withdrawAccWalletApi(param).then(response => {
this.$modal.msgSuccess("操作成功"); this.$modal.msgSuccess("操作成功");

View File

@ -787,7 +787,7 @@
// receiveEndDate:this.form.receiveEndDate, // receiveEndDate:this.form.receiveEndDate,
// validateDay:this.form.validateDay, // validateDay:this.form.validateDay,
userId:this.form.userId, userId:this.form.userId,
amount:Number(this.form.amount*100) amount:Number(this.form.amount*100).toFixed(0)
} }
updateAccRechargeSingleApi(param).then(response => { updateAccRechargeSingleApi(param).then(response => {
this.$modal.msgSuccess("操作成功"); this.$modal.msgSuccess("操作成功");
@ -886,13 +886,13 @@
this.$refs["batchForm"].validate(valid => { this.$refs["batchForm"].validate(valid => {
if (valid) { if (valid) {
let param = { let param = {
amount:Number(this.batchForm.amount*100), amount:Number(this.batchForm.amount*100).toFixed(0),
userIds:this.batchIds userIds:this.batchIds
} }
checkAccRechargeBatchApi(param).then(response => { checkAccRechargeBatchApi(param).then(response => {
this.resultData = response.data this.resultData = response.data
this.batchList.forEach(item=>{ this.batchList.forEach(item=>{
item.amount = Number(this.batchForm.amount*100) item.amount = Number(this.batchForm.amount*100).toFixed(0)
}) })
if(this.resultData.errVOList.length==0){ if(this.resultData.errVOList.length==0){
this.resultData.successVoList = this.batchList this.resultData.successVoList = this.batchList