Bladeren bron

新分支

28169 10 maanden geleden
bovenliggende
commit
eab968df88
1 gewijzigde bestanden met toevoegingen van 11 en 0 verwijderingen
  1. 11 0
      src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue

+ 11 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Bestand weergeven

@@ -5409,6 +5409,17 @@ mu
5409 5409
           }
5410 5410
           
5411 5411
            
5412
+        }
5413
+        if(this.$store.getters.xt_user.template_info.org_id==10702){
5414
+          if(this.predialysis!=undefined){
5415
+          if(this.dialysisPrescription.target_ultrafiltration==0 || this.dialysisPrescription.target_ultrafiltration==""){
5416
+            this.dialysisPrescription.target_ultrafiltration = this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight
5417
+          }
5418
+          console.log("hahhahahahhah",this.dialysisPrescription.prescription_water)
5419
+          if(this.dialysisPrescription.prescription_water==0 || this.dialysisPrescription.prescription_water==""){
5420
+            this.dialysisPrescription.prescription_water = this.predialysis.weight_before - this.predialysis.dry_weight - this.predialysis.additional_weight
5421
+          }
5422
+        }
5412 5423
         }
5413 5424
       },
5414 5425
       stockType: function() {