fix:库存管理出入库记录列表中按钮“撤销”改为“撤回”
This commit is contained in:
parent
3297fa5a93
commit
9171a58059
|
|
@ -123,16 +123,7 @@
|
|||
v-auth="'mio.submit'"
|
||||
v-if="scope.row.state == 20"
|
||||
>
|
||||
撤销
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
type="warning"
|
||||
@click="revert(scope.row)"
|
||||
v-auth="'mio.submit'"
|
||||
v-if="scope.row.state == 20"
|
||||
>
|
||||
撤销
|
||||
撤回
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
|
|
@ -260,14 +251,14 @@ export default {
|
|||
.catch(() => {});
|
||||
},
|
||||
revert(row) {
|
||||
this.$confirm(`确定撤销该操作吗?`, "提示", {
|
||||
this.$confirm(`确定撤回该操作吗?`, "提示", {
|
||||
type: "warning",
|
||||
})
|
||||
.then(() => {
|
||||
this.$API.inm.mio.revert
|
||||
.req(row.id)
|
||||
.then((res) => {
|
||||
this.$message.success("撤销成功");
|
||||
this.$message.success("撤回成功");
|
||||
this.$refs.table.refresh();
|
||||
return res;
|
||||
})
|
||||
|
|
|
|||
|
|
@ -145,7 +145,7 @@
|
|||
v-auth="'mio.submit'"
|
||||
v-if="scope.row.state == 20"
|
||||
>
|
||||
撤销
|
||||
撤回
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
|
@ -259,14 +259,14 @@ export default {
|
|||
.catch(() => {});
|
||||
},
|
||||
revert(row) {
|
||||
this.$confirm(`确定撤销该操作吗?`, "提示", {
|
||||
this.$confirm(`确定撤回该操作吗?`, "提示", {
|
||||
type: "warning",
|
||||
})
|
||||
.then(() => {
|
||||
this.$API.inm.mio.revert
|
||||
.req(row.id)
|
||||
.then((res) => {
|
||||
this.$message.success("撤销成功");
|
||||
this.$message.success("撤回成功");
|
||||
this.$refs.table.refresh();
|
||||
return res;
|
||||
})
|
||||
|
|
|
|||
|
|
@ -154,7 +154,7 @@
|
|||
v-auth="'mio.submit'"
|
||||
v-if="scope.row.state == 20"
|
||||
>
|
||||
撤销
|
||||
撤回
|
||||
</el-button>
|
||||
</template>
|
||||
</el-table-column>
|
||||
|
|
@ -275,14 +275,14 @@ export default {
|
|||
.catch(() => {});
|
||||
},
|
||||
revert(row) {
|
||||
this.$confirm(`确定撤销该操作吗?`, "提示", {
|
||||
this.$confirm(`确定撤回该操作吗?`, "提示", {
|
||||
type: "warning",
|
||||
})
|
||||
.then(() => {
|
||||
this.$API.inm.mio.revert
|
||||
.req(row.id)
|
||||
.then((res) => {
|
||||
this.$message.success("撤销成功");
|
||||
this.$message.success("撤回成功");
|
||||
this.$refs.table.refresh();
|
||||
return res;
|
||||
})
|
||||
|
|
|
|||
|
|
@ -127,7 +127,7 @@
|
|||
(scope.row.type == 'other_in' ||
|
||||
scope.row.type == 'other_out')"
|
||||
>
|
||||
撤销
|
||||
撤回
|
||||
</el-button>
|
||||
<el-button
|
||||
link
|
||||
|
|
@ -269,14 +269,14 @@ export default {
|
|||
});
|
||||
},
|
||||
revert(row) {
|
||||
this.$confirm(`确定撤销该操作吗?`, "提示", {
|
||||
this.$confirm(`确定撤回该操作吗?`, "提示", {
|
||||
type: "warning",
|
||||
})
|
||||
.then(() => {
|
||||
this.$API.inm.mio.revert
|
||||
.req(row.id)
|
||||
.then((res) => {
|
||||
this.$message.success("撤销成功");
|
||||
this.$message.success("撤回成功");
|
||||
this.$refs.table.refresh();
|
||||
return res;
|
||||
})
|
||||
|
|
|
|||
Loading…
Reference in New Issue