fix:光芯本工段检验表和加工前检验表getQct获取时传入type:'in'/'out'

This commit is contained in:
shijing 2026-03-04 16:40:06 +08:00
parent 5a09b121fb
commit 1e0c88639f
1 changed files with 2 additions and 2 deletions

View File

@ -532,7 +532,7 @@ export default {
})
}else{
if(route!==null){
that.$API.qm.qct.getQct.req({material:material_in,tag:'process'}).then((res) => {
that.$API.qm.qct.getQct.req({material:material_in,tag:'process',type:'in'}).then((res) => {
res.qct_defects.forEach((item) => {
that.defectinform[item.defect_name] = 0;
})
@ -548,7 +548,7 @@ export default {
}
})
//material_out
that.$API.qm.qct.getQct.req({material:material_out,tag:'process'}).then((res) => {
that.$API.qm.qct.getQct.req({material:material_out,tag:'process',type:'out'}).then((res) => {
res.qct_defects.forEach((item) => {
that.defectform[item.defect_name] = 0;
})