Commit 1cc71232 authored by 季圣华's avatar 季圣华
Browse files

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

parent decf45cf
......@@ -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 {
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment