Commit 691bbeb8 authored by hangjun83's avatar hangjun83

1、修复bug

parent 8296c6df
......@@ -141,7 +141,7 @@ export const addSorderRefundTask = (params) => {
return postRequest('/tools/bh/addSorderRefundTask', params)
}
export const editSorderRefundtask = (params) => {
export const editSorderRefundTask = (params) => {
return postRequest('/tools/bh/editSorderRefundTask', params)
}
......
......@@ -81,12 +81,12 @@
<script>
import {
getBhSordersDataDetail,
addSorderRefundtask,
addSorderRefundTask,
getBhSordersRefundTask,
execBhSordersRefundTask,
getSorderRefundTaskLogs,
getBhSordersDetail,
editSorderRefundtask
editSorderRefundTask
} from "@/api/index";
import util from "@/libs/util.js";
export default {
......@@ -243,7 +243,7 @@ export default {
"a", {
on: {
click: () => {
this.exec(params.row);
this.edit(params.row);
},
},
}, "编辑"
......@@ -508,7 +508,7 @@ export default {
this.submitloading = true;
// 添加
if (this.type == 0) {
addSorderRefundtask(this.form).then((res) => {
addSorderRefundTask(this.form).then((res) => {
this.submitloading = false;
if (res.status == 'success') {
this.$Message.success("操作成功");
......@@ -517,7 +517,7 @@ export default {
}
});
} else {
editSorderRefundtask(this.form).then((res) => {
editSorderRefundTask(this.form).then((res) => {
this.submitloading = false;
if (res.status == 'success') {
this.$Message.success("操作成功");
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment