瀏覽代碼

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 }
         })