hdy
2024-03-26 adb3b5b9edf8db637b82705f4512538de4b8137d
jcdm-ui/src/components/inspectionPlanArchives/index.vue
@@ -91,19 +91,12 @@
      machineryList: [],
      // 弹出层标题
      title: "",
      // 设备类型树选项
      machineryTypeOptions: [],
      //车间选项
      workshopOptions:[],
      // 是否显示弹出层
      open: false,
      //自动生成物料编码标识
      autoGenFlag: false,
      // 表单参数
      form: {},
      defaultProps: {
        children: "children",
      },
      // 查询参数
      queryParams: {
        pageNum: 1,
@@ -145,7 +138,7 @@
    },
    // 多选框选中数据
    handleSelectionChange(selection) {
      this.ids = selection.map(item => item.machineryId);
      this.ids = selection.map(item => item.subjectId);
      this.selectedRows = selection;
      this.single = selection.length != 1;
      this.multiple = !selection.length;