解决采购订单和销售订单只会计算默认仓库的库存的bug
This commit is contained in:
@@ -386,7 +386,8 @@ export const BillModalMixin = {
|
||||
})
|
||||
} else {
|
||||
//单个条码
|
||||
findStockByDepotAndBarCode({ depotId: row.depotId, barCode: row.barCode }).then((res) => {
|
||||
let depotIdSelected = this.prefixNo !== 'CGDD' && this.prefixNo !== 'XSDD'? row.depotId: ''
|
||||
findStockByDepotAndBarCode({ depotId: depotIdSelected, barCode: row.barCode }).then((res) => {
|
||||
if (res && res.code === 200) {
|
||||
let mArr = []
|
||||
let mInfo = mList[0]
|
||||
|
||||
Reference in New Issue
Block a user