Commit 2e3f0e82 authored by 李驰骋's avatar 李驰骋

报工BUG修复

parent fa011db2
...@@ -1841,8 +1841,6 @@ export default { ...@@ -1841,8 +1841,6 @@ export default {
.then((res) => { .then((res) => {
if (res.code === 200) { if (res.code === 200) {
this.proVisible = false; this.proVisible = false;
if (res.msg === '操作成功') {
this.$u.toast('上报成功');
if (item.printTemplate) { if (item.printTemplate) {
let params = {}; let params = {};
res.data.forEach((datas) => { res.data.forEach((datas) => {
...@@ -1873,7 +1871,6 @@ export default { ...@@ -1873,7 +1871,6 @@ export default {
} }
}); });
} }
}
if (!res.msg) { if (!res.msg) {
this.$u.toast('上报成功'); this.$u.toast('上报成功');
} else { } else {
......
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