yusheng 1 год назад
Родитель
Сommit
ef0bd3d2d0
1 измененных файлов с 4 добавлено и 1 удалено
  1. 4 1
      src/views/purchasingManage/inquiryManage/components/inventoryTable.vue

+ 4 - 1
src/views/purchasingManage/inquiryManage/components/inventoryTable.vue

@@ -478,7 +478,10 @@
         return comitDatasource;
         return comitDatasource;
       },
       },
       filterMethod(value, row, column) {
       filterMethod(value, row, column) {
-        let ids = row.supplierList.map((item) => item.id);
+        console.log(value)
+        console.log(row)
+      
+        let ids = row.supplierIds;
         if (ids.length > 0 && ids.includes(value)) {
         if (ids.length > 0 && ids.includes(value)) {
           return row;
           return row;
         }
         }