Kaynağa Gözat

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

see999 3 yıl önce
ebeveyn
işleme
6eaabc87bb

+ 5 - 2
src/api/advice.js Dosyayı Görüntüle

@@ -333,9 +333,12 @@ export function PostInitAdviceTemplate(params) {
333 333
   })
334 334
 }
335 335
 
336
-export function getPrintInfo(data) {
336
+export function getPrintInfo(data, advice_type, stop_type) {
337
+  console.log('data', data)
338
+  console.log('advice_tuype23232', advice_type)
339
+  console.log('stop_type', stop_type)
337 340
   return request({
338
-    url: '/api/advicetemplate/getprintinfo',
341
+    url: '/api/advicetemplate/getprintinfo?advice_type=' + advice_type + '&stop_type=' + stop_type,
339 342
     method: 'post',
340 343
     data: data
341 344
   })

+ 7 - 0
src/api/drug/drug.js Dosyayı Görüntüle

@@ -484,3 +484,10 @@ export function getDamagedByDrugId(params) {
484 484
   })
485 485
 }
486 486
 
487
+export function getInventoryModeList(params) {
488
+  return request({
489
+    url: '/api/drug/getinventorymodelist',
490
+    method: 'get',
491
+    params: params
492
+  })
493
+}

+ 21 - 6
src/xt_pages/data/components/consumables.vue Dosyayı Görüntüle

@@ -89,9 +89,9 @@
89 89
         </template>
90 90
 
91 91
       </el-table-column>
92
-      <el-table-column prop="date" label="耗材类" width="140" align="center">
92
+      <el-table-column prop="date" label="耗材类" width="140" align="center">
93 93
         <template slot-scope="scope">
94
-          {{ getGoodKind(scope.row.good_kind) }}
94
+          {{ getGoodTypeByID(scope.row.good_type_id) }}
95 95
         </template>
96 96
       </el-table-column>
97 97
       <el-table-column label="耗材编号" width="140" align="center">
@@ -313,6 +313,7 @@
313 313
               default_count_unit:"",
314 314
               min_unit:"",
315 315
               total:"",
316
+              register_number:"",
316 317
             },
317 318
             isVisibility: false,
318 319
 
@@ -703,10 +704,9 @@
703 704
             this.goodInfo.goodInfoDialog.formValue.packing_unit = response.data.data.goodInfo.packing_unit
704 705
             this.goodInfo.goodInfoDialog.formValue.packing_price = response.data.data.goodInfo.packing_price
705 706
             this.goodInfo.goodInfoDialog.formValue.default_count_unit = response.data.data.goodInfo.default_count_unit
707
+            this.goodInfo.goodInfoDialog.formValue.register_number = response.data.data.goodInfo.register_number
706 708
             this.$refs.addConsumable.show(row.id, this.goodInfo.goodInfoDialog.formValue)
707 709
 
708
-
709
-
710 710
           }
711 711
         })
712 712
       },
@@ -858,6 +858,17 @@
858 858
       },
859 859
       goodInfoDialogCancle: function() {
860 860
         this.$refs.addConsumable.hide()
861
+      },getGoodTypeByID(id){
862
+        console.log( id)
863
+
864
+        let name = ""
865
+        for(let i = 0;  i < this.goodInfo.goodInfoDialog.formValue.goodType.length;i++){
866
+          if(this.goodInfo.goodInfoDialog.formValue.goodType[i].id == id){
867
+            name = this.goodType[i].type_name
868
+          }
869
+        }
870
+        return name
871
+
861 872
       },
862 873
       showInfoDialog: function() {
863 874
         this.getAllDealer();
@@ -937,6 +948,8 @@
937 948
               this.goodInfo.goodInfoDialog.formValue.goodType.push(response.data.data.goodType[i]);
938 949
               this.goodType.push(response.data.data.goodType[i])
939 950
             }
951
+            this.getList();
952
+
940 953
           }
941 954
         })
942 955
       },
@@ -1015,6 +1028,8 @@
1015 1028
         this.goodInfo.goodInfoDialog.formValue.is_doctor_use = '';
1016 1029
         this.goodInfo.goodInfoDialog.formValue.agent = '';
1017 1030
         this.goodInfo.goodInfoDialog.formValue.good_number = '';
1031
+        this.goodInfo.goodInfoDialog.formValue.register_number = '';
1032
+
1018 1033
 
1019 1034
         this.$refs.addConsumable.show(0)
1020 1035
       },
@@ -1468,12 +1483,12 @@
1468 1483
 
1469 1484
     },
1470 1485
     created() {
1471
-      this.getList();
1486
+      this.getAllGoodType();
1472 1487
       this.getAllDealer();
1473 1488
       this.getAllManufacturer();
1474
-      this.getAllGoodType();
1475 1489
       this.goodInfo.goodInfoDialog.formValue.goodUnit = this.$store.getters.good_unit;
1476 1490
       this.getInitializtion()
1491
+
1477 1492
     }
1478 1493
   }
1479 1494
 </script>

+ 69 - 69
src/xt_pages/hospitalStation/doctorDesk.vue Dosyayı Görüntüle

@@ -639,15 +639,15 @@
639 639
             }
640 640
           }
641 641
           //附加收费
642
-          for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
643
-            let obj = {
644
-              id: month_prescriptions[i].addition[a].item_id,
645
-              price: month_prescriptions[i].addition[a].price
646
-
647
-            }
648
-            additions_ids.push(obj)
649
-            addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
650
-          }
642
+          // for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
643
+          //   let obj = {
644
+          //     id: month_prescriptions[i].addition[a].item_id,
645
+          //     price: month_prescriptions[i].addition[a].price
646
+          //
647
+          //   }
648
+          //   additions_ids.push(obj)
649
+          //   addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
650
+          // }
651 651
         }
652 652
 
653 653
         const obj = {}
@@ -1169,16 +1169,16 @@
1169 1169
                 }
1170 1170
 
1171 1171
                 //附加收费
1172
-                for (let b = 0; b < prescription.addition.length; b++) {
1173
-                  let obj = {
1174
-                    id: prescription.addition[b].id,
1175
-                    item_name: prescription.addition[b].item_name,
1176
-                    price: prescription.addition[b].price,
1177
-                    count: prescription.addition[b].count,
1178
-                    item_id: prescription.addition[b].item_id
1179
-                  }
1180
-                  tempAddition.push(obj)
1181
-                }
1172
+                // for (let b = 0; b < prescription.addition.length; b++) {
1173
+                //   let obj = {
1174
+                //     id: prescription.addition[b].id,
1175
+                //     item_name: prescription.addition[b].item_name,
1176
+                //     price: prescription.addition[b].price,
1177
+                //     count: prescription.addition[b].count,
1178
+                //     item_id: prescription.addition[b].item_id
1179
+                //   }
1180
+                //   tempAddition.push(obj)
1181
+                // }
1182 1182
 
1183 1183
                 var preTime = ''
1184 1184
 
