Explorar el Código

添加查体模板时标签池不能为空

zhangxc hace 6 años
padre
commit
acf1fa716b
Se han modificado 1 ficheros con 4 adiciones y 0 borrados
  1. 4 0
      src/components/icss/AddPhysicalExamTemp.vue

+ 4 - 0
src/components/icss/AddPhysicalExamTemp.vue

@@ -260,6 +260,10 @@
                 "dvDetailVOList": dvDetailVOList
    
             }
+            if(dvDetailVOList.length === 0) {
+                this.warning('请选择查体标签');
+                return
+            }
             this.showConfirmDialog('是否保存该模板?', () => {
                 api.savePhysicalExamTemp(param).then((res) => {
                 if (res.data.code  === '0') {