|
|
@@ -325,7 +325,8 @@ export default {
|
|
|
const product = this.productList.find(
|
|
|
(p) => p.productCode === productCode
|
|
|
);
|
|
|
- this.batchNoList = product?.batchNos || [];
|
|
|
+ this.batchNoList = (product?.batchNos || []).filter(Boolean);
|
|
|
+ console.log(this.batchNoList);
|
|
|
// 已选批次号若不在新批次号列表中则清空
|
|
|
if (
|
|
|
this.searchForm.batchNo &&
|