@@ -1545,16 +1545,16 @@
1545 1545
                       }
1546 1546
 
1547 1547
                       //附加收费
1548
-                      for (let b = 0; b < prescription.addition.length; b++) {
1549
-                        let obj = {
1550
-                          id: prescription.addition[b].id,
1551
-                          item_name: prescription.addition[b].item_name,
1552
-                          price: prescription.addition[b].price,
1553
-                          count: prescription.addition[b].count,
1554
-                          item_id: prescription.addition[b].item_id
1555
-                        }
1556
-                        tempAddition.push(obj)
1557
-                      }
1548
+                      // for (let b = 0; b < prescription.addition.length; b++) {
1549
+                      //   let obj = {
1550
+                      //     id: prescription.addition[b].id,
1551
+                      //     item_name: prescription.addition[b].item_name,
1552
+                      //     price: prescription.addition[b].price,
1553
+                      //     count: prescription.addition[b].count,
1554
+                      //     item_id: prescription.addition[b].item_id
1555
+                      //   }
1556
+                      //   tempAddition.push(obj)
1557
+                      // }
1558 1558
 
1559 1559
                       var preTime = ''
1560 1560
 
@@ -2021,16 +2021,16 @@
2021 2021
                       }
2022 2022
 
2023 2023
                       //附加收费
2024
-                      for (let b = 0; b < prescription.addition.length; b++) {
2025
-                        let obj = {
2026
-                          id: prescription.addition[b].id,
2027
-                          item_name: prescription.addition[b].item_name,
2028
-                          price: prescription.addition[b].price,
2029
-                          count: prescription.addition[b].count,
2030
-                          item_id: prescription.addition[b].item_id
2031
-                        }
2032
-                        tempAddition.push(obj)
2033
-                      }
2024
+                      // for (let b = 0; b < prescription.addition.length; b++) {
2025
+                      //   let obj = {
2026
+                      //     id: prescription.addition[b].id,
2027
+                      //     item_name: prescription.addition[b].item_name,
2028
+                      //     price: prescription.addition[b].price,
2029
+                      //     count: prescription.addition[b].count,
2030
+                      //     item_id: prescription.addition[b].item_id
2031
+                      //   }
2032
+                      //   tempAddition.push(obj)
2033
+                      // }
2034 2034
 
2035 2035
                       var preTime = ''
2036 2036
 
@@ -2477,16 +2477,16 @@
2477 2477
                     }
2478 2478
 
2479 2479
                     //附加收费
2480
-                    for (let b = 0; b < prescription.addition.length; b++) {
2481
-                      let obj = {
2482
-                        id: prescription.addition[b].id,
2483
-                        item_name: prescription.addition[b].item_name,
2484
-                        price: prescription.addition[b].price,
2485
-                        count: prescription.addition[b].count,
2486
-                        item_id: prescription.addition[b].item_id
2487
-                      }
2488
-                      tempAddition.push(obj)
2489
-                    }
2480
+                    // for (let b = 0; b < prescription.addition.length; b++) {
2481
+                    //   let obj = {
2482
+                    //     id: prescription.addition[b].id,
2483
+                    //     item_name: prescription.addition[b].item_name,
2484
+                    //     price: prescription.addition[b].price,
2485
+                    //     count: prescription.addition[b].count,
2486
+                    //     item_id: prescription.addition[b].item_id
2487
+                    //   }
2488
+                    //   tempAddition.push(obj)
2489
+                    // }
2490 2490
 
2491 2491
                     var preTime = ''
2492 2492
 
@@ -2992,16 +2992,16 @@
2992 2992
                       }
2993 2993
 
2994 2994
                       //附加收费
2995
-                      for (let b = 0; b < prescription.addition.length; b++) {
2996
-                        let obj = {
2997
-                          id: prescription.addition[b].id,
2998
-                          item_name: prescription.addition[b].item_name,
2999
-                          price: prescription.addition[b].price,
3000
-                          count: prescription.addition[b].count,
3001
-                          item_id: prescription.addition[b].item_id
3002
-                        }
3003
-                        tempAddition.push(obj)
3004
-                      }
2995
+                      // for (let b = 0; b < prescription.addition.length; b++) {
2996
+                      //   let obj = {
2997
+                      //     id: prescription.addition[b].id,
2998
+                      //     item_name: prescription.addition[b].item_name,
2999
+                      //     price: prescription.addition[b].price,
3000
+                      //     count: prescription.addition[b].count,
3001
+                      //     item_id: prescription.addition[b].item_id
3002
+                      //   }
3003
+                      //   tempAddition.push(obj)
3004
+                      // }
3005 3005
 
3006 3006
                       var preTime = ''
3007 3007
 
@@ -3537,16 +3537,16 @@
3537 3537
                       }
3538 3538
 
3539 3539
                       //附加收费
3540
-                      for (let b = 0; b < prescription.addition.length; b++) {
3541
-                        let obj = {
3542
-                          id: prescription.addition[b].id,
3543
-                          item_name: prescription.addition[b].item_name,
3544
-                          price: prescription.addition[b].price,
3545
-                          count: prescription.addition[b].count,
3546
-                          item_id: prescription.addition[b].item_id
3547
-                        }
3548
-                        tempAddition.push(obj)
3549
-                      }
3540
+                      // for (let b = 0; b < prescription.addition.length; b++) {
3541
+                      //   let obj = {
3542
+                      //     id: prescription.addition[b].id,
3543
+                      //     item_name: prescription.addition[b].item_name,
3544
+                      //     price: prescription.addition[b].price,
3545
+                      //     count: prescription.addition[b].count,
3546
+                      //     item_id: prescription.addition[b].item_id
3547
+                      //   }
3548
+                      //   tempAddition.push(obj)
3549
+                      // }
3550 3550
 
3551 3551
                       var preTime = ''
3552 3552
 

+ 3 - 0
src/xt_pages/hospitalStation/template/printFour.vue Dosyayı Görüntüle

@@ -2,6 +2,9 @@
2 2
   <div id='prescriptionPrint'>
3 3
     <div v-for="(item,index) in advicePrint" :key="index">
4 4
       <div id='prescription-print' class="prescription-print" style="page-break-after: always;">
5
+          <!--<div class="printTitle">{{orgname}}处方笺</div>-->
6
+          <!--<div class="printTitle" v-if="prescriptions[0].med_type == '1111'">{{orgname}}第一类精神药品处方笺</div>-->
7
+          <!--<div class="printTitle" v-if="prescriptions[0].med_type == '1112'">{{orgname}}第二类精神药品处方笺</div>-->
5 8
           <div class="printTitle">{{orgname}}处方笺</div>
6 9
           <div class="infoTitle">
7 10
               <p>姓名:{{item.patient.name?item.patient.name:""}}</p>

+ 5 - 1
src/xt_pages/hospitalStation/template/printOne.vue Dosyayı Görüntüle

@@ -2,7 +2,11 @@
2 2
   <div id='prescriptionPrint'>
