|
@@ -563,17 +563,34 @@ export default {
|
|
|
vipGroupId: this.id,
|
|
|
}).then((res) => {
|
|
|
if (res.code == 200) {
|
|
|
- // scope.row.fee =
|
|
|
- this.$prompt("请输入退课金额", "提示", {
|
|
|
+ // this.$prompt("请输入退课金额", "提示", {
|
|
|
+ // confirmButtonText: "确定",
|
|
|
+ // cancelButtonText: "取消",
|
|
|
+ // inputValue: res.data.suplusCourseFee,
|
|
|
+ // })
|
|
|
+ // .then(({ value }) => {
|
|
|
+ // scope.row.fee = value;
|
|
|
+ // this.leaveSchool(scope);
|
|
|
+ // })
|
|
|
+ // .catch((res) => {});
|
|
|
+ const h = this.$createElement;
|
|
|
+ this.$msgbox({
|
|
|
+ title: "消息",
|
|
|
+ closeOnClickModal:false,
|
|
|
+ message: h("p", null, [
|
|
|
+ h("p", null, "请输入退课金额 "),
|
|
|
+ h("input", { class: "el-input__inner",'attrs':{'value':res.data.suplusCourseFee},'on':{input:function(event){
|
|
|
+ scope.row.fee = event.target.value;
|
|
|
+ this.$emit('input',event.target.value)
|
|
|
+ }.bind(this)}}),
|
|
|
+ h('p',{style: "color: red;marginTop:20px"},"退费金额暂不进入账户余额")
|
|
|
+ ]),
|
|
|
+ showCancelButton: true,
|
|
|
confirmButtonText: "确定",
|
|
|
cancelButtonText: "取消",
|
|
|
- inputValue: res.data.suplusCourseFee,
|
|
|
- })
|
|
|
- .then(({ value }) => {
|
|
|
- scope.row.fee = value;
|
|
|
- this.leaveSchool(scope);
|
|
|
- })
|
|
|
- .catch((res) => {});
|
|
|
+ }).then((action) => {
|
|
|
+ this.leaveSchool(scope);
|
|
|
+ });
|
|
|
}
|
|
|
});
|
|
|
}
|