lkk
2025-01-21 47f3611b20b8ee9379e93c82b7b2f46edae56eb1
taocan
1个文件已修改
8 ■■■■ 已修改文件
src/views/system/package/index.vue 8 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
src/views/system/package/index.vue
@@ -833,7 +833,6 @@
        pageSize: 10,
        pacName: null,
        pacRemark: null,
      },
      queryParams1: {
        page: 1,
@@ -1275,6 +1274,13 @@
      search(this.queryParams1).then((response) => {
        this.Treedata = response.data.list; // 更新树形数据
        this.total1 = response.data.total; // 更新总条数
        const selectedIds = this.DataList.map((item) => item.proId);
        // 更新 checkedkey 使得选中的项目保持选中状态
        this.checkedkey = selectedIds.filter((id) =>
          this.Treedata.some((item) => item.proId === id)
        );
        this.pics = this.DataList.reduce(
          (total, item) => total + item.priceOrd,
          0