3 3
     <div v-for="(item,index) in advicePrint" :key="index">
4 4
       <div id='prescription-print' class="prescription-print" style="page-break-after: always;">
5
-          <div class="printTitle">{{orgname}}处方笺</div>
5
+          <div class="printTitle" v-if="prescriptions[0].med_type == '1111'">{{orgname}}第一类精神药品处方笺</div>
6
+          <div class="printTitle" v-if="prescriptions[0].med_type == '1112'">{{orgname}}第二类精神药品处方笺</div>
7
+          <div class="printTitle" v-else>{{orgname}}处方笺</div>
8
+
9
+
6 10
           <div class="infoTitle">
7 11
               <p>姓名:{{item.patient.name?item.patient.name:""}}</p>
8 12
               <p>性别:

+ 64 - 58
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue Dosyayı Görüntüle

@@ -588,8 +588,7 @@
588 588
         //   { value: '18', label: '预防接种' },
589 589
         //   { value: '19', label: '门诊输血' },
590 590
         //   { value: '91', label: '新冠肺炎门诊' },
591
-        //   { value: '1111', label: '精一' },
592
-        //   { value: '1112', label: '精二' }
591
+
593 592
         // ],
594 593
 
595 594
         register: [
@@ -597,6 +596,8 @@
597 596
           // { value: 12, label: '门诊挂号' },
598 597
           // { value: 13, label: '急诊' },
599 598
           { value: 14, label: '门诊特殊病' },
599
+          { value: '1111', label: '精一' },
600
+          { value: '1112', label: '精二' }
600 601
           // { value: 15, label: '门诊统筹' },
601 602
           // { value: 16, label: '门诊慢性病' },
602 603
           // { value: 21, label: '普通住院' }
@@ -1948,11 +1949,11 @@
1948 1949
             }
1949 1950
           }
1950 1951
 
1951
-          if (month_prescriptions[i].addition != null) {
1952
-            for (let b = 0; b < month_prescriptions[i].addition.length; b++) {
1953
-              total = parseFloat(total) + parseFloat(month_prescriptions[i].addition[a].price * month_prescriptions[i].addition[b].count)
1954
-            }
1955
-          }
1952
+          // if (month_prescriptions[i].addition != null) {
1953
+          //   for (let b = 0; b < month_prescriptions[i].addition.length; b++) {
1954
+          //     total = parseFloat(total) + parseFloat(month_prescriptions[i].addition[a].price * month_prescriptions[i].addition[b].count)
1955
+          //   }
1956
+          // }
1956 1957
         }
1957 1958
         return total.toFixed(2)
1958 1959
       },
@@ -3044,11 +3045,11 @@
3044 3045
           }
3045 3046
           let project_ids = []
3046 3047
 
3047
-          let additions_ids = []
3048
-          let addition_month_prescriptions = {
3049
-            addition: []
3050
-
3051
-          }
3048
+          // let additions_ids = []
3049
+          // let addition_month_prescriptions = {
3050
+          //   addition: []
3051
+          //
3052
+          // }
3052 3053
           for (let i = 0; i < month_prescriptions.length; i++) {
3053 3054
             if (big_prescriptions[c].med_type == month_prescriptions[i].med_type) {
3054 3055
 
@@ -3075,30 +3076,30 @@
3075 3076
                 }
3076 3077
               }
3077 3078
               //附加收费
3078
-              for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
3079
-                let obj = {
3080
-                  id: month_prescriptions[i].addition[a].item_id,
3081
-                  price: month_prescriptions[i].addition[a].price
3082
-
3083
-                }
3084
-                additions_ids.push(obj)
3085
-                addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
3086
-
3087
-              }
3079
+              // for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
3080
+              //   let obj = {
3081
+              //     id: month_prescriptions[i].addition[a].item_id,
3082
+              //     price: month_prescriptions[i].addition[a].price
3083
+              //
3084
+              //   }
3085
+              //   additions_ids.push(obj)
3086
+              //   addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
3087
+              //
3088
+              // }
3088 3089
               big_prescriptions[c]['drug_ids'] = []
3089 3090
               big_prescriptions[c]['project_ids'] = []
3090
-              big_prescriptions[c]['additions_ids'] = []
3091
+              // big_prescriptions[c]['additions_ids'] = []
3091 3092
               big_prescriptions[c]['drug_month_prescriptions'] = []
3092 3093
               big_prescriptions[c]['project_month_prescriptions'] = []
3093
-              big_prescriptions[c]['addition_month_prescriptions'] = []
3094
+              // big_prescriptions[c]['addition_month_prescriptions'] = []
3094 3095
 
3095 3096
               big_prescriptions[c]['drug_ids'] = drug_ids
3096 3097
               big_prescriptions[c]['project_ids'] = project_ids
3097
-              big_prescriptions[c]['additions_ids'] = additions_ids
3098
+              // big_prescriptions[c]['additions_ids'] = additions_ids
3098 3099
 
3099 3100
               big_prescriptions[c]['drug_month_prescriptions'] = drug_month_prescriptions
3100 3101
               big_prescriptions[c]['project_month_prescriptions'] = project_month_prescriptions
3101
-              big_prescriptions[c]['addition_month_prescriptions'] = addition_month_prescriptions
3102
+              // big_prescriptions[c]['addition_month_prescriptions'] = addition_month_prescriptions
3102 3103
               big_prescriptions[c]['order'] = month_prescriptions[i].order
3103 3104
             }
3104 3105
           }
