fix:光芯日志mlogb_form修正

This commit is contained in:
shijing 2025-07-03 13:51:47 +08:00
parent 111c0fc49f
commit c0f0038ccb
1 changed files with 5 additions and 5 deletions

View File

@ -593,11 +593,11 @@ export default {
that.$API.mtm.route.item.req(that.route).then(res=>{ that.$API.mtm.route.item.req(that.route).then(res=>{
that.material_in = res.material_in; that.material_in = res.material_in;
that.material_out = that.form.material_out = res.material_out; that.material_out = that.form.material_out = res.material_out;
if(that.mlogId){
that.getMlogObj();
}
}); });
} }
if(that.mlogId){
that.getMlogObj();
}
}else{ }else{
that.$API.mtm.route.list.req({ process: that.process, page: 0, routepack__state: 30 }).then((res) => { that.$API.mtm.route.list.req({ process: that.process, page: 0, routepack__state: 30 }).then((res) => {
that.routeOptions = res; that.routeOptions = res;
@ -667,7 +667,7 @@ export default {
that.materialCount = that.form.count_use = that.materialCount = that.form.count_use =
that.form.count_real = that.form.count_ok = item.count; that.form.count_real = that.form.count_ok = item.count;
that.form.count_real = item.count-that.form.count_pn_jgqbl; that.form.count_real = item.count-that.form.count_pn_jgqbl;
that.getdefects(); that.getdefects(that.route,that.material_in,that.material_out);
} }
}) })
}, },
@ -696,7 +696,7 @@ export default {
console.log("this.$API.wpm.mlog.item", res); console.log("this.$API.wpm.mlog.item", res);
that.mlogindefect = res.mlogindefect; that.mlogindefect = res.mlogindefect;
that.mlogdefect = res.mlogdefect; that.mlogdefect = res.mlogdefect;
that.getdefects(); that.getdefects(that.route,that.material_in,that.material_out);
}) })
}, },
// //