Compare commits
2 Commits
42bc028585
...
625df22d50
| Author | SHA1 | Date |
|---|---|---|
|
|
625df22d50 | |
|
|
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