소스 검색

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