Commit 539ed8a5 authored by 沈翠玲's avatar 沈翠玲

生产版本修复bug

parent e1163a18
...@@ -505,7 +505,8 @@ export default { ...@@ -505,7 +505,8 @@ export default {
outsourced: null, outsourced: null,
unitOfMeasure: null, unitOfMeasure: null,
keyFlag: null, keyFlag: null,
isCheck: null isCheck: null,
drawingList: []
}, },
processOptions: [], processOptions: [],
loadingProcess: true, loadingProcess: true,
......
...@@ -283,9 +283,13 @@ export default { ...@@ -283,9 +283,13 @@ export default {
.then((res) => { .then((res) => {
this.loading = false; this.loading = false;
this.$modal.msgSuccess("提交成功!"); this.$modal.msgSuccess("提交成功!");
this.$nextTick(() => {
// 关闭页签 // 关闭页签
tabPlugins.closeOpenPage(); tabPlugins.closeOpenPage();
this.$router.replace({
path: "/mes/md/production",
});
})
}) })
.catch(() => { .catch(() => {
this.loading = false; this.loading = false;
...@@ -295,6 +299,13 @@ export default { ...@@ -295,6 +299,13 @@ export default {
.then(() => { .then(() => {
this.loading = false; this.loading = false;
this.$modal.msgSuccess("提交成功!"); this.$modal.msgSuccess("提交成功!");
this.$nextTick(() => {
// 关闭页签
tabPlugins.closeOpenPage();
this.$router.replace({
path: "/mes/md/production",
});
})
}) })
.catch(() => { .catch(() => {
this.loading = false; this.loading = false;
......
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