修改出入库数量计算
This commit is contained in:
@@ -380,7 +380,7 @@ export default {
|
||||
inOutNumber = v.stockNumber;
|
||||
}
|
||||
if (v.conUnitTwo && v.unit == v.conUnitTwo) {
|
||||
inOutNumber = v.stockNumber / v.conUnitTwoConvert;
|
||||
inOutNumber = v.stockNumber * v.conUnitTwoConvert;
|
||||
}
|
||||
return {
|
||||
conId: v.id,
|
||||
@@ -398,7 +398,7 @@ export default {
|
||||
} else if (this.type == "out") {
|
||||
await stockApi.out({ ...this.queryForm, bodyList });
|
||||
} else if (this.type == "reportinglosses") {
|
||||
await stockApi.reportinglosses(bodyList);
|
||||
await stockApi.reportDamage(bodyList);
|
||||
}
|
||||
this.queryFormLoading = false;
|
||||
// const title = this.type == "in" ? "入库" : "出库";
|
||||
|
||||
Reference in New Issue
Block a user