@@ -3109,11 +3110,11 @@
3109 3110
         for (let y = 0; y < big_prescriptions.length; y++) {
3110 3111
           let drug_ids = this.unique_two(big_prescriptions[y].drug_ids)
3111 3112
           let project_ids = this.unique_two(big_prescriptions[y].project_ids)
3112
-          let additions_ids = this.unique_two(big_prescriptions[y].additions_ids)
3113
+          // let additions_ids = this.unique_two(big_prescriptions[y].additions_ids)
3113 3114
 
3114 3115
           let drugs = []
3115 3116
           let projects = []
3116
-          let additions = []
3117
+          // let additions = []
3117 3118
 
3118 3119
           for (let i = 0; i < drug_ids.length; i++) {
3119 3120
             let obj = {}
@@ -3176,30 +3177,30 @@
3176 3177
             projects.push(obj)
3177 3178
           }
3178 3179
 
3179
-          for (let i = 0; i < additions_ids.length; i++) {
3180
-            let obj = {}
3181
-            let count = 0
3182
-            if (big_prescriptions[y].addition_month_prescriptions.addition) {
3183
-              for (let a = 0; a < big_prescriptions[y].addition_month_prescriptions.addition.length; a++) {
3184
-                if (additions_ids[i].price == big_prescriptions[y].addition_month_prescriptions.addition[a].price && additions_ids[i].id == big_prescriptions[y].addition_month_prescriptions.addition[a].item_id) {
3185
-                  obj['item_name'] = big_prescriptions[y].addition_month_prescriptions.addition[a].item_name
3186
-                  obj['id'] = big_prescriptions[y].addition_month_prescriptions.addition[a].id
3187
-                  obj['item_id'] = big_prescriptions[y].addition_month_prescriptions.addition[a].item_id
3188
-                  count = count + big_prescriptions[y].addition_month_prescriptions.addition[a].count
3189
-                  obj['price'] = parseFloat(big_prescriptions[y].addition_month_prescriptions.addition[a].price)
3190
-                }
3191
-              }
3192
-              obj['count'] = count
3193
-              additions.push(obj)
3194
-            }
3195
-          }
3180
+          // for (let i = 0; i < additions_ids.length; i++) {
3181
+          //   let obj = {}
3182
+          //   let count = 0
3183
+          //   if (big_prescriptions[y].addition_month_prescriptions.addition) {
3184
+          //     for (let a = 0; a < big_prescriptions[y].addition_month_prescriptions.addition.length; a++) {
3185
+          //       if (additions_ids[i].price == big_prescriptions[y].addition_month_prescriptions.addition[a].price && additions_ids[i].id == big_prescriptions[y].addition_month_prescriptions.addition[a].item_id) {
3186
+          //         obj['item_name'] = big_prescriptions[y].addition_month_prescriptions.addition[a].item_name
3187
+          //         obj['id'] = big_prescriptions[y].addition_month_prescriptions.addition[a].id
3188
+          //         obj['item_id'] = big_prescriptions[y].addition_month_prescriptions.addition[a].item_id
3189
+          //         count = count + big_prescriptions[y].addition_month_prescriptions.addition[a].count
3190
+          //         obj['price'] = parseFloat(big_prescriptions[y].addition_month_prescriptions.addition[a].price)
3191
+          //       }
3192
+          //     }
3193
+          //     obj['count'] = count
3194
+          //     additions.push(obj)
3195
+          //   }
3196
+          // }
3196 3197
 
3197 3198
           let p1 = {
3198 3199
             name: this.getPName(big_prescriptions[y].med_type, 1),
3199 3200
             advices: drugs,
3200 3201
             project: [],
3201 3202
             type: 1,
3202
-            addition: additions,
3203
+            // addition: additions,
3203 3204
             order: big_prescriptions[y].order
3204 3205
           }
3205 3206
           let p2 = {
@@ -3207,7 +3208,7 @@
3207 3208
             type: 2,
3208 3209
             project: projects,
3209 3210
             advices: [],
3210
-            addition: [],
3211
+            // addition: [],
3211 3212
             order: big_prescriptions[y].order
3212 3213
 
3213 3214
           }
@@ -3257,7 +3258,12 @@
3257 3258
             break
3258 3259
           case 21:
3259 3260
             return '普通住院' + '处方' + index
3260
-
3261
+            break
3262
+          case 1111:
3263
+            return '精一' + '处方' + index
3264
+            break
3265
+          case 1112:
3266
+            return '精二' + '处方' + index
3261 3267
             break
3262 3268
         }
3263 3269
       }, unique_four(array) {
@@ -3480,16 +3486,16 @@
3480 3486
                       tempProject.push(obj)
3481 3487
                     }
3482 3488
 
3483
-                    for (let b = 0; b < prescription.addition.length; b++) {
3484
-                      const obj = {
3485
-                        id: prescription.addition[b].id,
3486
-                        item_name: prescription.addition[b].item_name,
3487
-                        price: prescription.addition[b].price,
3488
-                        count: prescription.addition[b].count,
3489
-                        item_id: prescription.addition[b].item_id
3490
-                      }
3491
-                      tempAddition.push(obj)
3492
-                    }
3489
+                    // for (let b = 0; b < prescription.addition.length; b++) {
3490
+                    //   const obj = {
3491
+                    //     id: prescription.addition[b].id,
3492
+                    //     item_name: prescription.addition[b].item_name,
3493
+                    //     price: prescription.addition[b].price,
3494
+                    //     count: prescription.addition[b].count,
3495
+                    //     item_id: prescription.addition[b].item_id
3496
+                    //   }
3497
+                    //   tempAddition.push(obj)
3498
+                    // }
3493 3499
                     const index = i + 1
3494 3500
                     console.log('~~~~~~~~')
3495 3501
                     console.log(prescription.order)

+ 34 - 36
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Dosyayı Görüntüle

@@ -532,12 +532,10 @@
532 532
         end_time: moment(new Date()).add('year', 0).format('YYYY-MM-DD'),
533 533
         register: [
534 534
           { value: 11, label: '普通门诊' },
535
-          // { value: 12, label: '门诊挂号' },
536
-          // { value: 13, label: '急诊' },
537
-          { value: 14, label: '门诊特殊病' }
538
-          // { value: 15, label: '门诊统筹' },
539
-          // { value: 16, label: '门诊慢性病' },
540
-          // { value: 21, label: '普通住院' }
535
+          { value: 14, label: '门诊特殊病' },
536
+          { value: 1111, label: '精一' },
537
+          { value: 1112, label: '精二' }
538
+
541 539
 
542 540
         ],
543 541
         medical_care: [
@@ -710,16 +708,16 @@
710 708
             }
711 709
           }
712 710
           //附加收费
713
-          for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
714
-            let obj = {
715
-              id: month_prescriptions[i].addition[a].item_id,
716
-              price: month_prescriptions[i].addition[a].price
717
-
718
-            }
719
-            additions_ids.push(obj)
720
-            addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
721
-
722
-          }
711
+          // for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
712
+          //   let obj = {
713
+          //     id: month_prescriptions[i].addition[a].item_id,
714
+          //     price: month_prescriptions[i].addition[a].price
715
+          //
716
+          //   }
717
+          //   additions_ids.push(obj)
718
+          //   addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
719
+          //
720
+          // }
723 721
 
724 722
         }
725 723
 
@@ -1127,16 +1125,16 @@
1127 1125
                   }
1128 1126
 
1129 1127
                   //附加收费
1130
-                  for (let b = 0; b < prescription.addition.length; b++) {
1131
-                    let obj = {
1132
-                      id: prescription.addition[b].id,
1133
-                      item_name: prescription.addition[b].item_name,
1134
-                      price: prescription.addition[b].price,
1135
-                      count: prescription.addition[b].count,
1136
-                      item_id: prescription.addition[b].item_id
1137
-                    }
1138
-                    tempAddition.push(obj)
1139
-                  }
1128
+                  // for (let b = 0; b < prescription.addition.length; b++) {
1129
+                  //   let obj = {
1130
+                  //     id: prescription.addition[b].id,
1131
+                  //     item_name: prescription.addition[b].item_name,
1132
+                  //     price: prescription.addition[b].price,
1133
+                  //     count: prescription.addition[b].count,
1134
+                  //     item_id: prescription.addition[b].item_id
1135
+                  //   }
1136
+                  //   tempAddition.push(obj)
1137
+                  // }
1140 1138
 
1141 1139
                   let index = i + 1
