Pārlūkot izejas kodu

11月14日 库存扣减更新

XMLWAN 3 gadus atpakaļ
vecāks
revīzija
a14460521e

+ 1 - 1
src/xt_pages/dialysis/PatientBox.vue Parādīt failu

410
                  prescription.body_fluid = 0
410
                  prescription.body_fluid = 0
411
              }
411
              }
412
           }
412
           }
413
-          console.log("透析处方",prescription)
413
+          console.log("透析处方323332323223323223",prescription)
414
           var solution = resp.data.solution; // 透析方案
414
           var solution = resp.data.solution; // 透析方案
415
           var receiver_treatment_access = resp.data.receiver_treatment_access; // 接诊评估
415
           var receiver_treatment_access = resp.data.receiver_treatment_access; // 接诊评估
416
           console.log("receiver_treatment_access",receiver_treatment_access)
416
           console.log("receiver_treatment_access",receiver_treatment_access)

+ 4 - 6
src/xt_pages/dialysis/details/DialysisPrescription.vue Parādīt failu

431
   },
431
   },
432
   computed: {
432
   computed: {
433
     note: function () {
433
     note: function () {
434
+      // console.log("世界人民呃232323223232323323223",this.prescription)
434
       return this.getValueStr('remark', 'remark')
435
       return this.getValueStr('remark', 'remark')
435
     },
436
     },
436
     target_ultrafiltration: function() {
437
     target_ultrafiltration: function() {
713
   
714
   
714
   },
715
   },
715
   created() {
716
   created() {
716
-    console.log("中国出口233232323233223",this.prescription)
717
+   
717
     var perfusion_apparatus = this.$store.getters.perfusion_apparatus
718
     var perfusion_apparatus = this.$store.getters.perfusion_apparatus
718
     var map = {}
719
     var map = {}
719
     for (let index = 0; index < perfusion_apparatus.length; index++) {
720
     for (let index = 0; index < perfusion_apparatus.length; index++) {
734
   },
735
   },
735
   methods: {
736
   methods: {
736
     getValueStr(pkey, skey) {
737
     getValueStr(pkey, skey) {
738
+      
737
       if (
739
       if (
738
         (this.prescription == null || this.prescription.id == '') &&
740
         (this.prescription == null || this.prescription.id == '') &&
739
         (this.solution == null || this.solution.id == '')
741
         (this.solution == null || this.solution.id == '')
776
        }
778
        }
777
        return name
779
        return name
778
     }
780
     }
779
-  },
780
-  watch:{
781
-     prescription:function(){
782
-     console.log("中国出口233232323233223",this.prescription)
783
-   }
784
   }
781
   }
782
+  
785
 }
783
 }
786
 </script>
784
 </script>
787
 
785
 

+ 10 - 45
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Parādīt failu

980
       schedual: {
980
       schedual: {
981
         type: Object
981
         type: Object
982
       },
982
       },
983
-      is_open: {
984
-        type: Number,
985
-        default: () => {
986
-          return 0
987
-        }
988
-      },
983
+      // is_open: {
984
+      //   type: Number,
985
+      //   default: () => {
986
+      //     return 0
987
+      //   }
988
+      // },
989
       waitUploadAdvices: {
989
       waitUploadAdvices: {
990
         type: Array,
990
         type: Array,
991
         default: () => {
991
         default: () => {
1384
         this.InnerDialogProps.visibility = true
1384
         this.InnerDialogProps.visibility = true
1385
         switch (val) {
1385
         switch (val) {
1386
           case '5': // 透析器/灌流器
1386
           case '5': // 透析器/灌流器
1387
-            // var arr = this.dialysisPrescription.dialyzer_perfusion_apparatus
1388
-            // console.log("arr333333",arr)
1389
-            // var newArr =  arr.split(",")
1390
-            // console.log("透析器/灌流器",newArr)
1391
-            // var Arr = []
1392
-            // for(let i=0;i<newArr.length;i++){
1393
-            //   for(let j=0;j<this.dialyzerPerfusionApparatus.length;j++){
1394
-            //      var newarr = newArr[i].toUpperCase()
1395
-
1396
-            //      var dialy = this.dialyzerPerfusionApparatus[j].name.toUpperCase()
1397
-
1398
-            //      if(newarr == dialy){
1399
-            //         Arr.push(this.dialyzerPerfusionApparatus[j].name)
1400
-            //      }
1401
-            //   }
1402
-            // }
1403
-            // var arrtwo = Arr.join(",")
1404
-            // console.log("Arr",arrtwo)
1405
-            //  var arr = this.dialysisPrescription.dialyzer_perfusion_apparatus
1406
-            //  var newArr =  arr.split(",")
1407
-            // console.log("透析器/灌流器",newArr)
1408
-            // var Arr = []
1409
-            // for(let i=0;i<newArr.length;i++){
1410
-            //   for(let j=0;j<this.dialyzerPerfusionApparatus.length;j++){
1411
-            //      var newarr = newArr[i].toUpperCase()
1412
-            //
1413
-            //      var dialy = this.dialyzerPerfusionApparatus[j].name.toUpperCase()
1414
-            //
1415
-            //      if(newarr == dialy){
1416
-            //         Arr.push(this.dialyzerPerfusionApparatus[j].name)
1417
-            //      }
1418
-            //   }
1419
-            // }
1420
-            // var arrtwo = Arr.join(",")
1421
-            // console.log("Arr",arrtwo)
1387
+
1422
             this.InnerDialogProps.values = this.dialyzerPerfusionApparatus
1388
             this.InnerDialogProps.values = this.dialyzerPerfusionApparatus
1423
             this.InnerDialogProps.titles = '透析器/灌流器'
1389
             this.InnerDialogProps.titles = '透析器/灌流器'
1424
             this.InnerDialogProps.type = 'dialyzer_perfusion_apparatus'
1390
             this.InnerDialogProps.type = 'dialyzer_perfusion_apparatus'
1958
       },
1924
       },
1959
       show(pre, schedual, last, his_is_open) {
1925
       show(pre, schedual, last, his_is_open) {
1960
         console.log('pre222222', this.predialysis)
1926
         console.log('pre222222', this.predialysis)
1927
+        console.log("his_is_opne",his_is_open)
1961
         if (pre != undefined) {
1928
         if (pre != undefined) {
1962
           if (pre.oxygen_uptake == 1) {
1929
           if (pre.oxygen_uptake == 1) {
1963
             this.oxygenShow = true
1930
             this.oxygenShow = true
2070
         this.dialysisPrescription.mode_id = this.$route.query.mode_id ? this.$route.query.mode_id : this.mode_id
2037
         this.dialysisPrescription.mode_id = this.$route.query.mode_id ? this.$route.query.mode_id : this.mode_id
2071
         if (pre.id > 0) {
2038
         if (pre.id > 0) {
2072
           this.dialysisPrescription.mode_id = pre.mode_id
2039
           this.dialysisPrescription.mode_id = pre.mode_id
2040
+          
2073
         }
2041
         }
2074
         console.log('this.dialysisPrescription.mode_id', this.dialysisPrescription.mode_id)
2042
         console.log('this.dialysisPrescription.mode_id', this.dialysisPrescription.mode_id)
2075
         console.log('this.schedual', schedual.mode_id)
2043
         console.log('this.schedual', schedual.mode_id)
2125
             this.dialysisPrescription.tubing_hemodialysis = last.tubing_hemodialysis
2093
             this.dialysisPrescription.tubing_hemodialysis = last.tubing_hemodialysis
2126
             this.dialysisPrescription.package = last.package
2094
             this.dialysisPrescription.package = last.package
2127
             this.dialysisPrescription.a_liquid = last.a_liquid
2095
             this.dialysisPrescription.a_liquid = last.a_liquid
2096
+            this.dialysisPrescription.target_ultrafiltration = last.target_ultrafiltration
2128
 
2097
 
2129
             weight_before = 0
2098
             weight_before = 0
2130
 
2099
 
2206
           this.anticoagulant.weichi_unit = 'ml'
2175
           this.anticoagulant.weichi_unit = 'ml'
2207
           this.anticoagulant.zongliang_unit = 'ml'
2176
           this.anticoagulant.zongliang_unit = 'ml'
2208
         }
2177
         }
2209
-
2210
-        console.log('首季9999', this.dialysisPrescription.anticoagulant_zongliang)
2211
-        console.log("收集",this.dialysisPrescription.anticoagulant_shouji)
2212
-        console.log("weichi",this.dialysisPrescription.anticoagulant_weichi)
2213
         if(this.$store.getters.xt_user.template_info.template_id == 41 && this.dialysisPrescription.anticoagulant == 2){
2178
         if(this.$store.getters.xt_user.template_info.template_id == 41 && this.dialysisPrescription.anticoagulant == 2){
2214
           this.dialysisPrescription.anticoagulant_zongliang = ""
2179
           this.dialysisPrescription.anticoagulant_zongliang = ""
2215
           this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) +  parseInt(this.dialysisPrescription.anticoagulant_weichi)
2180
           this.dialysisPrescription.anticoagulant_zongliang = parseInt(this.dialysisPrescription.anticoagulant_shouji) +  parseInt(this.dialysisPrescription.anticoagulant_weichi)

+ 8 - 8
src/xt_pages/dialysis/details/index.vue Parādīt failu

994
                prescription.plasma_separator  = ""
994
                prescription.plasma_separator  = ""
995
             }
995
             }
996
           }
996
           }
997
-
997
+        
998
           var solution = resp.data.solution // 透析方案
998
           var solution = resp.data.solution // 透析方案
999
           console.log("透析方案22223333333333",solution)
999
           console.log("透析方案22223333333333",solution)
1000
           var receiver_treatment_access = resp.data.receiver_treatment_access // 接诊评估
1000
           var receiver_treatment_access = resp.data.receiver_treatment_access // 接诊评估
1339
         var resp = rs.data
1339
         var resp = rs.data
1340
         if (resp.state == 1) {
1340
         if (resp.state == 1) {
1341
           var schedules = resp.data.schedules
1341
           var schedules = resp.data.schedules
1342
-          console.log("恭喜发慈爱2323232323323323223322332",schedules,this.prescription.patient_id)
1343
-          for(let i=0;i<schedules.length;i++){
1344
-            if(this.prescription.patient_id == schedules[i].patient_id){
1345
-               this.prescription = schedules[i].prescription
1346
-            }
1347
-          }
1348
-          console.log("hh2332223323232",this.prescription)
1342
+         
1343
+          // for(let i=0;i<schedules.length;i++){
1344
+          //   if(this.prescription.patient_id == schedules[i].patient_id){
1345
+          //      this.prescription = schedules[i].prescription
1346
+          //   }
1347
+          // }
1348
+          // console.log("hh2332223323232",this.prescription)
1349
           this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
1349
           this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
1350
           const patientArr = JSON.parse(JSON.stringify(this.zone_schedules))
1350
           const patientArr = JSON.parse(JSON.stringify(this.zone_schedules))
1351
           if (this.activeName == 'first') {
1351
           if (this.activeName == 'first') {