吴羡
7 天以前 37c7825ba84000caee76476cb734fec6e006569b
src/views/mes/pro/workorder/components/select-dialog.vue
@@ -19,11 +19,13 @@
const props = withDefaults(
  defineProps<{
    excludeStatuses?: number[];
    status?: number;
    type?: number;
    checkMethod?: (row: MesProWorkOrderApi.WorkOrder) => boolean;
  }>(),
  {
    excludeStatuses: undefined,
    status: undefined,
    type: undefined,
    checkMethod: undefined,
@@ -151,6 +153,9 @@
            ...formValues,
            ...(props.status === undefined ? {} : { status: props.status }),
            ...(props.type === undefined ? {} : { type: props.type }),
            ...(props.excludeStatuses === undefined
              ? {}
              : { excludeStatuses: props.excludeStatuses }),
          });
        },
      },