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

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

@@ -929,6 +929,9 @@ export class HushijiandanComponent implements OnInit {
929 929
           this.goodsLis = [];
930 930
           this.getOrderList();
931 931
           this.getDeptTaskType();
932
+        } else if (data.status == 100042) {
933
+          this.showPromptModal("创建", false, data.msg);
934
+          this.getPatient(this.tabSearchCont);
932 935
         } else if (data.status == 1000033) {
933 936
           //重复建单那策略
934 937
           this.repeatMsg = data.msg;
@@ -936,7 +939,7 @@ export class HushijiandanComponent implements OnInit {
936 939
             this.confirmPostData,
937 940
             "accompany5",
938 941
             this.confirmYuyue
939
-          ); //yeye
942
+          );
940 943
         } else {
941 944
           this.showPromptModal("创建", false, data.msg);
942 945
         }
@@ -1302,7 +1305,8 @@ export class HushijiandanComponent implements OnInit {
1302 1305
             that.getOrderList();
1303 1306
             that.getDeptTaskType();
1304 1307
           } else if (data.status == 100042) {
1305
-            that.showPromptModal("创建", true, data.msg);
1308
+            that.showPromptModal("创建", false, data.msg);
1309
+            this.getPatient(this.tabSearchCont);
1306 1310
           } else if (data.status == 1000033) {
1307 1311
             //重复建单那策略
1308 1312
             this.repeatMsg = data.msg;
@@ -1347,7 +1351,8 @@ export class HushijiandanComponent implements OnInit {
1347 1351
             this.getOrderList();
1348 1352
             this.getDeptTaskType();
1349 1353
           } else if (data.status == 100042) {
1350
-            this.showPromptModal("创建", true, data.msg);
1354
+            this.showPromptModal("创建", false, data.msg);
1355
+            this.getPatient(this.tabSearchCont);
1351 1356
           } else if (data.status == 1000033) {
1352 1357
             //重复建单那策略
1353 1358
             this.repeatMsg = data.msg;
@@ -1378,6 +1383,9 @@ export class HushijiandanComponent implements OnInit {
1378 1383
             this.goodsLis = [];
1379 1384
             this.getOrderList();
1380 1385
             this.getDeptTaskType();
1386
+          } else if (data.status == 100042) {
1387
+            this.showPromptModal("创建", false, data.msg);
1388
+            this.getPatient(this.tabSearchCont);
1381 1389
           } else if (data.status == 1000033) {
1382 1390
             //重复建单那策略
1383 1391
             this.repeatMsg = data.msg;
@@ -1419,7 +1427,8 @@ export class HushijiandanComponent implements OnInit {
1419 1427
             this.getOrderList();
1420 1428
             this.getDeptTaskType();
1421 1429
           } else if (data.status == 100042) {
1422
-            this.showPromptModal("创建", true, data.msg);
1430
+            this.showPromptModal("创建", false, data.msg);
1431
+            this.getPatient(this.tabSearchCont);
1423 1432
           } else if (data.status == 1000033) {
1424 1433
             //重复建单那策略
1425 1434
             this.repeatMsg = data.msg;
@@ -1450,6 +1459,9 @@ export class HushijiandanComponent implements OnInit {
1450 1459
             this.goodsLis = [];
1451 1460
             this.getOrderList();
1452 1461
             this.getDeptTaskType();
1462
+          } else if (data.status == 100042) {
1463
+            this.showPromptModal("创建", false, data.msg);
1464
+            this.getPatient(this.tabSearchCont);
1453 1465
           } else if (data.status == 1000033) {
1454 1466
             //重复建单那策略
1455 1467
             this.repeatMsg = data.msg;
@@ -2057,7 +2069,8 @@ export class HushijiandanComponent implements OnInit {
2057 2069
             this.getOrderList();
2058 2070
             this.getDeptTaskType();
2059 2071
           } else if (data.status == 100042) {
2060
-            this.showPromptModal("创建", true, data.msg);
2072
+            this.showPromptModal("创建", false, data.msg);
2073
+            this.getPatient(this.tabSearchCont);
2061 2074
           } else {
2062 2075
             this.showPromptModal("创建", false, data.msg);
2063 2076
           }
@@ -2069,7 +2082,8 @@ export class HushijiandanComponent implements OnInit {
2069 2082
             this.getOrderList();
2070 2083
             this.getDeptTaskType();
2071 2084
           } else if (data.status == 100042) {
2072
-            this.showPromptModal("创建", true, data.msg);
2085
+            this.showPromptModal("创建", false, data.msg);
2086
+            this.getPatient(this.tabSearchCont);
2073 2087
           } else {
2074 2088
             this.showPromptModal("创建", false, data.msg);
2075 2089
           }
@@ -2080,6 +2094,9 @@ export class HushijiandanComponent implements OnInit {
2080 2094
             this.goodsLis = [];
2081 2095
             this.getOrderList();
2082 2096
             this.getDeptTaskType();
2097
+          } else if (data.status == 100042) {
2098
+            this.showPromptModal("创建", false, data.msg);
2099
+            this.getPatient(this.tabSearchCont);
2083 2100
           } else {
2084 2101
             this.showPromptModal("创建", false, data.msg);
2085 2102
           }
@@ -2091,7 +2108,8 @@ export class HushijiandanComponent implements OnInit {
2091 2108
             this.getOrderList();
2092 2109
             this.getDeptTaskType();
2093 2110
           } else if (data.status == 100042) {
2094
-            this.showPromptModal("创建", true, data.msg);
2111
+            this.showPromptModal("创建", false, data.msg);
2112
+            this.getPatient(this.tabSearchCont);
2095 2113
           } else {
2096 2114
             this.showPromptModal("创建", false, data.msg);
2097 2115
           }
@@ -2102,6 +2120,9 @@ export class HushijiandanComponent implements OnInit {
2102 2120
             this.goodsLis = [];
2103 2121
             this.getOrderList();
2104 2122
             this.getDeptTaskType();
2123
+          } else if (data.status == 100042) {
2124
+            this.showPromptModal("创建", false, data.msg);
2125
+            this.getPatient(this.tabSearchCont);
2105 2126
           } else {
2106 2127
             this.showPromptModal("创建", false, data.msg);
2107 2128
           }
@@ -2112,6 +2133,9 @@ export class HushijiandanComponent implements OnInit {
2112 2133
             this.goodsLis = [];
2113 2134
             this.getOrderList();
2114 2135
             this.getDeptTaskType();
2136
+          } else if (data.status == 100042) {
2137
+            this.showPromptModal("创建", false, data.msg);
2138
+            this.getPatient(this.tabSearchCont);
2115 2139
           } else {
2116 2140
             this.showPromptModal("创建", false, data.msg);
2117 2141
           }