28169 1 år sedan
förälder
incheckning
ae4188db17

+ 8 - 0
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue Visa fil

2771
             } else if (schedual.schedule_type == 3) {
2771
             } else if (schedual.schedule_type == 3) {
2772
               this.start_time = year + '-' + month + '-' + day + ' ' + '15:00'
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
            }else if (this.$store.getters.xt_user.org.id == 10551){
2782
            }else if (this.$store.getters.xt_user.org.id == 10551){
2775
             var date = new Date()
2783
             var date = new Date()
2776
             var year = date.getFullYear()
2784
             var year = date.getFullYear()

+ 2 - 0
src/xt_pages/dialysis/details/dialysisMonitoring.vue Visa fil

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>
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
           <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>
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
           <th v-if=" isShow('SpO₂') && template_id != 6 && template_id != 10 && template_id != 11  " width="92px" > SpO₂(%) </th>
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
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
31
           <th v-if="isShow('电导度')" width="92px">电导度(mS/m)</th>
31
           <th v-if="isShow('置换液流量') && template_id != 27 && template_id != 60" width="92px">置换液流量(ml/h)</th>
32
           <th v-if="isShow('置换液流量') && template_id != 27 && template_id != 60" width="92px">置换液流量(ml/h)</th>
32
           <th v-if="isShow('置换液流量') && (template_id == 27 ||  template_id == 60)" width="92px">置换液流量(ml/min)</th>
33
           <th v-if="isShow('置换液流量') && (template_id == 27 ||  template_id == 60)" width="92px">置换液流量(ml/min)</th>
73
           <td v-if="isShow('置换率')"> {{ monitor.replacement_rate ? monitor.replacement_rate : "" }} </td>
74
           <td v-if="isShow('置换率')"> {{ monitor.replacement_rate ? monitor.replacement_rate : "" }} </td>
74
           <td v-if="isShow('置换量')"> {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }} </td>
75
           <td v-if="isShow('置换量')"> {{ monitor.displacement_quantity ? monitor.displacement_quantity : "" }} </td>
75
           <td v-if="isShow('SpO₂')"> {{ monitor.blood_oxygen_saturation ? monitor.blood_oxygen_saturation : "" }} </td>
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
           <td v-if="isShow('电导度')"> {{ monitor.conductivity ? monitor.conductivity : "" }} </td>
78
           <td v-if="isShow('电导度')"> {{ monitor.conductivity ? monitor.conductivity : "" }} </td>
77
           <td v-if="isShow('置换液流量')"> {{ monitor.displacement_flow_quantity  ? monitor.displacement_flow_quantity : "" }} </td>
79
           <td v-if="isShow('置换液流量')"> {{ monitor.displacement_flow_quantity  ? monitor.displacement_flow_quantity : "" }} </td>
78
           <td v-if="isShow('透析液流量')"> {{ monitor.dialysate_flow  ? monitor.dialysate_flow : "" }} </td>
80
           <td v-if="isShow('透析液流量')"> {{ monitor.dialysate_flow  ? monitor.dialysate_flow : "" }} </td>

+ 3 - 1
src/xt_pages/stock/detail/stockOutDetail.vue Visa fil

914
         this.tableOut[i].manufacturer_name = this.getManufacturerNameOne(this.tableOut[i].manufacturer)
914
         this.tableOut[i].manufacturer_name = this.getManufacturerNameOne(this.tableOut[i].manufacturer)
915
        
915
        
916
         this.tableOut[i].dealer_name = this.getDealerNameOne(this.tableOut[i].dealer)
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
        console.log("retusoossoso",this.tableOut)
920
        console.log("retusoossoso",this.tableOut)
919
        
921
        
