fix:禅道452综合查询界面棒数据未显示发货数

This commit is contained in:
shijing 2026-07-20 11:26:41 +08:00
parent 564fa2e1c3
commit 6564742644
1 changed files with 12 additions and 0 deletions

View File

@ -362,6 +362,18 @@ export default {
obj.成品库; obj.成品库;
that.tableData11[index] = 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.models_b = models;
that.getCountOk('b',models); that.getCountOk('b',models);
}, },