zss
2025-07-23 9da0675fa67f1f03f48881b2664da4c01356d1b5
src/views/quality/teststandard/index.vue
@@ -867,15 +867,12 @@
    dataFormTestStandardParam() {
      this.isSubmit = true
      if (this.testStandardParams.length > 0) {
        for(let standardParam in this.testStandardParams) {
            let value = this.testStandardParams[standardParam].referenceValue
            if( value !=null) {
                value = value.replace(',',',').replace('(','(').replace(')',')')
                if (!isNaN(value)) {
                  value='='+value
                }
        this.testStandardParams.map(m=>{
          if(m.referenceValue != undefined) {
              m.referenceValue = m.referenceValue.replace(',',',').replace('(','(').replace(')',')')
            return m
            }
        }
        })
        addTestStandardParam(this.testStandardParams)
          .then((response) => {
            this.$message.success('检测标准参数保存成功')