充值问题i修改
This commit is contained in:
parent
1383548c58
commit
fb444ba226
|
|
@ -525,7 +525,7 @@
|
|||
this.$modal.confirm('个人钱包余额已超过3000,是否确认继续充值?').then(() => {
|
||||
let param = {
|
||||
userId:this.form.userId,
|
||||
amount:Number(this.form.amount*100)
|
||||
amount:Number(this.form.amount*100).toFixed(0)
|
||||
}
|
||||
rechargeAccWalletApi(param).then(response => {
|
||||
this.$modal.msgSuccess("操作成功");
|
||||
|
|
@ -537,7 +537,7 @@
|
|||
this.$modal.confirm('充值金额:'+this.form.amount+'元,是否确认继续充值?').then(() => {
|
||||
let param = {
|
||||
userId:this.form.userId,
|
||||
amount:Number(this.form.amount*100)
|
||||
amount:Number(this.form.amount*100).toFixed(0)
|
||||
}
|
||||
rechargeAccWalletApi(param).then(response => {
|
||||
this.$modal.msgSuccess("操作成功");
|
||||
|
|
@ -556,7 +556,7 @@
|
|||
this.$modal.confirm('提现金额:'+this.form.amount+'元,是否确认继续提现?').then(() => {
|
||||
let param = {
|
||||
userId:this.form.userId,
|
||||
amount:Number(this.form.amount*100)
|
||||
amount:Number(this.form.amount*100).toFixed(0)
|
||||
}
|
||||
withdrawAccWalletApi(param).then(response => {
|
||||
this.$modal.msgSuccess("操作成功");
|
||||
|
|
|
|||
|
|
@ -787,7 +787,7 @@
|
|||
// receiveEndDate:this.form.receiveEndDate,
|
||||
// validateDay:this.form.validateDay,
|
||||
userId:this.form.userId,
|
||||
amount:Number(this.form.amount*100)
|
||||
amount:Number(this.form.amount*100).toFixed(0)
|
||||
}
|
||||
updateAccRechargeSingleApi(param).then(response => {
|
||||
this.$modal.msgSuccess("操作成功");
|
||||
|
|
@ -886,13 +886,13 @@
|
|||
this.$refs["batchForm"].validate(valid => {
|
||||
if (valid) {
|
||||
let param = {
|
||||
amount:Number(this.batchForm.amount*100),
|
||||
amount:Number(this.batchForm.amount*100).toFixed(0),
|
||||
userIds:this.batchIds
|
||||
}
|
||||
checkAccRechargeBatchApi(param).then(response => {
|
||||
this.resultData = response.data
|
||||
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){
|
||||
this.resultData.successVoList = this.batchList
|
||||
|
|
|
|||
Loading…
Reference in New Issue