客户和司机工资帐户中的增加和减少结余的按钮点击增加弹窗确认

This commit is contained in:
ljx 2024-04-02 17:08:50 +08:00
parent 5c545911c2
commit d903b7110d
1 changed files with 44 additions and 26 deletions

View File

@ -253,6 +253,10 @@ export default {
this.$mk.error("请输入正确的金额");
return
}
this.$mk.confirm('您确定要增加结余吗?').then(type => {
if (type == 'confirm') {
//
//
this.$zk.post({
url: this.BalanceAdd,
@ -279,6 +283,12 @@ export default {
}).catch((a) => {
this.$mk.error(a.msg, "aaa");
});
}}).catch((a) => { //
this.$mk.error(a.data.msg); //
}
);
},
reduceBalanceApi() {
// this.amount
@ -292,6 +302,9 @@ export default {
this.$mk.error("请输入正确的金额");
return
}
this.$mk.confirm('您确定要减少结余吗?').then(type => {
if (type == 'confirm') {
//
//
this.$zk.post({
url: this.BalanceReduce,
@ -321,6 +334,11 @@ export default {
}).catch((a) => {
this.$mk.error(a.msg, "aaa");
});
}}).catch((a) => { //
this.$mk.error(a.data.msg); //
}
);
},