Commit 9ab29544 authored by 李驰骋's avatar 李驰骋

报工成功刷新页面BUG修复

parent e8482027
......@@ -2178,6 +2178,8 @@ export default {
if (res.code === 200) {
// this.proVisible = false;
item.quantityUnqualify = 0;
this.$u.toast('上报成功');
this.getWorkorderDirectiveList(item, i)
if (item.printTemplate) {
let params = {};
res.data.forEach((datas) => {
......@@ -2190,12 +2192,6 @@ export default {
this.printPdfSocket(params);
});
}
if (!res.msg) {
this.$u.toast('上报成功');
this.getWorkorderDirectiveList(item, i)
} else {
this.$u.toast(res.msg);
}
this.getTaskList();
}
});
......
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