aXin-0810 hace 1 año
padre
commit
70dbd69772
Se han modificado 1 ficheros con 2 adiciones y 2 borrados
  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 }
         })