fix:光芯本工段检验表和加工前检验表getQct获取时传入type:'in'/'out'
This commit is contained in:
parent
5a09b121fb
commit
1e0c88639f
|
|
@ -532,7 +532,7 @@ export default {
|
||||||
})
|
})
|
||||||
}else{
|
}else{
|
||||||
if(route!==null){
|
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) => {
|
res.qct_defects.forEach((item) => {
|
||||||
that.defectinform[item.defect_name] = 0;
|
that.defectinform[item.defect_name] = 0;
|
||||||
})
|
})
|
||||||
|
|
@ -548,7 +548,7 @@ export default {
|
||||||
}
|
}
|
||||||
})
|
})
|
||||||
//material_out
|
//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) => {
|
res.qct_defects.forEach((item) => {
|
||||||
that.defectform[item.defect_name] = 0;
|
that.defectform[item.defect_name] = 0;
|
||||||
})
|
})
|
||||||
|
|
|
||||||
Loading…
Reference in New Issue