1142 1140
                   let obj = {
@@ -1248,16 +1246,16 @@
1248 1246
                   }
1249 1247
 
1250 1248
                   //附加收费
1251
-                  for (let b = 0; b < prescription.addition.length; b++) {
1252
-                    let obj = {
1253
-                      id: prescription.addition[b].id,
1254
-                      item_name: prescription.addition[b].item_name,
1255
-                      price: prescription.addition[b].price,
1256
-                      count: prescription.addition[b].count,
1257
-                      item_id: prescription.addition[b].item_id
1258
-                    }
1259
-                    tempAddition.push(obj)
1260
-                  }
1249
+                  // for (let b = 0; b < prescription.addition.length; b++) {
1250
+                  //   let obj = {
1251
+                  //     id: prescription.addition[b].id,
1252
+                  //     item_name: prescription.addition[b].item_name,
1253
+                  //     price: prescription.addition[b].price,
1254
+                  //     count: prescription.addition[b].count,
1255
+                  //     item_id: prescription.addition[b].item_id
1256
+                  //   }
1257
+                  //   tempAddition.push(obj)
1258
+                  // }
1261 1259
 
1262 1260
                   let index = i + 1
1263 1261
                   let obj = {

+ 72 - 72
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Dosyayı Görüntüle

@@ -879,15 +879,15 @@
879 879
             }
880 880
           }
881 881
           //附加收费
882
-          for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
883
-            let obj = {
884
-              id: month_prescriptions[i].addition[a].item_id,
885
-              price: month_prescriptions[i].addition[a].price
886
-
887
-            }
888
-            additions_ids.push(obj)
889
-            addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
890
-          }
882
+          // for (let a = 0; a < month_prescriptions[i].addition.length; a++) {
883
+          //   let obj = {
884
+          //     id: month_prescriptions[i].addition[a].item_id,
885
+          //     price: month_prescriptions[i].addition[a].price
886
+          //
887
+          //   }
888
+          //   additions_ids.push(obj)
889
+          //   addition_month_prescriptions.addition.push(month_prescriptions[i].addition[a])
890
+          // }
891 891
         }
892 892
 
893 893
         const obj = {}
@@ -1193,7 +1193,7 @@
1193 1193
             }
1194 1194
             this.drugs = drugs
1195 1195
             console.log("五一劳动节2332323322332",this.drugs)
1196
-          
1196
+
1197 1197
             this.allDrugs = response.data.data.drugs
1198 1198
             this.advices_template = response.data.data.advices_template
1199 1199
 
@@ -1470,16 +1470,16 @@
1470 1470
                 }
1471 1471
 
1472 1472
                 //附加收费
1473
-                for (let b = 0; b < prescription.addition.length; b++) {
1474
-                  let obj = {
1475
-                    id: prescription.addition[b].id,
1476
-                    item_name: prescription.addition[b].item_name,
1477
-                    price: prescription.addition[b].price,
1478
-                    count: prescription.addition[b].count,
1479
-                    item_id: prescription.addition[b].item_id
1480
-                  }
1481
-                  tempAddition.push(obj)
1482
-                }
1473
+                // for (let b = 0; b < prescription.addition.length; b++) {
1474
+                //   let obj = {
1475
+                //     id: prescription.addition[b].id,
1476
+                //     item_name: prescription.addition[b].item_name,
1477
+                //     price: prescription.addition[b].price,
1478
+                //     count: prescription.addition[b].count,
1479
+                //     item_id: prescription.addition[b].item_id
1480
+                //   }
1481
+                //   tempAddition.push(obj)
1482
+                // }
1483 1483
 
1484 1484
                 var preTime = ''
1485 1485
 
@@ -1867,16 +1867,16 @@
1867 1867
                       }
1868 1868
 
1869 1869
                       //附加收费
1870
-                      for (let b = 0; b < prescription.addition.length; b++) {
1871
-                        let obj = {
1872
-                          id: prescription.addition[b].id,
1873
-                          item_name: prescription.addition[b].item_name,
1874
-                          price: prescription.addition[b].price,
1875
-                          count: prescription.addition[b].count,
1876
-                          item_id: prescription.addition[b].item_id
1877
-                        }
1878
-                        tempAddition.push(obj)
1879
-                      }
1870
+                      // for (let b = 0; b < prescription.addition.length; b++) {
1871
+                      //   let obj = {
1872
+                      //     id: prescription.addition[b].id,
1873
+                      //     item_name: prescription.addition[b].item_name,
1874
+                      //     price: prescription.addition[b].price,
1875
+                      //     count: prescription.addition[b].count,
1876
+                      //     item_id: prescription.addition[b].item_id
1877
+                      //   }
1878
+                      //   tempAddition.push(obj)
1879
+                      // }
1880 1880
 
1881 1881
                       var preTime = ''
1882 1882
 
@@ -2366,16 +2366,16 @@
2366 2366
                       }
2367 2367
 
2368 2368
                       //附加收费
2369
-                      for (let b = 0; b < prescription.addition.length; b++) {
2370
-                        let obj = {
2371
-                          id: prescription.addition[b].id,
2372
-                          item_name: prescription.addition[b].item_name,
2373
-                          price: prescription.addition[b].price,
2374
-                          count: prescription.addition[b].count,
2375
-                          item_id: prescription.addition[b].item_id
2376
-                        }
2377
-                        tempAddition.push(obj)
2378
-                      }
2369
+                      // for (let b = 0; b < prescription.addition.length; b++) {
2370
+                      //   let obj = {
2371
+                      //     id: prescription.addition[b].id,
2372
+                      //     item_name: prescription.addition[b].item_name,
2373
+                      //     price: prescription.addition[b].price,
2374
+                      //     count: prescription.addition[b].count,
2375
+                      //     item_id: prescription.addition[b].item_id
2376
+                      //   }
2377
+                      //   tempAddition.push(obj)
2378
+                      // }
2379 2379
 
2380 2380
                       var preTime = ''
2381 2381
 
@@ -2844,16 +2844,16 @@
2844 2844
                     }
2845 2845
 
2846 2846
                     //附加收费
2847
-                    for (let b = 0; b < prescription.addition.length; b++) {
2848
-                      let obj = {
2849
-                        id: prescription.addition[b].id,
2850
-                        item_name: prescription.addition[b].item_name,
2851
-                        price: prescription.addition[b].price,
2852
-                        count: prescription.addition[b].count,
2853
-                        item_id: prescription.addition[b].item_id
2854
-                      }
2855
-                      tempAddition.push(obj)
2856
-                    }
2847
+                    // for (let b = 0; b < prescription.addition.length; b++) {
2848
+                    //   let obj = {
2849
+                    //     id: prescription.addition[b].id,
2850
+                    //     item_name: prescription.addition[b].item_name,
2851
+                    //     price: prescription.addition[b].price,
2852
+                    //     count: prescription.addition[b].count,
2853
+                    //     item_id: prescription.addition[b].item_id
2854
+                    //   }
2855
+                    //   tempAddition.push(obj)
2856
+                    // }
2857 2857
 
