Browse Source

点击Bom,数量不对。如注释有问题,再改。bug:长春海拉测试环境WMS制品子件报废申请Boom中批次和数量不应该可编辑,且保存申请时去掉校验必须点Boom中的保存

hella_online_20240829
王宇飞 6 months ago
parent
commit
8cee8546fe
  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
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
})

Loading…
Cancel
Save