fix:玻纤日志子工序新增时报错修正

This commit is contained in:
shijing 2025-12-03 09:32:20 +08:00
parent 0708b2a2fa
commit bedc4b0d45
1 changed files with 3 additions and 2 deletions

View File

@ -882,7 +882,8 @@ export default {
saveMuserSubmit(row){ saveMuserSubmit(row){
let that = this; let that = this;
that.isSaveing = true; that.isSaveing = true;
that.$API.wpm.mloguser.create.req(that.addTemplate).then((res) => { row.mlog = that.mlogId;
that.$API.wpm.mloguser.create.req(row).then((res) => {
that.isSaveing = false; that.isSaveing = false;
that.$message.success("操作成功"); that.$message.success("操作成功");
that.getProcessList(); that.getProcessList();
@ -895,7 +896,7 @@ export default {
that.$confirm("确定删除吗?").then(res=>{ that.$confirm("确定删除吗?").then(res=>{
that.$API.wpm.mloguser.delete.req(row.id).then((res) => { that.$API.wpm.mloguser.delete.req(row.id).then((res) => {
that.$message.success("删除成功"); that.$message.success("删除成功");
that.$refs.tableMuser.refresh(); that.getProcessList();
}) })
}) })
}, },