解决单据中批量设置仓库的bug
This commit is contained in:
parent
decf45cfef
commit
1cc71232e5
@ -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 {
|
||||
|
||||
Loading…
Reference in New Issue
Block a user