浏览代码

修复筛选页面的样品等级不回显问题

mq 1 年之前
父节点
当前提交
f56b6f2473
共有 1 个文件被更改,包括 1 次插入1 次删除
  1. 1 1
      lib/page/filter/filter_page.dart

+ 1 - 1
lib/page/filter/filter_page.dart

@@ -64,7 +64,7 @@ class _FilterPageState extends BaseState<FilterPage> {
64 64
     ypdjList.value = (DictService.getDictList(DictType.ypdj) ?? []).map((e) => CardMenuData(e.label, e.value)).toList();
65 65
     if (vm.reqList.first.ypdj == null) return;
66 66
     for (var item in ypdjList.value) {
67
-      if (vm.reqList.first.ypdj == item.value) {
67
+      if (vm.reqList.first.ypdj == int.parse(item.value)) {
68 68
         ypdj.value = item;
69 69
         break;
70 70
       }