licp
2024-12-18 e529237c143617b6b8addc235bc44c1653637e60
src/components/do/b1-ins-order/add.vue
@@ -1971,13 +1971,14 @@
          let projectNum = this.totalArr.filter(a => a.state == 1).length
          if(projectNum==0){
            this.$confirm('检验项目为空,是否确认提交?', "提示", {
              confirmButtonText: "确定",
              cancelButtonText: "取消",
              type: "warning"
            }).then(() => {
              this.saveMethod(sampleList)
            }).catch(() => {})
            // this.$confirm('检验项目为空,是否确认提交?', "提示", {
            //   confirmButtonText: "确定",
            //   cancelButtonText: "取消",
            //   type: "warning"
            // }).then(() => {
            //   this.saveMethod(sampleList)
            // }).catch(() => {})
            return this.$message.error('请添加检验项目')
          }else{
            let isRTS = this.totalArr.find(a => a.ask != null && this.symbolList.find(b=>a.ask&&a.ask.includes(b)) && a.state == 1)
            if (isRTS&&this.PROJECT=='检测中心') {