|
@@ -763,11 +763,10 @@ export default {
|
|
},
|
|
},
|
|
|
|
|
|
// 确定 添加产品
|
|
// 确定 添加产品
|
|
- submitAddGoods() {
|
|
|
|
- this.dialogSelection.forEach(async item => {
|
|
|
|
|
|
+ async submitAddGoods() {
|
|
|
|
+ for (var item of this.dialogSelection) {
|
|
item.warehouseList = await this.getListStock(item.customerId)
|
|
item.warehouseList = await this.getListStock(item.customerId)
|
|
- })
|
|
|
|
-
|
|
|
|
|
|
+ }
|
|
this.goodsList = this.goodsList.concat(
|
|
this.goodsList = this.goodsList.concat(
|
|
this.dialogSelection.map(item => {
|
|
this.dialogSelection.map(item => {
|
|
item.reservedNum = item.refundableQty
|
|
item.reservedNum = item.refundableQty
|