Просмотр исходного кода

Merge branch 'develop' into lmm

seimin месяцев назад: 4
Родитель
Сommit
99d081f659

+ 9 - 9
src/app/share/businessData-detail-modal/businessData-detail-modal.component.html

@@ -1,6 +1,6 @@
1 1
 <div class="modal display_flex justify-content_flex-center align-items_center" *ngIf="show">
2 2
   <div class="modalBody" style="width: 1200px;">
3
-    <div class="title" *ngIf="(type === 'drugsJpbag' || type === 'drugsWestern' || type === 'drugsReturn' || type === 'drugsPoison' || type === 'drugsHerbal');else elseTpl">药品详情<i class="icon_transport transport-guanbi" (click)="hideModal()"></i></div>
3
+    <div class="title" *ngIf="(type === 'drugsJpbag' || type === 'drugsWestern' || type === 'drugsReturn' || type === 'drugsPoison' || type === 'drugsHerbal');else elseTpl">{{configs.drugsModel === 1 ? '药品详情' : '药包详情'}}<i class="icon_transport transport-guanbi" (click)="hideModal()"></i></div>
4 4
     <ng-template #elseTpl>
5 5
       <div class="title">业务数据查看<i class="icon_transport transport-guanbi" (click)="hideModal()"></i></div>
6 6
     </ng-template>
@@ -71,8 +71,8 @@
71 71
             <th nzWidth="10%">收取交接人</th>
72 72
             <th nzWidth="14%">收取时间</th>
73 73
             <th nzWidth="10%">送达人</th>
74
-            <th nzWidth="14%">送达交接人</th>
75
-            <th nzWidth="10%">送达时间</th>
74
+            <th nzWidth="10%">送达交接人</th>
75
+            <th nzWidth="14%">送达时间</th>
76 76
           </tr>
77 77
         </thead>
78 78
         <tbody>
@@ -81,12 +81,12 @@
81 81
             <td>{{ data.batchNo }}</td>
82 82
             <td>{{ data.drugsTypeCount }}</td>
83 83
             <td>{{ data.drugsCount }}</td>
84
-            <td><ng-container *ngIf="handoverStartObj">{{handoverStartObj.username}}</ng-container></td>
85
-            <td><ng-container *ngIf="handoverStartObj && handoverStartObj.handoverUserid">{{handoverStartObj.handoverUserid.name}}</ng-container></td>
86
-            <td><ng-container *ngIf="handoverStartObj">{{handoverStartObj.operationTime}}</ng-container></td>
87
-            <td><ng-container *ngIf="handoverEndObj">{{handoverEndObj.username}}</ng-container></td>
88
-            <td><ng-container *ngIf="handoverEndObj && handoverEndObj.handoverUserid">{{handoverEndObj.handoverUserid.name}}</ng-container></td>
89
-            <td><ng-container *ngIf="handoverEndObj">{{handoverEndObj.operationTime}}</ng-container></td>
84
+            <td><ng-container *ngIf="data.startLog">{{data.startLog.username}}</ng-container></td>
85
+            <td><ng-container *ngIf="data.startLog">{{data.startLog.handoverName}}</ng-container></td>
86
+            <td><ng-container *ngIf="data.startLog">{{data.startLog.operationTime | date:'yyyy-MM-dd HH:mm'}}</ng-container></td>
87
+            <td><ng-container *ngIf="data.endLog">{{data.endLog.username}}</ng-container></td>
88
+            <td><ng-container *ngIf="data.endLog">{{data.endLog.handoverName}}</ng-container></td>
89
+            <td><ng-container *ngIf="data.endLog">{{data.endLog.operationTime | date:'yyyy-MM-dd HH:mm'}}</ng-container></td>
90 90
           </tr>
91 91
         </tbody>
92 92
       </nz-table>

+ 0 - 5
src/app/share/businessData-detail-modal/businessData-detail-modal.component.ts

@@ -248,8 +248,6 @@ export class BusinessDataDetailModalComponent implements OnInit {
248 248
   // 获取新药品一单多码列表
249 249
   drugsBugMultipleList: any = [];// 药包列表
250 250
   workOrder:any = {};// 工单
251
-  handoverStartObj:any = {};// 接收人
252
-  handoverEndObj:any = {};// 送达人
253 251
   getDrugsBugMultiple(idx, drugsModel) {
254 252
     if (idx) {
255 253
       this.pageIndex = 1;
@@ -268,9 +266,6 @@ export class BusinessDataDetailModalComponent implements OnInit {
268 266
           this.workOrder = res.data.workOrder || {};
269 267
           this.total = this.drugsBugMultipleList.length;
270 268
 
271
-          this.handoverStartObj = this.workOrder.record.find(v => v.operation.value == 8);
272
-          this.handoverEndObj = this.workOrder.record.find(v => v.operation.value == 10);
273
-
274 269
           if(drugsModel === 1){
275 270
             // 一单一码
276 271
             if(this.drugsBugMultipleList.length){

+ 2 - 0
src/app/views/fuwutai/fuwutai.component.ts

@@ -2386,6 +2386,7 @@ export class FuwutaiComponent implements OnInit {
2386 2386
         this.incidentMsg = isInit ? this.incidentMsg : {};
2387 2387
         this.isBuildOrderAgagin = false;
2388 2388
         this.applyDept = null;
2389
+        this.countRemarkIndex = -1;
2389 2390
         this.incidentModel.department = isInit ? this.incidentModel.department : null;
2390 2391
 
2391 2392
         //正常初始化
@@ -2427,6 +2428,7 @@ export class FuwutaiComponent implements OnInit {
2427 2428
     this.incidentMsg = isInit ? this.incidentMsg : {};
2428 2429
     this.isBuildOrderAgagin = false;
2429 2430
     this.applyDept = null;
2431
+    this.countRemarkIndex = -1;
2430 2432
     this.incidentModel.department = isInit ? this.incidentModel.department : null;
2431 2433
     console.log(des);
2432 2434
     if (des === "no") {