线上问题修改

This commit is contained in:
zzyuan 2025-12-04 17:38:47 +08:00
parent 9cf10c7835
commit 1383548c58
2 changed files with 13 additions and 6 deletions

View File

@ -839,7 +839,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)
} }
updateAccRechargeSingleApi(param).then(response => { updateAccRechargeSingleApi(param).then(response => {
this.$modal.msgSuccess("操作成功"); this.$modal.msgSuccess("操作成功");
@ -866,7 +866,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("操作成功");
@ -878,7 +878,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("操作成功");
@ -905,7 +905,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("操作成功");
@ -968,13 +968,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

View File

@ -1528,6 +1528,7 @@ export default {
// //
confirmCopyMenu(){ confirmCopyMenu(){
this.$modal.confirm('当前日期会被覆盖!确定复制?').then(() => { this.$modal.confirm('当前日期会被覆盖!确定复制?').then(() => {
console.log(this.dialogDetailList)
this.detailList=[] this.detailList=[]
this.detailList = [ this.detailList = [
{ {
@ -1556,6 +1557,12 @@ export default {
dishesList:[...this.dialogDetailList[4].dishesList] dishesList:[...this.dialogDetailList[4].dishesList]
} }
]; ];
this.detailList.forEach(item=>{
item.dishesList.forEach(sub=>{
sub.price = (Number(sub.price)/100).toFixed(2)
sub.price = (Number(sub.salePrice)/100).toFixed(2)
})
})
if(this.copyType=='date'){ if(this.copyType=='date'){
this.dateRangeList[this.dateRangeIndex].detailList = this.detailList; this.dateRangeList[this.dateRangeIndex].detailList = this.detailList;
} }