Browse Source

Merge remote-tracking branch 'origin/20230223_pc_vue_new_branch' into 20230223_pc_vue_new_branch

yq1 10 months ago
parent
commit
c93974d3a9

+ 8 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue View File

@@ -2771,6 +2771,14 @@ mu
2771 2771
             } else if (schedual.schedule_type == 3) {
2772 2772
               this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
2773 2773
             }
2774
+           }else if(this.$store.getters.xt_user.org.id == 9850){
2775
+              if (schedual.schedule_type == 1) {
2776
+              this.start_time = year + '-' + month + '-' + day + ' ' + '6:30'
2777
+            } else if (schedual.schedule_type == 2) {
2778
+              this.start_time = year + '-' + month + '-' + day + ' ' + '11:30'
2779
+            } else if (schedual.schedule_type == 3) {
2780
+              this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
2781
+            }
2774 2782
            }else if (this.$store.getters.xt_user.org.id == 10551){
2775 2783
             var date = new Date()
2776 2784
             var year = date.getFullYear()

+ 2 - 0
src/xt_pages/dialysis/details/dialysisMonitoring.vue View File

@@ -27,6 +27,7 @@
27 27
           <th v-if=" isShow('置换量') && ((template_id == 6 && org_id != 9919 && org_id !=10191 && org_id!=10478 && org_id!=10346 && org_id!=10517) || org_id == 9779 || template_id == 11 || template_id == 20 || template_id == 26 || template_id == 29 || template_id == 46 || template_id == 48 || template_id == 53 || template_id == 54 || template_id == 56 || this.$store.getters.xt_user.template_info.org_id == 10340 || this.$store.getters.xt_user.template_info.org_id == 10432  || this.$store.getters.xt_user.template_info.org_id == 10445 ) && org_id!=10558 && org_id!=10598  && org_id!=10414" width="92px"  > 置换量(ml)  </th>
28 28
           <th v-if=" isShow('置换量') && ((template_id != 6 || org_id == 9919 || org_id == 10191 || org_id == 10478 || org_id ==10346 || org_id ==10517) && org_id != 9779 && template_id != 11 && template_id != 20 && template_id != 26 && template_id != 29 && template_id != 46 && template_id != 48 && template_id != 53 && template_id != 54 && template_id != 56 && this.$store.getters.xt_user.template_info.org_id != 10340 && this.$store.getters.xt_user.template_info.org_id != 10432  && this.$store.getters.xt_user.template_info.org_id != 10445) || org_id == 10558 || org_id ==10598 || org_id ==10414" width="92px" > 置换量(L) </th>
29 29
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
30
+          <th v-if=" isShow('SpO₂') && org_id == 9829" width="92px" > SpO₂(%) </th>
30 31
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
31 32
           <th v-if="isShow('置换液流量') && template_id != 27 && template_id != 60" width="92px">置换液流量(ml/h)</th>
32 33
           <th v-if="isShow('置换液流量') && (template_id == 27 ||  template_id == 60)" width="92px">置换液流量(ml/min)</th>
@@ -73,6 +74,7 @@
73 74
           <td v-if="isShow('置换率')"> {{ monitor.replacement_rate ? monitor.replacement_rate : "" }} </td>
74 75
           <td v-if="isShow('置换量')"> {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }} </td>
75 76
           <td v-if="isShow('SpO₂')"> {{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "" }} </td>
77
+          <td v-if="isShow('SpO₂') && org_id == 9829" width="92px" >{{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "" }} </td>
76 78
           <td v-if="isShow('电导度')"> {{ monitor.conductivity ? monitor.conductivity : "" }} </td>
77 79
           <td v-if="isShow('置换液流量')"> {{ monitor.displacement_flow_quantity  ? monitor.displacement_flow_quantity : "" }} </td>
78 80
           <td v-if="isShow('透析液流量')"> {{ monitor.dialysate_flow  ? monitor.dialysate_flow : "" }} </td>

+ 3 - 1
src/xt_pages/stock/detail/stockOutDetail.vue View File

@@ -914,13 +914,15 @@ export default {
914 914
         this.tableOut[i].manufacturer_name = this.getManufacturerNameOne(this.tableOut[i].manufacturer)
915 915
        
916 916
         this.tableOut[i].dealer_name = this.getDealerNameOne(this.tableOut[i].dealer)
917
+
918
+        this.tableOut[i].order_time = this.start_time + " ~ " + this.end_time
917 919
        }
918 920
        console.log("retusoossoso",this.tableOut)
919 921
        
