|
|
@@ -273,7 +273,7 @@
|
|
|
if (productList && productList.length > 0) {
|
|
|
productList.forEach((v) => {
|
|
|
let arr = v.saleOrderProductBomList.map((item) => {
|
|
|
- item.productCategoryId = item.categoryLevelPathIdParent;
|
|
|
+ item.categoryRootLevelId = item.categoryLevelPathIdParent;
|
|
|
item.productCode = item.categoryCode;
|
|
|
item.productId = item.categoryId;
|
|
|
item.productName = item.categoryName;
|
|
|
@@ -284,9 +284,9 @@
|
|
|
// v.orderTotalCount = v.orderTotalCount || v.totalCount;
|
|
|
// v.batchNo = await getCode('lot_number_code');
|
|
|
});
|
|
|
- // mbomCategoryList.forEach(async (v) => {
|
|
|
- // v.batchNo = await getCode('lot_number_code');
|
|
|
- // });
|
|
|
+ await mbomCategoryList.forEach(async (v) => {
|
|
|
+ v.batchNo = await getCode('lot_number_code');
|
|
|
+ });
|
|
|
}
|
|
|
console.log(mbomCategoryList,'mbomCategoryList')
|
|
|
this.form = Object.assign({}, this.form, {
|