Преглед на файлове

Merge branch '20201109_pc_vue_new_branch' of http://git.shengws.com/csx/Vue_New into 20201109_pc_vue_new_branch

XMLWAN преди 3 години
родител
ревизия
05df57d2ba

+ 2 - 1
src/xt_pages/dialysis/template/DialysisPrintOrderFortyOne.vue Целия файл

@@ -612,7 +612,8 @@
612 612
                         <div style="min-height:20px;line-height:20px; overflow:hidden;">
613 613
                           <span v-if="getTime(monitor.operate_time, '{h}:{i}')" style="word-break: break-all;margin:0;line-height:16px;-webkit-line-clamp:3;overflow:visible;display:inline-block;vertical-align:middle;height:auto;">
614 614
                             <template v-if="(dialysisOrder && monitor.operate_time == dialysisOrder.start_time)">【开始透析】引血100ml/min</template>
615
-                            {{ monitor.end }} {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
615
+                            <span v-if="dialysisOrder && monitor.operate_time == dialysisOrder.end_time">{{ monitor.end }}</span> 
616
+                            {{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
616 617
                           </span>
617 618
                         </div>
618 619
                       </td>

+ 14 - 13
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Целия файл

@@ -3279,8 +3279,8 @@
3279 3279
           for (let c = 0; c < big_prescriptions.length; c++) {
3280 3280
             const inner_prescription = []
3281 3281
             for (let i = 0; i < response.data.data.prescription.length; i++) {
3282
-              var prescription = response.data.data.prescription[i]
3283
-
3282
+              var prescription = JSON.parse(JSON.stringify(response.data.data.prescription))[i]
3283
+              console.log('prescription',prescription)
3284 3284
               if (big_prescriptions[c].med_type == prescription.med_type) {
3285 3285
                 const tempAdvice = []
3286 3286
                 const tempProject = []
@@ -3356,18 +3356,18 @@
3356 3356
                   order_status: prescription.order_status,
3357 3357
                   type: prescription.type,
3358 3358
                   med_type: prescription.med_type,
3359
-                  order: prescription.order
3359
+                  order: JSON.parse(JSON.stringify(prescription.order))
3360 3360
                 }
3361 3361
                 // inner_prescription.push(obj)
3362 3362
                 big_prescriptions[c].prescriptions.push(obj)
3363
-
3363
+                console.log('obj',obj)
3364 3364
                 this.prescriptions.push(obj)
3365 3365
               }
3366 3366
             }
3367 3367
           }
3368
-
3369
-          this.big_prescriptions = big_prescriptions
3370
-
3368
+          console.log('000000002222222',big_prescriptions)
3369
+          this.big_prescriptions = JSON.parse(JSON.stringify(big_prescriptions))
3370
+            console.log('00000000',this.big_prescriptions)
3371 3371
           for (let i = 0; i < this.big_prescriptions.length; i++) {
3372 3372
             if (this.big_prescriptions[i].med_type == '11') {
3373 3373
               this.big_prescriptions[i]['is_true'] = 1
@@ -3382,7 +3382,7 @@
3382 3382
                   prescriptions: []
3383 3383
                 }
3384 3384
                 const arr = []
3385
-                arr.push(this.big_prescriptions[i].prescriptions[b])
3385
+                arr.push(JSON.parse(JSON.stringify(this.big_prescriptions))[i].prescriptions[b])
3386 3386
                 obj.prescriptions = arr
3387 3387
                 this.big_prescriptions.push(obj)
3388 3388
               }
@@ -3396,23 +3396,24 @@
3396 3396
               this.big_prescriptions.splice(i, 1)
3397 3397
             }
3398 3398
           }
3399
-          // console.log(this.big_prescriptions)
3399
+          console.log(22222,this.big_prescriptions)
3400
+          console.log(333333,this.big_prescriptions[0].prescriptions[0].order.order_status)
3400 3401
 