2858 2858
                     var preTime = ''
2859 2859
 
@@ -3382,16 +3382,16 @@
3382 3382
                       }
3383 3383
 
3384 3384
                       //附加收费
3385
-                      for (let b = 0; b < prescription.addition.length; b++) {
3386
-                        let obj = {
3387
-                          id: prescription.addition[b].id,
3388
-                          item_name: prescription.addition[b].item_name,
3389
-                          price: prescription.addition[b].price,
3390
-                          count: prescription.addition[b].count,
3391
-                          item_id: prescription.addition[b].item_id
3392
-                        }
3393
-                        tempAddition.push(obj)
3394
-                      }
3385
+                      // for (let b = 0; b < prescription.addition.length; b++) {
3386
+                      //   let obj = {
3387
+                      //     id: prescription.addition[b].id,
3388
+                      //     item_name: prescription.addition[b].item_name,
3389
+                      //     price: prescription.addition[b].price,
3390
+                      //     count: prescription.addition[b].count,
3391
+                      //     item_id: prescription.addition[b].item_id
3392
+                      //   }
3393
+                      //   tempAddition.push(obj)
3394
+                      // }
3395 3395
 
3396 3396
                       var preTime = ''
3397 3397
 
@@ -3950,16 +3950,16 @@
3950 3950
                       }
3951 3951
 
3952 3952
                       //附加收费
3953
-                      for (let b = 0; b < prescription.addition.length; b++) {
3954
-                        let obj = {
3955
-                          id: prescription.addition[b].id,
3956
-                          item_name: prescription.addition[b].item_name,
3957
-                          price: prescription.addition[b].price,
3958
-                          count: prescription.addition[b].count,
3959
-                          item_id: prescription.addition[b].item_id
3960
-                        }
3961
-                        tempAddition.push(obj)
3962
-                      }
3953
+                      // for (let b = 0; b < prescription.addition.length; b++) {
3954
+                      //   let obj = {
3955
+                      //     id: prescription.addition[b].id,
3956
+                      //     item_name: prescription.addition[b].item_name,
3957
+                      //     price: prescription.addition[b].price,
3958
+                      //     count: prescription.addition[b].count,
3959
+                      //     item_id: prescription.addition[b].item_id
3960
+                      //   }
3961
+                      //   tempAddition.push(obj)
3962
+                      // }
3963 3963
 
3964 3964
                       var preTime = ''
3965 3965
 
@@ -4623,8 +4623,8 @@
4623 4623
       // this.other_sick = this.getDictionaryDataConfig('system', 'other_sick_history')
4624 4624
       let tableHeight = document.body.clientHeight - 263
4625 4625
       this.tableHeight = tableHeight
4626
-      this.org_id = this.$store.getters.xt_user.template_info.org_id 
4627
-     
4626
+      this.org_id = this.$store.getters.xt_user.template_info.org_id
4627
+
4628 4628
     },
4629 4629
 
4630 4630
     mounted() {

+ 4 - 1
src/xt_pages/outpatientDoctorStation/template/printOne.vue Dosyayı Görüntüle

@@ -2,7 +2,10 @@
2 2
   <div id='prescriptionPrint'>
3 3
     <div v-for="(item,index) in advicePrint" :key="index">
4 4
       <div id='prescription-print' class="prescription-print" style="page-break-after: always;">
5
-          <div class="printTitle">{{orgname}}处方笺</div>
5
+          <div class="printTitle" v-if="prescriptions[0].med_type == '1111'">{{orgname}}第一类精神处方笺</div>
6
+          <div class="printTitle"  v-if="prescriptions[0].med_type == '1112'">{{orgname}}第二类精神处方笺</div>
7
+          <div class="printTitle" v-if="prescriptions[0].med_type != '1111' && prescriptions[0].med_type != '1112'">{{orgname}}处方笺</div>
8
+          <!--<div class="printTitle">{{orgname}}处方笺</div>-->
6 9
           <div class="infoTitle">
7 10
               <p>姓名:{{item.patient.name?item.patient.name:""}}</p>
8 11
               <p>性别:

+ 2 - 1
src/xt_pages/qcd/treatmentControlAnalysis/components/TimePersonal.vue Dosyayı Görüntüle

@@ -469,10 +469,11 @@ export default {
469 469
          this.DialysisData[i].index = i+1
470 470
          this.DialysisData[i].dialysis_mode = this.getModeIdCount(this.DialysisData[i].patient_id)
471 471
          this.DialysisData[i].age = this.getAge(this.DialysisData[i].id_card_no)
472
+         this.DialysisData[i].total_count = this.getDialysisCount(this.DialysisData[i].patient_id)
472 473
        }
473 474
        import('@/vendor/Export2Excel').then(excel => {
474 475
         const tHeader = ['序号','姓名', '年龄', '透析号','透析模式','透析总次数']
475
-        const filterVal = ['index','name', 'age', 'dialysis_no','dialysis_mode','total_dialysis']
476
+        const filterVal = ['index','name', 'age', 'dialysis_no','dialysis_mode','total_count']
476 477
         
477 478
         const data = this.formatJson(filterVal, this.DialysisData)
478 479
        

+ 11 - 2
src/xt_pages/stock/Dialog/goodInfoDailog.vue Dosyayı Görüntüle

@@ -45,8 +45,8 @@
45 45
               </el-select>
46 46
             </el-form-item>
47 47
 
48
-           
49
-        
48
+
49
+
50 50
             <el-form-item label="规格型号 : " prop="specification_name">
51 51
               <el-input v-model="form.specification_name" placeholder="" maxlength="30"></el-input>
52 52
             </el-form-item>
@@ -191,6 +191,12 @@
191 191
            </el-form-item>
192 192
 
193 193
 
194
+            <el-form-item label="注册编码:" >
195
+              <el-input v-model="form.register_number" style="width:180px"></el-input>
196
+            </el-form-item>
197
+
198
+
199
+
194 200
             <el-form-item label="备注 : " prop="name" style="width:100%;">
195 201
               <el-input type="textarea" :rows="2" placeholder="请输入内容" v-model="form.remark"></el-input>
196 202
             </el-form-item>
@@ -359,6 +365,7 @@
359 365
           default_count_unit:"",
360 366
           min_unit:"",
361 367
           total:"",
368
+          register_number:"",
362 369
         },
363 370
 
364 371
         rules: {
@@ -576,6 +583,8 @@
576 583
         form["packing_price"] = this.form.packing_price
577 584
         form["default_count_unit"] = this.form.default_count_unit
578 585
         form["total"] = this.form.total
586
+        form["register_number"] = this.form.register_number
587
+
579 588
 
580 589
         return form
581 590
       }, changeSelected: function(val) {

+ 4 - 2
src/xt_pages/stock/drugs/inventoryDetails.vue Dosyayı Görüntüle

@@ -18,6 +18,9 @@
18 18
                 >搜索</el-button
19 19
                 >
20 20
             </div>
21
+            <div>
22
+               <el-button size="small" type="primary" @click="print">盘点模版打印</el-button>
23
+            </div>
21 24
             <!-- <div>
22 25
                 <el-button size="small" type="primary" @click="print">打印</el-button>
23 26
                 <el-button size="small" type="primary">导出</el-button>
@@ -122,8 +125,7 @@ export default {
122 125
           this.getlist()
123 126
         },
124 127
         print(){
125
-            this.$router.push({path:'/stock/drugs/inventoryPrint'})
126
-            
128
+            this.$router.push({path:'/stock/drugs/inventoryPrint'}) 
127 129
         },
128 130
         handleSizeChange(val){
129 131
          this.limit = val

+ 53 - 38
src/xt_pages/stock/drugs/inventoryPrint.vue Dosyayı Görüntüle

@@ -10,40 +10,34 @@
10 10
         </div>
11 11
         <div class="app-container" style="background-color: white;">
12 12
             <div id="print_content">
13
-                <div class="printTitle">库存盘点核单数</div>
14
-                <div style="float:right;">调价日期:</div>
13
+               
15 14
                 <table class="printTable" border="1">
16 15
                     <tr>
17 16
                         <td>序号</td>
18
-                        <td>药品名称</td>
17
+                        <td>名称</td>
19 18
                         <td>规格</td>
19
+                        <td>批号</td>
20
+                        <td>生产日期</td>
21
+                        <td>有效日期</td>
22
+                        <td>生产企业</td>
23
+                        <td>国药准字</td>
20 24
                         <td>单位</td>
21
-                        <td>零售价</td>
22
-                        <td>当前库存</td>
23
-                        <td>盘点数</td>
24
-                        <td>亏损金额</td>
25
+                        <td>库存量</td>
25 26
                     </tr>
26 27
                     <tr v-for="(item,index) in tableData" :key="index">
27 28
                         <td>{{index+1}}</td>
28 29
                         <td>{{item.drug_name}}</td>
29
-                        <td>{{item.warehouseing_unit}}</td>
30
-                        <td>{{item.retail_price}}</td>
31
-                        <td>{{item.total}}</td>
32
-                        <td>{{item.count}}</td>
33
-                        <td></td>       
30
+                        <td>{{item.specification_name}}</td>
31
+                        <td>{{item.batch_number}}</td>
32
+                        <td>{{getTime(item.product_date)}}</td>
33
+                        <td>{{getTime(item.product_date)}}</td>
34
+                        <td>{{getManufacturerName(item.manufacturer)}}</td>
35
+                        <td>{{item.number}}</td>
36
+                        <td>{{item.max_unit}}</td>  
37
+                        <td></td>     
34 38
                     </tr>
35 39
                 </table>
36
-                <div style="margin-top:10px;">
37
-                    <span>合计:库存金额</span>
38
-                    <span>    库存盘点金额:亏损总计</span>
39
-                </div>
40
-                <div style="display:flex;float:right;margin-top:10px;border-top:1px solid #000;padding-top:10px;width:100%;">
41
-                    <div style="width:80px;">审批:</div><div style="width:100px;"></div>
42
-                    <div style="width:100px;">药材主任:</div><div style="width:60px;"></div>
43
-                    <div style="width:50px;">会计:</div><div style="width:100px;"></div>
44
-                    <div style="width:50px;">审核:</div><div style="width:100px;"></div>
45
-                    <div style="width:70px;">制单人:</div><div style="width:100px;"></div>
46
-                </div>
40
+              
47 41
             </div>
48 42
         </div>
49 43
     </div>
@@ -53,7 +47,7 @@
53 47
 import BreadCrumb from '@/xt_pages/components/bread-crumb'
54 48
 const moment = require('moment');
55 49
 import { uParseTime } from '@/utils/tools'
56
-import { getDrugInventoryPrintList } from "@/api/drug/drug"
50
+import { getInventoryModeList } from "@/api/drug/drug"
57 51
 export default {
58 52
     components:{
59 53
         BreadCrumb
@@ -66,7 +60,8 @@ export default {
66 60
             { path: false, name: '药品盘点打印' },
67 61
           ],
68 62
           ids:"",
69
-          tableData:[]
63
+          tableData:[],
64
+          manufacturerList:[],
70 65
         }
71 66
     },
72 67
     methods:{
@@ -80,22 +75,42 @@ export default {
80 75
             scanStyles: false
81 76
             })
82 77
         },
83
-        getDrugInventoryPrintList(ids){
84
-             var params = {
85
-                 ids:ids,
78
+        getlist(){
79
+          getInventoryModeList().then(response=>{
80
+             if(response.data.state == 1){
81
+               var list = response.data.data.list
82
+               console.log("list23232323",list)
83
+               this.manufacturerList = response.data.data.manufacturerList
84
+               for(let i=0;i<list.length;i++){
85
+                 list[i].specification_name = ""
86
+                 list[i].specification_name = list[i].dose +list[i].dose_unit+"*"+list[i].min_number+ list[i].min_unit+"/"+list[i].max_unit
87
+               }
88
+               this.tableData = list
86 89
              }
87
-          console.log("parasm2232",params)
88
-          getDrugInventoryPrintList(params).then(response=>{
89
-              if(response.data.state == 1){
90
-                 this.tableData = response.data.data.list
91
-              }
92
-          })    
90
+          })
91
+        },
92
+     getTime(val) {
93
+         if(val < 0){
94
+           return ""
95
+         }
96
+         if(val == ""){
97
+          return ""
98
+         }else {
99
+          return uParseTime(val, '{y}-{m}-{d}')
100
+         }
101
+      },
102
+      getManufacturerName(id){
103
+        var name = ""
104
+        for(let i=0;i<this.manufacturerList.length;i++){
105
+          if(id == this.manufacturerList[i].id){
106
+             name = this.manufacturerList[i].manufacturer_name
107
+          }
108
+          return name
93 109
         }
94
-
95
-    },
110
+      }
111
+     },
96 112
     created(){
97
-      this.ids = this.$route.query.ids
98
-      this.getDrugInventoryPrintList(this.ids)
113
+      this.getlist()
99 114
     }
100 115
 }
101 116
 </script>

+ 1 - 1
src/xt_pages/stock/inventoryPrint.vue Dosyayı Görüntüle

@@ -33,7 +33,7 @@
33 33
                         <td>{{getTime(item.expiry_date)}}</td>
34 34
                         <td>{{getManufacturerName(item.manufacturer)}}</td>
35 35
                         <td>{{item.remark}}</td>
36
-                        <td>{{item.warehousing_unit}}</td>
36
+                        <td>{{item.packing_unit}}</td>
37 37
                         <td></td>
38 38
                     </tr>
39 39
                 </table>

+ 3 - 1
src/xt_pages/user/doctorAdvice.vue Dosyayı Görüntüle

@@ -4355,7 +4355,9 @@ export default {
4355 4355
     },
4356 4356
     // 获取勾选中的行
4357 4357
     getPrintInfo(ids) {
4358
-      getPrintInfo({ ids: ids}).then(response => {
4358
+      console.log("23332332323232",this.adviceType,"33333333",this.stopType)
4359
+     
4360
+      getPrintInfo({ids:ids},this.adviceType,this.stopType).then(response => {
4359 4361
         if (response.data.state === 1) {
4360 4362
           var doctoradvice = response.data.data.doctoradvice;
4361 4363
           console.log("doctoradvice", doctoradvice);

+ 1 - 0
src/xt_pages/user/patients.vue Dosyayı Görüntüle

@@ -1336,6 +1336,7 @@
1336 1336
         return new Date(time).getTime() / 1000
1337 1337
       },
1338 1338
       search() {
1339
+        this.listQuery.limit = 700
1339 1340
         this.listQuery.keywords = this.searchKey
1340 1341
         this.getList()
1341 1342
       },

+ 2 - 2
src/xt_pages/workforce/components/nextTableWeeks.vue Dosyayı Görüntüle

@@ -148,10 +148,10 @@
148 148
           <span v-if="org_id!=9987" >
149 149
              <span v-if="scope.row.dialysissolution.dialyzer_perfusion_apparatus!=''">
150 150
                 <span v-if="org_id!=10131&& org_id !=10215">{{ scope.row.dialysissolution.dialyzer_perfusion_apparatus }}</span>
151
-                <span v-if="org_id==10131 || org_id == 10215">{{getDialysisDialyszerPerfusionOne(scope.row.patient_id,scope.row.mode_id,scope.row.solution)  }}</span>
151
+                <span v-if="org_id==10131 || org_id == 10215">{{scope.row.dialysissolution.dialyzer_perfusion_apparatus}}</span>
152 152
               
153 153
               </span>
154
-             <span v-if="scope.row.dialysissolution.dialyzer_perfusion_apparatus =='' && scope.row.dialysissolution.length>0 ">{{ getDialysisDialyszerPerfusion(scope.row.patient_id) }}</span>
154
+             <span v-if="scope.row.dialysissolution.dialyzer_perfusion_apparatus =='' && scope.row.dialysissolution.length>0 ">{{ scope.row.dialysissolution.dialysis_dialyszers}}</span>
155 155
           </span>
156 156
           {{scope.row.dialysissolution.dialysis_dialyszers}}
157 157
          <span v-if="scope.row.dialysissolution.dialysis_dialyszers!='' && scope.row.dialysissolution.dialysis_irrigation!=''">/</span>

+ 2 - 2
src/xt_pages/workforce/components/tableWeeks.vue Dosyayı Görüntüle

@@ -224,9 +224,9 @@
224 224
                 <span>{{ scope.row.prescription.dialyzer_perfusion_apparatus }}</span>
225 225
           </span>
226 226
 
227
-          <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus==''&& scope.row.dialysissolution.id > 0 ">{{getDialysisDialyszerPerfusion(scope.row.patient_id)}}</span>
227
+          <span v-if="scope.row.prescription.dialyzer_perfusion_apparatus==''&& scope.row.dialysissolution.id > 0 ">{{scope.row.dialysissolution.dialysis_dialyszers}}</span>
228 228
           </span>
229
-                    <span v-if="org_id==10131 || org_id == 10215 || org_id == 10233">{{getDialysisDialyszerPerfusionOne(scope.row.patient_id,scope.row.mode_id,scope.row.solution)}}</span>
229
+                    <span v-if="org_id==10131 || org_id == 10215 || org_id == 10233">{{scope.row.dialysissolution.dialyzer_perfusion_apparatus}}</span>
230 230
                     {{scope.row.prescription.dialysis_dialyszers}}
231 231
                     <span v-if="scope.row.prescription.dialysis_dialyszers!='' && scope.row.prescription.dialysis_irrigation!=''">/</span>
232 232
                     <span v-if="scope.row.prescription.dialysis_irrigation!=''">{{scope.row.prescription.dialysis_irrigation}}</span>

+ 2 - 2
src/xt_pages/workforce/next_remind_print.vue Dosyayı Görüntüle

@@ -64,9 +64,9 @@
64 64
                  <span v-if="org_id!=9987">
65 65
                      <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus!=''">
66 66
                         <span v-if="org_id!=10131 && org_id!=10215">{{main_collection.prescription.dialyzer_perfusion_apparatus}}</span>
67
-                         <span v-if="org_id==10131 || org_id==9671 || org_id == 10215">{{getDialysisDialyszerPerfusionOne(main_collection.patient_id,main_collection.mode_id,main_collection.solution)  }}</span>
67
+                         <span v-if="org_id==10131 || org_id==9671 || org_id == 10215">{{main_collection.dialysissolution.dialyzer_perfusion_apparatus }}</span>
68 68
                      </span>
69
-                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus ==''&& main_collection.dialysissolution.length>0">{{getDialysisDialyszerPerfusion(main_collection.patient_id)}}</span>
69
+                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus ==''&& main_collection.dialysissolution.length>0">{{main_collection.dialysissolution.dialysis_dialyszers}}</span>
70 70
                   </span>
71 71
                   {{main_collection.prescription.dialysis_dialyszers}}
72 72
                   <span v-if="main_collection.prescription.dialysis_dialyszers!='' && main_collection.prescription.dialysis_irrigation!=''">/</span>

+ 2 - 2
src/xt_pages/workforce/remind_print.vue Dosyayı Görüntüle

@@ -65,9 +65,9 @@
65 65
                      <span > 
66 66
                        <span v-if="org_id!=10131 && org_id!=10215 && org_id!=10233 && main_collection.prescription.dialyzer_perfusion_apparatus!=''">{{main_collection.prescription.dialyzer_perfusion_apparatus}}</span> 
67 67
                      
68
-                       <span v-if="org_id==10131 || org_id==9671 || org_id == 10215 || org_id == 10233">{{getDialysisDialyszerPerfusionOne(main_collection.patient_id,main_collection.mode_id,main_collection.solution)}}</span>
68
+                       <span v-if="org_id==10131 || org_id==9671 || org_id == 10215 || org_id == 10233">{{main_collection.dialysissolution.dialyzer_perfusion_apparatus}}</span>
69 69
                       </span>
70
-                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus ==''&& main_collection.dialysissolution.length>0">{{getDialysisDialyszerPerfusion(main_collection.patient_id)}}</span> 
70
+                     <span v-if="main_collection.prescription.dialyzer_perfusion_apparatus ==''&& main_collection.dialysissolution.length>0">{{main_collection.dialysissolution.dialyzer_perfusion_apparatus}}</span> 
71 71
                   </span>
72 72
                     {{main_collection.prescription.dialysis_dialyszers}}
73 73
                   <span v-if="main_collection.prescription.dialysis_dialyszers!=''&& main_collection.prescription.dialysis_irrigation!='' ">/</span>