Browse Source

Merge branch 'master' into lmm

seimin 3 years ago
parent
commit
d85ddea18d
1 changed files with 7 additions and 3 deletions
  1. 7 3
      src/app/views/hushijiandan/hushijiandan.component.ts

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

@@ -1571,7 +1571,11 @@ export class HushijiandanComponent implements OnInit {
1571 1571
           this.leadTime * 60 * 1000
1572 1572
         );
1573 1573
       });
1574
-      this.showDateTime();
1574
+      this.allowUrgentChange(this.allowUrgent);
1575
+      if (this.allowUrgent == 0) {
1576
+        //不加急状态下,回显时间
1577
+        this.showDateTime();
1578
+      }
1575 1579
     } else {
1576 1580
       //有预约时间并且选中的检查数组为空
1577 1581
       this.isYyInspect = false;
@@ -1765,7 +1769,7 @@ export class HushijiandanComponent implements OnInit {
1765 1769
   shortcutMsg1; //一键发起信息
1766 1770
   buildMsg1: any = {}; //一键发起返回信息
1767 1771
   urgentFlag = false;
1768
-  bLoading = false;//收取标本的loading
1772
+  bLoading = false; //收取标本的loading
1769 1773
   // 打开一键发起建单模态框,urgent为true的时候是紧急
1770 1774
   historyCustomRemarks1 = [];
1771 1775
   newShortcutOrder1(msg, type, urgent?) {
@@ -1808,7 +1812,7 @@ export class HushijiandanComponent implements OnInit {
1808 1812
                 this.historyCustomRemarks1 = result1.data;
1809 1813
               }
1810 1814
             });
1811
-        }else{
1815
+        } else {
1812 1816
           this.bLoading = false;
1813 1817
         }
1814 1818
       });