Browse Source

Merge branch 'master_hella' of http://dev.ccwin-in.com:3000/sfms3.0/sfms3.0-ui into master_hella

hella_online_20240829
songguoqiang 3 months ago
parent
commit
b889257587
  1. 16
      src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue

16
src/views/wms/productionManage/productscrap/productscrapRequestMain/index.vue

@ -272,15 +272,15 @@ const buttonOperationClick = async (row, label, index,isSave = false)=> {
} }
}) })
item.rowId = index item.rowId = index
if(tableData.value[index].childList.length > 0) { // if(tableData.value[index].childList.length > 0) {
tableData.value[index].childList.forEach(itemChild => { // tableData.value[index].childList.forEach(itemChild => {
if (itemChild.itemCode == item.itemCode) { // if (itemChild.itemCode == item.itemCode) {
item.qty = itemChild.qty // item.qty = itemChild.qty
} // }
}) // })
}else { // }else {
item.qty = item.bomQty * row.qty item.qty = item.bomQty * row.qty
} // }
const obj = await banchBomPage(row.fromLocationCode, item) const obj = await banchBomPage(row.fromLocationCode, item)
item.batch = obj.batch item.batch = obj.batch
}) })

Loading…
Cancel
Save