diff --git a/src/views/productionTesting/productionQuality.vue b/src/views/productionTesting/productionQuality.vue index 8eb01dd4..5bc4b750 100644 --- a/src/views/productionTesting/productionQuality.vue +++ b/src/views/productionTesting/productionQuality.vue @@ -1573,6 +1573,11 @@ export default { // res.data.data.wpItemList[0].item.name = '厚度检测' // res.data.data.wpItemList[0].checkUserRealName = null this.vxeTableData = res.data.data.wpItemList; + this.vxeTableData.map(item => { + item.lossQty = (item.checkUserRealName != null && item.checkUserRealName != '' ) + ? item.lossQty : item.lossQty != null && item.lossQty != '' + ? item.lossQty : 0 + }) this.getSameList(row.id) if(this.dialogData.ppsName != '烧结包装防护'){ this.vxeTableData.forEach(item =>{