소스 검색

no message

aXin-0810 1 년 전
부모
커밋
70dbd69772
1개의 변경된 파일2개의 추가작업 그리고 2개의 파일을 삭제
  1. 2 2
      src/views/supply/reserve/components/reserve_form.vue

+ 2 - 2
src/views/supply/reserve/components/reserve_form.vue

@@ -599,7 +599,7 @@ export default {
         return {
           ...item,
           correspondId: val,
-          correspondName: this.warehouseList?.find(item => !!item.id == val)?.name || ''
+          correspondName: this.warehouseList?.find(item => item.id == val)?.name || ''
         }
       })
     },
@@ -773,7 +773,7 @@ export default {
           item.reservedNum = item.refundableQty
           if (this.morenck) {
             item.correspondId = this.morenck
-            item.correspondName = this.warehouseList?.find(item => !!item.id == this.morenck)?.name || ''
+            item.correspondName = this.warehouseList?.find(item => item.id == this.morenck)?.name || ''
           }
           return { ...item }
         })