Ver código fonte

长沙南雅打印单问题修改

28169 1 ano atrás
pai
commit
d471ce216e

+ 4 - 3
src/xt_pages/dialysis/batch_print/batch_print_order_fortyThree.vue Ver arquivo

@@ -328,7 +328,7 @@
328 328
                         <td width="60" style="height:20px;line-height:20px">静脉压<br />mmHg</td>
329 329
                         <td width="60" style="height:20px;line-height:20px">动脉压<br />mmHg</td>
330 330
                         <td width="60" style="height:20px;line-height:20px">跨膜压<br />mmHg</td>
331
-                        <td width="60" style="height:20px;line-height:20px">温度<br />°C</td>
331
+                        <!-- <td width="60" style="height:20px;line-height:20px">温度<br />°C</td> -->
332 332
                         <td width="60" style="height:20px;line-height:20px">超滤率<br />ml/h</td>
333 333
                         <td width="60" style="height:20px;line-height:20px">超滤量<br />ml</td>
334 334
 <!--                        <td width="60" style="height:20px;line-height:20px" v-if="record.prescription.mode_id == 2">置换率<br /><br />ml/h</td>-->
@@ -352,7 +352,7 @@
352 352
                         <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.arterial_pressure ? monitor.arterial_pressure : "/" }}</span></td>
353 353
 
354 354
                         <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.transmembrane_pressure ? monitor.transmembrane_pressure : "/" }}</span></td>
355
-                        <td>&nbsp;<span v-if="monitor.operate_time">{{monitor.dialysate_temperature ? monitor.dialysate_temperature : '/'}}</span></td>
355
+                        <!-- <td>&nbsp;<span v-if="monitor.operate_time">{{monitor.dialysate_temperature ? monitor.dialysate_temperature : '/'}}</span></td> -->
356 356
                         <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.ultrafiltration_rate ? monitor.ultrafiltration_rate : '/'}}</span></td>
357 357
                         <td>&nbsp;<span v-if="monitor.operate_time">{{ monitor.ultrafiltration_volume ? monitor.ultrafiltration_volume : "/" }}</span></td>
358 358
 <!--                        <td v-if="record.prescription.mode_id == 2">&nbsp;<span v-if="monitor.operate_time">{{ monitor.replacement_rate ? monitor.replacement_rate : '/'}}</span></td>-->
@@ -716,6 +716,7 @@ export default {
716 716
       .then(rs => {
717 717
         var resp = rs.data
718 718
         if (resp.state == 1) {
719
+          this.loading = false
719 720
           this.org_template_info = resp.data.templateInfo
720 721
 
721 722
           this.records = this.records.concat(resp.data.schedules)
@@ -887,7 +888,7 @@ export default {
887 888
           this.adminSign = name
888 889
           console.log('name是', name)
889 890
           console.log('记录', this.records)
890
-          this.loading = false
891
+          
891 892
         } else {
892 893
           this.loading = false
893 894
           this.$message.error(resp.msg)

+ 2 - 2
src/xt_pages/dialysis/bloodPresssWatch.vue Ver arquivo

@@ -1873,8 +1873,8 @@ export default {
1873 1873
 
1874 1874
 
1875 1875
               this.SchedualPatientsTableData.push(SchedualPatientsTable);
1876
-              console.log("wode数据",(-100).toString())
1877
-              console.log("数据哦哦😯噢232o",this.SchedualPatientsTableData)
1876
+              // console.log("wode数据",(-100).toString())
1877
+              // console.log("数据哦哦😯噢232o",this.SchedualPatientsTableData)
1878 1878
 
1879 1879
             }
1880 1880
           }

+ 10 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Ver arquivo

@@ -2327,6 +2327,9 @@
2327 2327
               this.dialysisPrescription.bicarbonate = 31.1
2328 2328
               this.dialysisPrescription.dialysate_flow = 500
2329 2329
             }
2330
+            if(this.$store.getters.xt_user.org.id == 10447){
2331
+              this.dialysisPrescription.dialysate_flow = 500
2332
+            }
2330 2333
         }
2331 2334
         if (this.predialysis == null || this.predialysis.id == 0) {
2332 2335
           
@@ -3546,6 +3549,7 @@
3546 3549
           this.dialysisPrescription.displace_liqui_value = ""
3547 3550
           this.dialysisPrescription.displace_liqui_part = ""
3548 3551
         }
3552
+        
3549 3553
         const ParamsQuery = {}
3550 3554
         ParamsQuery['patient_id'] = this.$route.query.patient_id
3551 3555
         ParamsQuery['mode_id'] = id
@@ -3680,6 +3684,12 @@
3680 3684
           this.zhiShow = true
3681 3685
           this.huShow = true
3682 3686
           this.totalShow = true
3687
+
3688
+          //针对新化博翔
3689
+          if(this.$store.getters.xt_user.template_info.org_id ==10447){
3690
+             this.dialysisPrescription.displace_liqui_part = 1
3691
+             this.dialysisPrescription.displace_liqui_value = 35
3692
+          }
3683 3693
         }
3684 3694
 
3685 3695
       },

