线上问题修改
This commit is contained in:
parent
9cf10c7835
commit
1383548c58
|
|
@ -839,7 +839,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)
|
||||
}
|
||||
updateAccRechargeSingleApi(param).then(response => {
|
||||
this.$modal.msgSuccess("操作成功");
|
||||
|
|
@ -866,7 +866,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("操作成功");
|
||||
|
|
@ -878,7 +878,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("操作成功");
|
||||
|
|
@ -905,7 +905,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("操作成功");
|
||||
|
|
@ -968,13 +968,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
|
||||
|
|
|
|||
|
|
@ -1528,6 +1528,7 @@ export default {
|
|||
//确认复制
|
||||
confirmCopyMenu(){
|
||||
this.$modal.confirm('当前日期会被覆盖!确定复制?').then(() => {
|
||||
console.log(this.dialogDetailList)
|
||||
this.detailList=[]
|
||||
this.detailList = [
|
||||
{
|
||||
|
|
@ -1556,6 +1557,12 @@ export default {
|
|||
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'){
|
||||
this.dateRangeList[this.dateRangeIndex].detailList = this.detailList;
|
||||
}
|
||||
|
|
|
|||
Loading…
Reference in New Issue