浏览代码

供应商筛选

yusheng 1 年之前
父节点
当前提交
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;
       },
       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)) {
           return row;
         }