yijing hace 1 año
padre
commit
006b64231c
Se han modificado 1 ficheros con 1 adiciones y 1 borrados
  1. 1 1
      src/views/sparePartsApply/components/AssetsDialog.vue

+ 1 - 1
src/views/sparePartsApply/components/AssetsDialog.vue

@@ -512,7 +512,7 @@
         // }
 
         this.selectionList = this.selectionList.filter((item) => {
-          if (item.warehouseList.length > 0) {
+          if (item.warehouseList?.length > 0) {
             item['warehouseId'] = item.warehouseList[0].warehouse_id;
             item['warehouseName'] = item.warehouseList[0].warehouse_name;
           }