seimin 1 月之前
父節點
當前提交
d6458fb5d2
共有 1 個文件被更改,包括 3 次插入0 次删除
  1. 3 0
      src/app/views/hushijiandan/hushijiandan.component.ts

+ 3 - 0
src/app/views/hushijiandan/hushijiandan.component.ts

@@ -2790,6 +2790,9 @@ export class HushijiandanComponent implements OnInit {
2790 2790
       that.patientForm.controls[i].updateValueAndValidity();
2791 2791
     }
2792 2792
     if (that.patientForm.invalid) {
2793
+      if(!that.patientForm.value.inspectScore){
2794
+        this.message.error("陪检方式必填!");
2795
+      }
2793 2796
       return;
2794 2797
     }
2795 2798
     console.log(that.patientForm);