|
@@ -239,18 +239,20 @@ const handleCellClick = (row, column, event) => {
|
|
|
//traceabilityComRef.value.refreshTra(row);
|
|
|
tabNameComRef.get(defaultTabName.value)?.value.refreshTra(temRow.value);
|
|
|
}
|
|
|
+ //每次点击都要获取tab页面的数量
|
|
|
+ traceabilityTabCount({ seqNo: row.seqNo }).then(({ data }) => {
|
|
|
+ tabCount = Object.assign(tabCount, data);
|
|
|
+ });
|
|
|
if (row.workOrderCode == productReviewInfo.workOrderCode) {
|
|
|
productReviewInfo.seqNo = row.seqNo;
|
|
|
return;
|
|
|
}
|
|
|
+ //产品信息
|
|
|
getMaterialDetailsByseqNo(row.seqNo).then(({ data }) => {
|
|
|
productReviewInfo = Object.assign(productReviewInfo, data);
|
|
|
productReviewInfo.workOrderCode = row.workOrderCode;
|
|
|
// productReviewInfo.outNum =
|
|
|
});
|
|
|
- traceabilityTabCount({ seqNo: row.seqNo }).then(({ data }) => {
|
|
|
- tabCount = Object.assign(tabCount, data);
|
|
|
- });
|
|
|
}
|
|
|
};
|
|
|
|