licp
2024-04-12 13988d4efa6b9f5a7e15e3e18ed8759286118e8f
src/views/quality/teststandard/index.vue
@@ -160,7 +160,7 @@
                  ></el-input>
                </template>
              </el-table-column>
              <el-table-column
              <!-- <el-table-column
                label="参数项类型"
                prop="paramType"
                align="center"
@@ -180,7 +180,7 @@
                    </el-option>
                  </el-select>
                </template>
              </el-table-column>
              </el-table-column> -->
              <el-table-column
                label="参数格式"
                prop="parameterFormat"
@@ -866,6 +866,14 @@
    dataFormTestStandardParam() {
      this.isSubmit = true
      if (this.testStandardParams.length > 0) {
        this.testStandardParams.map(m=>{
          if(m.referenceValue !== undefined) {
              m.referenceValue = m.referenceValue.replace(',',',').replace('(','(').replace(')',')')
            return m
          } else{
            this.$message.warning('要求范围没有填写!')
          }
        })
        addTestStandardParam(this.testStandardParams)
          .then((response) => {
            this.$message.success('检测标准参数保存成功')