fix:fmlog_detail刷新
This commit is contained in:
parent
9de938fa44
commit
3b2cecec17
|
|
@ -239,7 +239,6 @@ export default {
|
||||||
that.material_out = that.material_out;
|
that.material_out = that.material_out;
|
||||||
that.paramsWm.mgroup = res.mgroup;
|
that.paramsWm.mgroup = res.mgroup;
|
||||||
that.apiObjWm = that.$API.wpm.wmaterial.list;
|
that.apiObjWm = that.$API.wpm.wmaterial.list;
|
||||||
that.getMlogs();
|
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
getMlogs(){
|
getMlogs(){
|
||||||
|
|
@ -285,7 +284,7 @@ export default {
|
||||||
that.isSaveing = true;
|
that.isSaveing = true;
|
||||||
that.$API.wpm.mlog.submit.req(row.id).then((res) => {
|
that.$API.wpm.mlog.submit.req(row.id).then((res) => {
|
||||||
that.isSaveing = false;
|
that.isSaveing = false;
|
||||||
that.getMlogs();
|
that.$refs.table.refresh();
|
||||||
that.$message.success("操作成功");
|
that.$message.success("操作成功");
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
|
|
@ -300,7 +299,7 @@ export default {
|
||||||
if (res.err_msg) {
|
if (res.err_msg) {
|
||||||
that.$message.error(res.err_msg);
|
that.$message.error(res.err_msg);
|
||||||
} else {
|
} else {
|
||||||
that.getMlogs();
|
that.$refs.table.refresh();
|
||||||
that.$message.success("撤回成功");
|
that.$message.success("撤回成功");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
|
|
@ -317,17 +316,17 @@ export default {
|
||||||
if (res.err_msg) {
|
if (res.err_msg) {
|
||||||
that.$message.error(res.err_msg);
|
that.$message.error(res.err_msg);
|
||||||
} else {
|
} else {
|
||||||
that.getMlogs();
|
that.$refs.table.refresh();
|
||||||
that.$message.success("删除成功");
|
that.$message.success("删除成功");
|
||||||
}
|
}
|
||||||
});
|
});
|
||||||
});
|
});
|
||||||
},
|
},
|
||||||
handleSaveSuccess() {
|
handleSaveSuccess() {
|
||||||
this.getMlogs();
|
this.$refs.table.refresh();
|
||||||
},
|
},
|
||||||
handleCheckSuccess() {
|
handleCheckSuccess() {
|
||||||
this.getMlogs();
|
this.$refs.table.refresh();
|
||||||
},
|
},
|
||||||
fileUPSuccess(res) {
|
fileUPSuccess(res) {
|
||||||
console.log('res',res);
|
console.log('res',res);
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue