Browse Source

11月22 结算单

yq1 12 hours ago
parent
commit
f53590f8dd

+ 2 - 2
src/xt_pages/dialysis/batch_print/batch_print_order_seventyeight.vue View File

291
                         </div>
291
                         </div>
292
                       </div>
292
                       </div>
293
                     </div>
293
                     </div>
294
-                    <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;">
294
+                    <!-- <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;">
295
                       <div class="inline_block" style="flex: 1;">
295
                       <div class="inline_block" style="flex: 1;">
296
                         合并症:
296
                         合并症:
297
                         <div class="under_line" style=" width: 50%;text-align: center; white-space: normal;">
297
                         <div class="under_line" style=" width: 50%;text-align: center; white-space: normal;">
303
                          {{ record.assessment_before_dislysis.remark ? record.assessment_before_dislysis.remark : '/' }}
303
                          {{ record.assessment_before_dislysis.remark ? record.assessment_before_dislysis.remark : '/' }}
304
                         </div>
304
                         </div>
305
                       </div>
305
                       </div>
306
-                    </div>
306
+                    </div> -->
307
                     <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;">
307
                     <div class="row" style="padding: 2px 0; line-height: 23px;display: flex;">
308
                       <div class="inline_block" style="flex: 1;">
308
                       <div class="inline_block" style="flex: 1;">
309
                         干体重:
309
                         干体重:

+ 20 - 18
src/xt_pages/dialysis/template/DialysisPrintOrderSeventyeight.vue View File

264
                     </div>
264
                     </div>
265
                   </div>
265
                   </div>
266
 
266
 
267
-                  <div class="row" style="display: flex">
267
+                  <!-- <div class="row" style="display: flex">
268
                     <div class="inline_block" style="flex: 1;">
268
                     <div class="inline_block" style="flex: 1;">
269
                       合并症:
269
                       合并症:
270
                       <div class="under_line"
270
                       <div class="under_line"
273
                         {{ predialysis.complication ? predialysis.complication : "/" }}
273
                         {{ predialysis.complication ? predialysis.complication : "/" }}
274
                       </div>
274
                       </div>
275
                     </div>
275
                     </div>
276
-                  </div>
276
+                  </div> -->
277
 
277
 
278
                   <div class="row" style=" display: flex">
278
                   <div class="row" style=" display: flex">
279
                     <div class="inline_block" style="flex: 1;">
279
                     <div class="inline_block" style="flex: 1;">
482
                         "
482
                         "
483
                       >
483
                       >
484
                       <span v-if="predialysis.weight_before && afterdialysis.weight_after &&
484
                       <span v-if="predialysis.weight_before && afterdialysis.weight_after &&
485
-                          parseFloat( predialysis.weight_before - predialysis.additional_weight ).toFixed(1) - 
485
+                          parseFloat( predialysis.weight_before - predialysis.additional_weight ).toFixed(1) -
486
                           parseFloat( afterdialysis.weight_after - afterdialysis.additional_weight).toFixed(1)==0
486
                           parseFloat( afterdialysis.weight_after - afterdialysis.additional_weight).toFixed(1)==0
487
                       ">
487
                       ">
488
                           0
488
                           0
491
                         {{ afterdialysis.weight_loss ? afterdialysis.weight_loss : "/"}}
491
                         {{ afterdialysis.weight_loss ? afterdialysis.weight_loss : "/"}}
492
                       </span>
492
                       </span>
493
 
493
 
494
-                        
494
+
495
                       </div>kg
495
                       </div>kg
496
                     </div>
496
                     </div>
497
                     <div class="inline_block" style="flex:1;">
497
                     <div class="inline_block" style="flex:1;">
1815
 
1815
 
1816
     checkData() {
1816
     checkData() {
1817
       console.log('new_date',this.new_date);
1817
       console.log('new_date',this.new_date);
1818
-      
1818
+
1819
       var checkDate =[]
1819
       var checkDate =[]
1820
       var monearr = []
1820
       var monearr = []
1821
       // if(this.dialysisOrder != undefined && this.dialysisOrder.end_time > this.new_date){
1821
       // if(this.dialysisOrder != undefined && this.dialysisOrder.end_time > this.new_date){
1840
         } if (this.predialysis.internal_fistula == "" || this.predialysis.catheter == "") {
1840
         } if (this.predialysis.internal_fistula == "" || this.predialysis.catheter == "") {
1841
           const obj6 = "透前内瘘,导管"
1841
           const obj6 = "透前内瘘,导管"
1842
           checkDate.push(obj6)
1842
           checkDate.push(obj6)
1843
-        } if (this.predialysis.complication == "" ) {
1844
-          const obj7 = "合并症"
1845
-          checkDate.push(obj7)
1846
-        } if (this.predialysis.dry_weight == '' ) {
1843
+        }
1844
+        // if (this.predialysis.complication == "" ) {
1845
+        //   const obj7 = "合并症"
1846
+        //   checkDate.push(obj7)
1847
+        // }
1848
+        if (this.predialysis.dry_weight == '' ) {
1847
           const obj8 = "干体重"
1849
           const obj8 = "干体重"
1848
           checkDate.push(obj8)
1850
           checkDate.push(obj8)
1849
         } if ( this. predialysis.weight_before == '') {
1851
         } if ( this. predialysis.weight_before == '') {
1887
           const obj20 = "透后体重"
1889
           const obj20 = "透后体重"
1888
           checkDate.push(obj20)
1890
           checkDate.push(obj20)
1889
         }
1891
         }