+ 26 - 2
src/xt_pages/dialysis/template/DialysisPrintOrderSix.vue Ver arquivo

@@ -892,7 +892,7 @@
892 892
                         class="under_line"
893 893
                         style="width: 100px; text-align: center"
894 894
                       >
895
-                        <span v-if="org_id == 10290 || org_id == 10318 || org_id== 10217 || org_id== 10188 || org_id== 9956">{{
895
+                        <span v-if="org_id == 10290 || org_id == 10318 || org_id== 10217 || org_id== 10188 || org_id== 9956 ">{{
896 896
                           lastafterdialysis.weight_after
897 897
                         }}</span>
898 898
                         <span v-if="org_id != 10290 && org_id != 10318  && org_id!= 10217 && org_id!=10188 && org_id!=9956">{{
@@ -910,7 +910,7 @@
910 910
                         class="under_line"
911 911
                         style="width: 70px; text-align: center"
912 912
                       >
913
-                        {{
913
+                      <span v-if="org_id !=10447 && org_id != 9675">{{
914 914
                           predialysis.weight_before
915 915
                             ? parseFloat(
916 916
                                 predialysis.weight_before -
@@ -918,6 +918,17 @@
918 918
                               ).toFixed(1)
919 919
                             : "/"
920 920
                         }}
921
+                      </span>
922
+                       <span v-if="org_id==10447 || org_id == 9675">
923
+                        {{
924
+                          predialysis.weight_before
925
+                            ? parseFloat(
926
+                                predialysis.weight_before -
927
+                                  predialysis.additional_weight
928
+                              ).toFixed(1)
929
+                            : "未称重"
930
+                        }}
931
+                       </span>
921 932
                       </div>
922 933
                       kg
923 934
                     </div>
@@ -2160,6 +2171,7 @@
2160 2171
                         class="under_line"
2161 2172
                         style="width: 70px; text-align: center"
2162 2173
                       >
2174
+                      <span v-if="org_id!=9675&&org_id!=10447">
2163 2175
                         {{
2164 2176
                           afterdialysis.weight_after
2165 2177
                             ? parseFloat(
@@ -2168,6 +2180,18 @@
2168 2180
                               ).toFixed(1)
2169 2181
                             : "/"
2170 2182
                         }}
2183
+                      </span>
2184
+                      <span v-if="org_id ==9675 || org_id==10447">
2185
+                        {{
2186
+                          afterdialysis.weight_after
2187
+                            ? parseFloat(
2188
+                                afterdialysis.weight_after -
2189
+                                  afterdialysis.additional_weight
2190
+                              ).toFixed(1)
2191
+                            : "未称重"
2192
+                        }}
2193
+                      </span>
2194
+                       
2171 2195
                       </div>
2172 2196
                       kg
2173 2197
                     </div>

+ 5 - 3
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue Ver arquivo

@@ -508,6 +508,7 @@
508 508
       additions: Array,
509 509
       patientInfo: Object,
510 510
       hisPatientInfo: Object,
511
+      goodOutOpen:Object,
511 512
       prescriptions: Array,
512 513
       record_date: String,
513 514
       search_keyword: '',
@@ -2547,7 +2548,7 @@
2547 2548
                           }
2548 2549
                         }
2549 2550
                       }
2550
-                      console.log("new233223322323",newArr)
2551
+                     // console.log("new233223322323",newArr)
2551 2552
                       if(newArr.length > 0){
2552 2553
                         for(let i=0;i<newArr.length;i++){
2553 2554
                           if(newArr[i].is_user!=1){
@@ -2565,8 +2566,9 @@
2565 2566
                     }
2566 2567
                   }
2567 2568
                 }
2568
-
2569
-               if(this.org_id == 9671 || this.org_id == 9675 || this.org_id == 9679){
2569
+               
2570
+              //  console.log("good_isopen--------------------",this.goodOutOpen)
2571
+               if(this.goodOutOpen.is_open == 1){
2570 2572
                   var project_arr = []
2571 2573
                   //耗材
2572 2574
                   for(let i=0;i<this.prescriptions.length;i++){

+ 6 - 1
src/xt_pages/outpatientDoctorStation/doctorDesk.vue Ver arquivo

@@ -165,7 +165,7 @@
165 165
                            :org_id="org_id"
166 166
                            ref="prescriptions" :prescriptions="prescriptions" :patientInfo="patientInfo"
167 167
                            v-on:getSunziValue = "getSunziValue"
168
-                           :hisPatientInfo="hisPatientInfo" @event1="changetwo($event)" @editKeepLoad="editKeepLoad"
168
+                           :hisPatientInfo="hisPatientInfo" :goodOutOpen="goodOutOpen" @event1="changetwo($event)" @editKeepLoad="editKeepLoad"
169 169
                            v-if="titleType == '电子处方'" style="flex:1;"></desk-prescription>
170 170
 
171 171
 
@@ -607,6 +607,7 @@ export default {
607 607
       printList:[],
608 608
       printDate:'',
609 609
       anticoagulants_confit:null,
610
+      goodOutOpen:{}
610 611
     }
611 612
   },
612 613
 
@@ -1433,6 +1434,10 @@ export default {
1433 1434
           this.sick = response.data.data.sick
1434 1435
           this.diagnoses = response.data.data.diagnose
1435 1436
           this.additions = response.data.data.additions
1437
+          
1438
+          var goodOutOpen = response.data.data.goodOutOpen
1439
+          console.log("goodOutOpen----------------------",goodOutOpen)
1440
+          this.goodOutOpen = goodOutOpen
1436 1441
 
1437 1442
         }
1438 1443
       })

+ 4 - 0
src/xt_pages/stock/detail/stockInDetail.vue Ver arquivo

@@ -460,10 +460,12 @@ export default {
460 460
     handleSizeChange(val) {
461 461
       this.limit = val;
462 462
       this.GetCancelStock();
463
+      this.getGoodDetailPrintList()
463 464
     },
464 465
     handleCurrentChange(val) {
465 466
       this.page = val;
466 467
       this.GetCancelStock();
468
+      this.getGoodDetailPrintList()
467 469
     },
468 470
     startTimeChange(val) {
469 471
 
@@ -474,6 +476,7 @@ export default {
474 476
       } else {
475 477
 
476 478
         this.GetCancelStock();
479
+        this.getPrintStockGood()
477 480
 
478 481
       }
479 482
     },
@@ -485,6 +488,7 @@ export default {
485 488
       } else {
486 489
 
487 490
         this.GetCancelStock();
491
+        this.getPrintStockGood()
488 492
       }
489 493
     },
490 494
     getTimestamp(time) {

+ 8 - 4
src/xt_pages/stock/detail/stockOutDetail.vue Ver arquivo

@@ -791,8 +791,8 @@ export default {
791 791
       },
792 792
 
793 793
     exportList(){
794
-      console.log("shij232333",this.tableOut)
795
-     
794
+      
795
+       console.log("到处数据------------------------",this.tableOut)
796 796
        for(let i=0;i<this.tableOut.length;i++){
797 797
         this.tableOut[i].index = i+1
798 798
         this.tableOut[i].good_name = this.tableOut[i].good_name
@@ -820,6 +820,8 @@ export default {
820 820
           this.tableOut[i].total_price = (this.getWarehouseOut(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
821 821
         }else if(this.orgId == 10188){
822 822
           this.tableOut[i].total_price = (this.getWarehouseOut(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
823
+        }else if(this.orgId == 10402){
824
+          this.tableOut[i].total_price = (this.getWarehouseOut(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
823 825
         }else{
824 826
           this.tableOut[i].total_price = (this.getStockCount(this.tableOut[i].good_id) * this.tableOut[i].retail_price).toFixed(2)
825 827
         }
@@ -828,11 +830,13 @@ export default {
828 830
 
829 831
          this.tableOut[i].out_count = this.getMySelfCount(this.tableOut[i].good_id)
830 832
         }
831
-        if(this.orgId == 10210 || this.orgId == 9675  || this.orgId == 9956 || this.orgId == 10217 || this.orgId == 10188 || this.orgId == 10191){
833
+        //手动自动出库
834
+        if(this.orgId == 10210 || this.orgId == 9675  || this.orgId == 9956 || this.orgId == 10217 || this.orgId == 10188 || this.orgId == 10191 || this.orgId == 10402){
832 835
           this.tableOut[i].out_count = this.getWarehouseOut(this.tableOut[i].good_id)
833 836
           console.log("out_count232233232332",this.tableOut[i].out_count)
834 837
         }
835
-        if(this.orgId!=10265 && this.orgId !=10215  && this.orgId != 9671 &&this.orgId!=10210&&this.orgId!=9675 && this.orgId!=9956&& this.orgId!=10217 && this.orgId!=10188 && this.orgId!=10191 && this.orgId!=9919){
838
+        //自动出库
839
+        if(this.orgId!=10265 && this.orgId !=10215  && this.orgId != 9671 &&this.orgId!=10210&&this.orgId!=9675 && this.orgId!=9956&& this.orgId!=10217 && this.orgId!=10188 && this.orgId!=10191 && this.orgId!=9919  && this.orgId!=10402){
836 840
           this.tableOut[i].out_count = this.getStockCount(this.tableOut[i].good_id)
837 841
         }
838 842
        }

+ 1 - 5
src/xt_pages/stock/stockFlow.vue Ver arquivo

@@ -132,11 +132,7 @@
132 132
            </template>
133 133
         </el-table-column>
134 134
 
135
-        <el-table-column prop="drug_name" label="剩余库存" align="center">
136
-           <template slot-scope="scope">
137
-             <span > {{scope.row.over_count}}</span>
138
-           </template>
139
-        </el-table-column>
135
+     
140 136
        </el-table>
141 137
        
142 138
       <el-pagination

+ 13 - 13
src/xt_permission.js Ver arquivo

@@ -12,19 +12,19 @@ const permissionWhiteList = loginWhiteList.concat(['/']) // 权限验证白名
12 12
 
13 13
 router.beforeEach((to, from, next) => {
14 14
   // 线上注释
15
-  // if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
-  //   store.dispatch('VerifyConfigList', []).then(() => {
17
-  //     next()
18
-  //   })
19
-  // }
20
-  // if (store.getters.permission_routers === undefined) {
21
-  //   store.dispatch('xt_GenerateRoutes', []).then(() => {
22
-  //     next()
23
-  //   })
24
-  // } else {
25
-  //   next()
26
-  // }
27
-  // return
15
+  if (!store.getters.configlist || store.getters.configlist === undefined || store.getters.configlist.length <= 0) {
16
+    store.dispatch('VerifyConfigList', []).then(() => {
17
+      next()
18
+    })
19
+  }
20
+  if (store.getters.permission_routers === undefined) {
21
+    store.dispatch('xt_GenerateRoutes', []).then(() => {
22
+      next()
23
+    })
24
+  } else {
25
+    next()
26
+  }
27
+  return
28 28
   // 线上注释
29 29
   NProgress.start()
30 30
   // console.log(store.getters.current_role_urls.indexOf(to.path))