Commit cd916b7f authored by 黄媛媛's avatar 黄媛媛

1

parent a6058a5f
......@@ -187,7 +187,7 @@
data2.forEach(x => {
if ((myData.GoodsId == x.GoodsId) && (myData.SpecificationKey == x.SpecificationSort)) {
this.orderNum++;
if(x.nowBound<x.Number){
if(x.nowBound<x.NewNumber){
x.nowBound++;
this.tableData = data2;
this.scanData.unshift(myData);
......@@ -197,7 +197,7 @@
scanMsg.StockInId = myData.StockInId;
this.sureMsg.WarehouseOutGoodsDetailList.push(scanMsg);
}else{
this.Error('超过了购买数量');
this.Error('超过了出库数量');
}
}
})
......@@ -232,7 +232,7 @@
sureOutband() {
var buyNum = 0;
this.tableData.forEach(x => {
buyNum += x.Number;
buyNum += x.NewNumber;
})
if (this.scanData.length != buyNum) {
this.Error('出库数量与列表数据不符');
......
Markdown is supported
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