解决单据中批量设置仓库的bug

This commit is contained in:
季圣华 2022-05-28 19:25:22 +08:00
parent decf45cfef
commit 1cc71232e5

View File

@ -285,7 +285,11 @@ export const BillModalMixin = {
for (let i = 0; i < detailArr.length; i++) {
let item = detailArr[i]
item.depotId = depotId
item.stock = mList[i].stock
for (let j = 0; j < mList.length; j++) {
if(mList[j].mBarCode === item.barCode) {
item.stock = mList[j].stock
}
}
newDetailArr.push(item)
}
} else {