diff --git a/src/views/statistics/good_check_gx.vue b/src/views/statistics/good_check_gx.vue index e109fd5f..9a5c1e0a 100644 --- a/src/views/statistics/good_check_gx.vue +++ b/src/views/statistics/good_check_gx.vue @@ -206,7 +206,7 @@ - + @@ -268,8 +268,8 @@ - - + + @@ -336,8 +336,8 @@ - - + + @@ -369,31 +369,31 @@ - + - + - + - + - + - + - + - + - + @@ -667,8 +667,8 @@ export default { propert = '外观检验_缺陷_破损'; }else if(index==53&&column.label=='发白'){ propert = '外观检验_缺陷_发白'; - }else if(index==54&&column.label=='裂'){ - propert = '外观检验_缺陷_裂'; + }else if(index==54&&column.label=='裂纹'){ + propert = '外观检验_缺陷_裂纹'; }else if(index==55&&column.label=='光圈'){ propert = '外观检验_缺陷_光圈'; }else if(index==56&&column.label=='漏光'){ @@ -707,8 +707,8 @@ export default { propert = '外观检验_返修_缺陷_破损'; }else if(index==75&&column.label=='发白'){ propert = '外观检验_返修_缺陷_发白'; - }else if(index==76&&column.label=='裂'){ - propert = '外观检验_返修_缺陷_裂'; + }else if(index==76&&column.label=='裂纹'){ + propert = '外观检验_返修_缺陷_裂纹'; }else if(index==77&&column.label=='光圈'){ propert = '外观检验_返修_缺陷_光圈'; }else if(index==78&&column.label=='尺寸小'){ @@ -716,17 +716,17 @@ export default { }else if(column.label=='外观总合格数'){ propert = '外观检验_完全总合格数'; }else if(index==83&&column.label=='黑圈变形'){ - propert = '外观检验_抽检_缺陷_黑圈变形'; + propert = '外观检验_车间库存抽检_缺陷_黑圈变形'; }else if(index==84&&column.label=='黑圈缺口'){ - propert = '外观检验_抽检_缺陷_黑圈缺口'; + propert = '外观检验_车间库存抽检_缺陷_黑圈缺口'; }else if(index==85&&column.label=='光圈'){ - propert = '外观检验_抽检_缺陷_光圈'; + propert = '外观检验_车间库存抽检_缺陷_光圈'; }else if(index==86&&column.label=='发白'){ - propert = '外观检验_抽检_缺陷_发白'; + propert = '外观检验_车间库存抽检_缺陷_发白'; }else if(index==87&&column.label=='漏光'){ - propert = '外观检验_抽检_缺陷_漏光'; + propert = '外观检验_车间库存抽检_缺陷_漏光'; }else if(index==88&&column.label=='抽检不合格'){ - propert = '外观检验_抽检_缺陷_抽检不合格'; + propert = '外观检验_车间库存抽检_count_notok'; } if (propert!=='') { const values = data.map((item) => @@ -775,6 +775,16 @@ export default { sums[index] = ((sums[80]*sums[24])/100).toFixed(2); } } + if(index==89){ + if(sums[88]&&sums[79]){ + sums[index] = sums[79]-sums[88]; + } + } + if(index==90){ + if(sums[89]&&sums[5]){ + sums[index] = ((sums[89]/sums[5])*100).toFixed(2); + } + } }); return sums; },