920 922
        import('@/vendor/Export2Excel').then(excel => {
921 923
        const tHeader = ['序号','耗材名称', '规格型号','生产厂商','进销商', '单位','数量','出货价','总价','出库时间','备注']
922 924
 
923
-       const filterVal = ['index','good_name', 'specification_name', 'manufacturer_name','dealer_name','packing_unit','out_count','packing_price','total_price','ctime','remark']
925
+       const filterVal = ['index','good_name', 'specification_name', 'manufacturer_name','dealer_name','packing_unit','out_count','packing_price','total_price','order_time','remark']
924 926
 
925 927
        const data = this.formatJson(filterVal, this.tableOut)
926 928
 

+ 11 - 4
src/xt_pages/stock/drugs/components/drugOutDetail.vue View File

@@ -637,6 +637,7 @@ export default {
637 637
           this.tablePrint[i].ctime = this.getTime(this.tablePrint[i].ctime)
638 638
           this.tablePrint[i].manufacturer_name = this.getManufacturerName(this.tablePrint[i].manufacturer)
639 639
           this.tablePrint[i].dealer_name = this.getDealerName(this.tablePrint[i].dealer)
640
+        
640 641
         }
641 642
         for(let i=0;i<this.tablePrint.length;i++){
642 643
            if(this.org_id == 9919 || this.org_id == 9671){
@@ -652,15 +653,21 @@ export default {
652 653
               this.tablePrint[i].unit = this.tablePrint[i].dose + this.tablePrint[i].dose_unit + "*" + this.tablePrint[i].min_number +this.tablePrint[i].min_unit +"/"+this.tablePrint[i].max_unit
653 654
               this.tablePrint[i].total = this.getTotalPriceOne(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_number,this.tablePrint[i].min_price)
654 655
            }
656
+
657
+          console.log("this.start_time",this.start_time)
658
+          console.log("this.end_time",this.end_time)
659
+          this.tablePrint[i].order_time = ""
660
+          this.tablePrint[i].order_time = this.start_time + " ~ " + this.end_time 
655 661
         }
662
+        
656 663
         console.log("wowowoowowowowo",this.tablePrint)
664
+        
657 665
        
658
-       
659
-       
666
+      
660 667
        import('@/vendor/Export2Excel').then(excel => {
661 668
        const tHeader = ['序号','药品名称', '规格型号','生产厂商','进销商', '单位','数量','单价','总价','出库时间','备注']
662 669
        if(this.org_id == 9919){
663
-        const filterVal = ['index','drug_name', 'unit', 'manufacturer_name','dealer_name','max_unit','count','min_price','total_price','ctime','remark']
670
+        const filterVal = ['index','drug_name', 'unit', 'manufacturer_name','dealer_name','max_unit','count','min_price','total_price','order_time','remark']
664 671
            
665 672
        let obj = {'index':'合计','total_price':0.00}
666 673
        for(let i=0;i<this.tablePrint.length;i++){
@@ -678,7 +685,7 @@ export default {
678 685
          })
679 686
           this.downloadLoading = false
680 687
        }else{
681
-        const filterVal = ['index','drug_name', 'unit', 'manufacturer_name','dealer_name','min_unit','count','min_price','total_price','ctime','remark']
688
+        const filterVal = ['index','drug_name', 'unit', 'manufacturer_name','dealer_name','min_unit','count','min_price','total_price','order_time','remark']
682 689
            
683 690
        let obj = {'index':'合计','total_price':0.00}
684 691
        for(let i=0;i<this.tablePrint.length;i++){

+ 5 - 4
src/xt_pages/stock/drugs/drugStockOutOrder.vue View File

@@ -369,7 +369,7 @@
369 369
             <template slot-scope="scope">
370 370
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
371 371
                   <td style="border-right: none; border-inline-end: none;text-align: center">
372
-                    <span v-if="org_id!=10480 && org_id!=10210&&org_id!=10188 && org_id!=10217">
372
+                    <span v-if="org_id!=10480 && org_id!=10210&&org_id!=10188 && org_id!=10217  && org_id!=0 && org_id!=10088 ">
373 373
                       <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{getTotalPrice(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}} </span>
374 374
                     <span v-if="is_sys == 0">
375 375
                       <span v-if="scope.row.child.length == 1">{{item.count * item.retail_price}} </span> 
@@ -377,10 +377,11 @@
377 377
                     </span>
378 378
                     </span>
379 379
 
380
-                    <span v-if="org_id ==10480 || org_id==10210 || org_id ==10188 || org_id ==10217">
380
+                    <span v-if="org_id ==10480 || org_id==10210 || org_id ==10188 || org_id ==10217 || org_id==0 || org_id ==10088">
381 381
                       <!-- {{(item.count * item.price).toFixed(2)}} -->
382 382
                      <span v-if="is_sys == 1 || is_sys == 5 || is_sys == 12">{{(getOutCountNightTen(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)*scope.row.min_price).toFixed(2)}}</span>  
383 383
                      <span v-if="is_sys==0"> {{(getOutCountNightTenOne(item.batch_number,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)*item.price).toFixed(2)}}</span>
384
+                     
384 385
                     </span>
385 386
                   </td>
386 387
                </tr>
@@ -455,7 +456,7 @@
455 456
 
456 457
            
457 458
           </el-table-column>
458
-          <el-table-column label="自查自检" align="center">
459
+          <!-- <el-table-column label="自查自检" align="center">
459 460
             <template slot-scope="scope">
460 461
               <span style="color: #589ff8" @click="getDrugPatientName(scope.row)"
461 462
                 >自查</span
@@ -463,7 +464,7 @@
463 464
             </template>
464 465
 
465 466
            
466
-          </el-table-column>
467
+          </el-table-column> -->
467 468
         </el-table>
468 469
       </div>
469 470
     </div>