fix:快速报工提交后操作微调
This commit is contained in:
parent
68d346bc42
commit
56489db00e
|
@ -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;
|
||||
});
|
||||
|
|
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue