瀏覽代碼

no message

aXin-0810 1 年之前
父節點
當前提交
2791fe6502
共有 1 個文件被更改,包括 3 次插入4 次删除
  1. 3 4
      src/views/supply/reserve/components/reserve_form.vue

+ 3 - 4
src/views/supply/reserve/components/reserve_form.vue

@@ -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)
-      })
-
+      }
       this.goodsList = this.goodsList.concat(
         this.dialogSelection.map(item => {
           item.reservedNum = item.refundableQty