Commit 1415d361 authored by 黄媛媛's avatar 黄媛媛

1

parent f5a2b9fc
......@@ -184,8 +184,9 @@
var scanMsg = {};
var data2 = JSON.parse(JSON.stringify(this.tableData));
this.orderNum=0;
data2.forEach(x => {
if ((myData.GoodsId == x.GoodsId) && (myData.SpecificationKey == x.SpecificationSort)) {
if ((myData.GoodsId == x.GoodsId) && (myData.SpecificationKey == x.NewSpecificationSort)) {
this.orderNum++;
if(x.nowBound<x.NewNumber){
x.nowBound++;
......@@ -194,6 +195,8 @@
scanMsg.MaterialId = myData.SuppliesId;
scanMsg.CostMoney = myData.UnitPrice;
scanMsg.OrderGoodsId = x.OrderGoodsId;
scanMsg.NewSpecification = x.NewSpecification;
scanMsg.NewSpecificationSort = x.NewSpecificationSort;
scanMsg.StockInId = myData.StockInId;
this.sureMsg.WarehouseOutGoodsDetailList.push(scanMsg);
}else{
......
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