|
@@ -794,7 +794,9 @@
|
|
|
|
|
|
|
|
async getFindAssistMaterialInfoByPlanId(itemData) {
|
|
async getFindAssistMaterialInfoByPlanId(itemData) {
|
|
|
const res = await findAssistMaterialInfoByPlanId({
|
|
const res = await findAssistMaterialInfoByPlanId({
|
|
|
- planId: itemData.productionPlanId,
|
|
|
|
|
|
|
+ planId: itemData.productionPlanId
|
|
|
|
|
+ ? itemData.productionPlanId
|
|
|
|
|
+ : itemData.id,
|
|
|
bomVersionId: itemData.bomCategoryId,
|
|
bomVersionId: itemData.bomCategoryId,
|
|
|
routingId: itemData.produceRoutingId
|
|
routingId: itemData.produceRoutingId
|
|
|
});
|
|
});
|