920
        import('@/vendor/Export2Excel').then(excel => {
922
        import('@/vendor/Export2Excel').then(excel => {
921
        const tHeader = ['序号','耗材名称', '规格型号','生产厂商','进销商', '单位','数量','出货价','总价','出库时间','备注']
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
        const data = this.formatJson(filterVal, this.tableOut)
927
        const data = this.formatJson(filterVal, this.tableOut)
926
 
928
 

+ 11 - 4
src/xt_pages/stock/drugs/components/drugOutDetail.vue Visa fil

637
           this.tablePrint[i].ctime = this.getTime(this.tablePrint[i].ctime)
637
           this.tablePrint[i].ctime = this.getTime(this.tablePrint[i].ctime)
638
           this.tablePrint[i].manufacturer_name = this.getManufacturerName(this.tablePrint[i].manufacturer)
638
           this.tablePrint[i].manufacturer_name = this.getManufacturerName(this.tablePrint[i].manufacturer)
639
           this.tablePrint[i].dealer_name = this.getDealerName(this.tablePrint[i].dealer)
639
           this.tablePrint[i].dealer_name = this.getDealerName(this.tablePrint[i].dealer)
640
+        
640
         }
641
         }
641
         for(let i=0;i<this.tablePrint.length;i++){
642
         for(let i=0;i<this.tablePrint.length;i++){
642
            if(this.org_id == 9919 || this.org_id == 9671){
643
            if(this.org_id == 9919 || this.org_id == 9671){
652
               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
               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
               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
               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
         console.log("wowowoowowowowo",this.tablePrint)
663
         console.log("wowowoowowowowo",this.tablePrint)
664
+        
657
        
665
        
658
-       
659
-       
666
+      
660
        import('@/vendor/Export2Excel').then(excel => {
667
        import('@/vendor/Export2Excel').then(excel => {
661
        const tHeader = ['序号','药品名称', '规格型号','生产厂商','进销商', '单位','数量','单价','总价','出库时间','备注']
668
        const tHeader = ['序号','药品名称', '规格型号','生产厂商','进销商', '单位','数量','单价','总价','出库时间','备注']
662
        if(this.org_id == 9919){
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
        let obj = {'index':'合计','total_price':0.00}
672
        let obj = {'index':'合计','total_price':0.00}
666
        for(let i=0;i<this.tablePrint.length;i++){
673
        for(let i=0;i<this.tablePrint.length;i++){
678
          })
685
          })
679
           this.downloadLoading = false
686
           this.downloadLoading = false
680
        }else{
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
        let obj = {'index':'合计','total_price':0.00}
690
        let obj = {'index':'合计','total_price':0.00}
684
        for(let i=0;i<this.tablePrint.length;i++){
691
        for(let i=0;i<this.tablePrint.length;i++){

+ 5 - 4
src/xt_pages/stock/drugs/drugStockOutOrder.vue Visa fil

369
             <template slot-scope="scope">
369
             <template slot-scope="scope">
370
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
370
                <tr style="background: none" v-for="(item,index) in scope.row.child" :key="index">
371
                   <td style="border-right: none; border-inline-end: none;text-align: center">
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
                       <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>
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
                     <span v-if="is_sys == 0">
374
                     <span v-if="is_sys == 0">
375
                       <span v-if="scope.row.child.length == 1">{{item.count * item.retail_price}} </span> 
375
                       <span v-if="scope.row.child.length == 1">{{item.count * item.retail_price}} </span> 
377
                     </span>
377
                     </span>
378
                     </span>
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
                       <!-- {{(item.count * item.price).toFixed(2)}} -->
381
                       <!-- {{(item.count * item.price).toFixed(2)}} -->
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>  
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
                      <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>
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
                     </span>
385
                     </span>
385
                   </td>
386
                   </td>
386
                </tr>
387
                </tr>
455
 
456
 
456
            
457
            
457
           </el-table-column>
458
           </el-table-column>
458
-          <el-table-column label="自查自检" align="center">
459
+          <!-- <el-table-column label="自查自检" align="center">
459
             <template slot-scope="scope">
460
             <template slot-scope="scope">
460
               <span style="color: #589ff8" @click="getDrugPatientName(scope.row)"
461
               <span style="color: #589ff8" @click="getDrugPatientName(scope.row)"
461
                 >自查</span
462
                 >自查</span
463
             </template>
464
             </template>
464
 
465
 
465
            
466
            
466
-          </el-table-column>
467
+          </el-table-column> -->
467
         </el-table>
468
         </el-table>
468
       </div>
469
       </div>
469
     </div>
470
     </div>