3401 3402
           for (let i = 0; i < this.big_prescriptions.length; i++) {
3402 3403
             if (this.big_prescriptions[i].prescriptions.length > 0) {
3403
-              this.big_prescriptions[i]['curPrescriptions'] = this.big_prescriptions[i].prescriptions[0]
3404
+              this.big_prescriptions[i]['curPrescriptions'] = JSON.parse(JSON.stringify(this.big_prescriptions[i].prescriptions[0])) 
3404 3405
             } else {
3405 3406
               this.big_prescriptions[i]['curPrescriptions'] = {}
3406 3407
             }
3407
-            this.big_prescriptions[i]['total'] = this.getTotalThree(this.big_prescriptions[i])
3408
+            this.big_prescriptions[i]['total'] = this.getTotalThree(JSON.parse(JSON.stringify(this.big_prescriptions[i])))
3408 3409
           }
3409 3410
 
3410 3411
           if (this.big_prescriptions.length > 0) {
3411 3412
             this.editableTabsValue = this.getPName(this.big_prescriptions[0].med_type, 1)
3412 3413
           }
3413 3414
 
3414
-          console.log(this.big_prescriptions)
3415
-          console.log(this.big_prescriptions[0].curPrescriptions.order_status)
3415
+          console.log(333,this.big_prescriptions)
3416
+          console.log(444,this.big_prescriptions[0].curPrescriptions.order.order_status)
3416 3417
 
3417 3418
           //
3418 3419
           // if (this.prescriptions.length > 0) {

+ 2 - 2
src/xt_pages/outpatientCharges/statementTemplate/printThree.vue Целия файл

@@ -6,6 +6,7 @@
6 6
             <div style="display:flex;">
7 7
                 <div>单据号:<span style="display:inline-block;width:200px;">{{info.order_number ? info.order_number : ''}}</span></div>
8 8
                 <div>透析号:<span style="display:inline-block;width:200px;">{{info.patient.dialysis_no ? info.patient.dialysis_no : ''}}</span></div>
9
+                <div style="margin-left:2px;">电脑号:<span style="display:inline-block;">{{info.psn_no ? info.psn_no : ''}}</span></div>
9 10
             </div>
10 11
             <div style="display:flex;justify-content: space-between;">
11 12
                 <div style="display:flex;">
@@ -14,7 +15,6 @@
14 15
                   <div>年龄:<span style="display:inline-block;width:50px;">{{info.patient.age ? info.patient.age : ''}}岁</span></div>
15 16
                   <div>费别:<span style="display:inline-block;min-width:80px;">医保</span>
16 17
                   </div>
17
-                  <div style="margin-left:2px;">电脑号:<span style="display:inline-block;width:80px;">{{info.psn_no ? info.psn_no : ''}}</span></div>
18 18
                   <div>收费日期:<span style="display:inline-block;width:100px;">{{info.setl_time ? info.setl_time.split(' ')[0] : ''}}</span></div>
19 19
                 </div>
20 20
                 <div style="float:right">金额单位:元</div>
@@ -113,6 +113,7 @@
113 113
             <div style="display:flex;">
114 114
                 <div>单据号:<span style="display:inline-block;width:200px;">{{balanceAccounts.his.number ? balanceAccounts.his.number : ''}}</span></div>
115 115
                 <div>透析号:<span style="display:inline-block;width:200px;">{{balanceAccounts.patient ? balanceAccounts.patient.dialysis_no : ''}}</span></div>
116
+                <div>电脑号:<span style="display:inline-block;width:80px;"></span></div>
116 117
             </div>
117 118
             <div style="display:flex;justify-content: space-between;">
118 119
                 <div style="display:flex;">
@@ -121,7 +122,6 @@
121 122
                   <div>年龄:<span style="display:inline-block;width:50px;">{{balanceAccounts.patient ? balanceAccounts.patient.age : ''}}岁</span></div>
122 123
                   <div>费别:<span style="display:inline-block;width:80px;">自费</span>
123 124
                   </div>
124
-                  <div>电脑号:<span style="display:inline-block;width:80px;"></span></div>
125 125
                   <div>收费日期:<span style="display:inline-block;width:100px;">{{getTime(new Date(),"{y}-{m}-{d}")?getTime(new Date(),"{y}-{m}-{d}"):""}}</span></div>
126 126
                 </div>
127 127
                 <div style="float:right">金额单位:元</div>