fix:快速报工提交后操作微调

This commit is contained in:
shijing 2025-09-12 10:10:24 +08:00
parent 68d346bc42
commit 56489db00e
2 changed files with 6 additions and 12 deletions

View File

@ -456,18 +456,12 @@ export default {
that.bwItemForms.forEach(item=>{
item.mlogb = res.mlogbin;
})
that.$API.wpm.mlogbw.create.req(that.bwItemForms).then((res1) => {
that.isSaveing = false;
that.$emit("success",res.mlog);
that.visible = false;
that.$message.success("操作成功");
})
}else{
that.isSaveing = false;
that.$emit("success",res.mlog);
that.visible = false;
that.$message.success("操作成功");
that.$API.wpm.mlogbw.create.req(that.bwItemForms).then((res1) => {})
}
that.isSaveing = false;
that.$emit("success",res.mlog);
that.visible = false;
that.$message.success("操作成功");
}).catch(()=>{
that.isSaveing = false;
});

View File

@ -530,7 +530,7 @@ export default {
},
handleSaveSuccess2(data) {
console.log(data);
this.dialog.save = true;
this.dialog.save2 = false;
this.$refs.table.refresh();
this.mlogId = data;
this.dialog.detail = true;