hsy
8 小时以前 2d3530a7c11557a40807ad7c0b9e302ce6ce3a9f
src/views/qualityManagement/processInspection/components/formDia.vue
@@ -292,6 +292,19 @@
      prop: "parameterItem",
    },
    {
      label: "参数类型",
      prop: "parameterType",
      formatter: (row) => (row.parameterType === 1 ? "数字" : row.parameterType === 0 ? "文字" : ""),
    },
    {
      label: "最大值",
      prop: "maxValue",
    },
    {
      label: "最小值",
      prop: "minValue",
    },
    {
      label: "单位",
      prop: "unit",
    },
@@ -581,6 +594,10 @@
          ...item,
          id: null,
        }));
        if (tableData.value.some(item => item.parameterType === null || item.parameterType === undefined)) {
          proxy.$modal.msgWarning("参数类型未配置,请配置指标维护模板");
        }
      })
      .catch(error => {
        console.error("获取标准参数失败:", error);