1890
-        if (this.afterdialysis.weight_loss == '' && 
1891
-            this.predialysis.weight_before =='' && 
1892
+        if (this.afterdialysis.weight_loss == '' &&
1893
+            this.predialysis.weight_before =='' &&
1892
             this.afterdialysis.weight_after == ''
1894
             this.afterdialysis.weight_after == ''
1893
         ) {
1895
         ) {
1894
           const obj21 = "体重减少"
1896
           const obj21 = "体重减少"
1927
         ){
1929
         ){
1928
           const obj30 = "透析器"
1930
           const obj30 = "透析器"
1929
           checkDate.push(obj30)
1931
           checkDate.push(obj30)
1930
-        } 
1932
+        }
1931
         // if (this.predialysis.machine_type == 0) {
1933
         // if (this.predialysis.machine_type == 0) {
1932
         //   const obj31 = "透析机型"
1934
         //   const obj31 = "透析机型"
1933
         //   checkDate.push(obj31)
1935
         //   checkDate.push(obj31)
1934
-        // } 
1936
+        // }
1935
         if ( this.dialysisOrder !=undefined && this.dialysisOrder.DeviceNumber.number == 0) {
1937
         if ( this.dialysisOrder !=undefined && this.dialysisOrder.DeviceNumber.number == 0) {
1936
           const obj32 = "机号"
1938
           const obj32 = "机号"
1937
           checkDate.push(obj32)
1939
           checkDate.push(obj32)
2049
         if(this.dialysisOrder !=undefined && this.dialysisOrder.end_time != 0){
2051
         if(this.dialysisOrder !=undefined && this.dialysisOrder.end_time != 0){
2050
           if(this.monitors.length >0){
2052
           if(this.monitors.length >0){
2051
             for(let i in this.monitors){
2053
             for(let i in this.monitors){
2052
-              if(this.dialysisOrder.end_time >= this.monitors[i].operate_time && 
2054
+              if(this.dialysisOrder.end_time >= this.monitors[i].operate_time &&
2053
                 this.monitors[i].dispose.indexOf('停') <=-1 && this.monitors[i].ultrafiltration_rate!=0
2055
                 this.monitors[i].dispose.indexOf('停') <=-1 && this.monitors[i].ultrafiltration_rate!=0
2054
               ){
2056
               ){
2055
                   console.log('1111111111',this.dialysisOrder.end_time,this.monitors[i].operate_time);
2057
                   console.log('1111111111',this.dialysisOrder.end_time,this.monitors[i].operate_time);
2088
                   checkDate.push(obj62)
2090
                   checkDate.push(obj62)
2089
                 }
2091
                 }
2090
               }
2092
               }
2091
-              
2093
+
2092
 
2094
 
2093
             }
2095
             }
2094
           }
2096
           }
2095
         }
2097
         }
2096
-        
2098
+
2097
         // if(monearr.length>0){
2099
         // if(monearr.length>0){
2098
         // checkDate =checkDate.concat(monearr)
2100
         // checkDate =checkDate.concat(monearr)
2099
         //   console.log('1111',checkDate.concat(monearr));
2101
         //   console.log('1111',checkDate.concat(monearr));
2831
           cancelButtonText: '取消',
2833
           cancelButtonText: '取消',
2832
           type: 'warning',
2834
           type: 'warning',
2833
           dangerouslyUseHTMLString: true,
2835
           dangerouslyUseHTMLString: true,
2834
-        })       
2835
-        
2836
+        })
2837
+
2836
         // this.$message({
2838
         // this.$message({
2837
         //   dangerouslyUseHTMLString: true,
2839
         //   dangerouslyUseHTMLString: true,
2838
         //   message:message,
2840
         //   message:message,