Commit 691bbeb8 authored by hangjun83's avatar hangjun83

1、修复bug

parent 8296c6df
...@@ -141,7 +141,7 @@ export const addSorderRefundTask = (params) => { ...@@ -141,7 +141,7 @@ export const addSorderRefundTask = (params) => {
return postRequest('/tools/bh/addSorderRefundTask', params) return postRequest('/tools/bh/addSorderRefundTask', params)
} }
export const editSorderRefundtask = (params) => { export const editSorderRefundTask = (params) => {
return postRequest('/tools/bh/editSorderRefundTask', params) return postRequest('/tools/bh/editSorderRefundTask', params)
} }
......
...@@ -81,12 +81,12 @@ ...@@ -81,12 +81,12 @@
<script> <script>
import { import {
getBhSordersDataDetail, getBhSordersDataDetail,
addSorderRefundtask, addSorderRefundTask,
getBhSordersRefundTask, getBhSordersRefundTask,
execBhSordersRefundTask, execBhSordersRefundTask,
getSorderRefundTaskLogs, getSorderRefundTaskLogs,
getBhSordersDetail, getBhSordersDetail,
editSorderRefundtask editSorderRefundTask
} from "@/api/index"; } from "@/api/index";
import util from "@/libs/util.js"; import util from "@/libs/util.js";
export default { export default {
...@@ -243,7 +243,7 @@ export default { ...@@ -243,7 +243,7 @@ export default {
"a", { "a", {
on: { on: {
click: () => { click: () => {
this.exec(params.row); this.edit(params.row);
}, },
}, },
}, "编辑" }, "编辑"
...@@ -508,7 +508,7 @@ export default { ...@@ -508,7 +508,7 @@ export default {
this.submitloading = true; this.submitloading = true;
// 添加 // 添加
if (this.type == 0) { if (this.type == 0) {
addSorderRefundtask(this.form).then((res) => { addSorderRefundTask(this.form).then((res) => {
this.submitloading = false; this.submitloading = false;
if (res.status == 'success') { if (res.status == 'success') {
this.$Message.success("操作成功"); this.$Message.success("操作成功");
...@@ -517,7 +517,7 @@ export default { ...@@ -517,7 +517,7 @@ export default {
} }
}); });
} else { } else {
editSorderRefundtask(this.form).then((res) => { editSorderRefundTask(this.form).then((res) => {
this.submitloading = false; this.submitloading = false;
if (res.status == 'success') { if (res.status == 'success') {
this.$Message.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