增加:运营中心 - 角色账单缴费 - 退款申请增加退款原因

This commit is contained in:
wuhui_zzw 2024-07-11 15:48:59 +08:00
parent 899ed893b2
commit 9d2faef403
2 changed files with 12 additions and 4 deletions

View File

@ -179,13 +179,19 @@ export default {
let _this = this;
let options = {
title: '提示',//
content: '该操作不可逆,请确认是否申请退款!',//
confirmText: '申请',//
confirmText: '提交',//
showCancel: true, //
cancelText: '取消', //
editable: true,//
placeholderText: '请输入申请原因',//
}
_this.$util.tips(options, function () {
agentPayRecordApplyRefund({ id: item.id }).then(res=>{
_this.$util.tips(options, function (result) {
let inputValue = result.content || '';
let params = {
id: item.id,
reason: inputValue
};
agentPayRecordApplyRefund(params).then(res=>{
if(Number(res.status) === 200){
_this.getInfo();
}else{

View File

@ -132,6 +132,8 @@ export default {
cancelText: '取消', // 取消按钮文字
success(res) {
if (res.confirm) {
if(confirmData) confirmData.res = res;
else confirmData = res;
// console.log('点击确认按钮')
if(typeof confirmFun === "function") confirmFun(confirmData);
} else {