Explorar el Código

横铺统一(血压)类型标签明细不能为空

zhangxc hace 6 años
padre
commit
3c3ad022eb
Se han modificado 1 ficheros con 3 adiciones y 1 borrados
  1. 3 1
      src/components/icss/NoiseTemplate.vue

+ 3 - 1
src/components/icss/NoiseTemplate.vue

@@ -182,6 +182,7 @@ export default {
           });
           return;
       }
+     
       let detailLis = utils.dataRecombination(this.sendIds, this.dataPub.region2)
       let param = {
         "questionWrapper": {
@@ -206,8 +207,9 @@ export default {
           "questionMappings": detailLis       //映射关系,
         }
       }
-      if(this.dataPub.region2 == 2 && detailLis.length == 0) {
+      if((this.dataPub.region2 == 2 || this.dataPub.region2 == 3)&& detailLis.length == 0) {
          this.warning('请选择标签明细')
+         return
       }
       this.showDelDialog(param)
     },