28169 hace 10 meses
padre
commit
eab968df88

+ 11 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Ver fichero

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
       stockType: function() {
5425
       stockType: function() {