解决bug:在零售出库的时候,先做一条含序列号的商品出库,然后接下来换成一个不含序列号的商品出库,这个时候就出问题了,会提示序列号和数量不对

This commit is contained in:
jishenghua
2025-09-21 23:03:45 +08:00
parent 7a484336d7
commit b0a66b7046

View File

@@ -460,6 +460,9 @@ export const BillModalMixin = {
let mObj = this.parseInfoToObj(mInfo)
mObj.depotId = mInfo.depotId
mObj.stock = mInfo.stock
mObj.snList = ''
mObj.batchNumber = ''
mObj.expirationDate = ''
mArr.push(mObj)
}
let allPriceTotal = 0
@@ -494,6 +497,9 @@ export const BillModalMixin = {
this.changeColumnShow(mInfo)
let mInfoEx = this.parseInfoToObj(mInfo)
mInfoEx.stock = res.data.stock
mInfoEx.snList = ''
mInfoEx.batchNumber = ''
mInfoEx.expirationDate = ''
let mObj = {
rowKey: row.id,
values: mInfoEx