diff --git a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue index 310ab5d88..c8e7673f6 100644 --- a/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue +++ b/src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue @@ -272,15 +272,15 @@ const buttonOperationClick = async (row, label, index,isSave = false)=> { } }) item.rowId = index - if(tableData.value[index].childList.length > 0) { - tableData.value[index].childList.forEach(itemChild => { - if (itemChild.itemCode == item.itemCode) { - item.qty = itemChild.qty - } - }) - }else { + // if(tableData.value[index].childList.length > 0) { + // tableData.value[index].childList.forEach(itemChild => { + // if (itemChild.itemCode == item.itemCode) { + // item.qty = itemChild.qty + // } + // }) + // }else { item.qty = item.bomQty * row.qty - } + // } const obj = await banchBomPage(row.fromLocationCode, item) item.batch = obj.batch })