Compare commits
2 Commits
a80f3b69ac
...
0a9b1bdf1f
| Author | SHA1 | Date |
|---|---|---|
|
|
0a9b1bdf1f | |
|
|
31df2e12a8 |
|
|
@ -513,7 +513,7 @@ export default {
|
||||||
getdefects(route,material_in,material_out){
|
getdefects(route,material_in,material_out){
|
||||||
let that = this;
|
let that = this;
|
||||||
if(that.is_fix&&that.materialFix!==null&&that.materialFix!==''){
|
if(that.is_fix&&that.materialFix!==null&&that.materialFix!==''){
|
||||||
that.$API.qm.qct.getQct.req({material: that.materialFix,tag:'process'}).then((res) => {
|
that.$API.qm.qct.getQct.req({material: that.materialFix,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