diff --git a/src/views/statistics/total_statistics.vue b/src/views/statistics/total_statistics.vue index a033658e..0f25b810 100644 --- a/src/views/statistics/total_statistics.vue +++ b/src/views/statistics/total_statistics.vue @@ -362,6 +362,18 @@ export default { obj.成品库; that.tableData11[index] = obj; }); + saleData.forEach((item) => { + let index = 0; + if (item.型号.indexOf("+") > -1) { + let model = item.型号.split("+")[1]; + index = models.indexOf(model); + } else { + index = models.indexOf(item.型号); + } + if (index > -1) { + that.tableData22[index].检验合格数=item.数量; + } + }) that.models_b = models; that.getCountOk('b',models); },