浏览代码

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

csx 3 年前
父节点
当前提交
0735fc0e2a

+ 14 - 10
src/xt_pages/data/components/addDrugs.vue 查看文件

@@ -20,11 +20,12 @@
20 20
                                       maxlength="30"></el-input>
21 21
                         </el-form-item>
22 22
 
23
-                        <!-- <el-form-item label="药品规格 : ">
24
-                            <el-input v-model="form.specification_name" style="width:160px;" placeholder=""
23
+                      <div v-if="org_id == 9671 || org_id == 7957 || org_id == 4">
24
+                        <el-form-item label="药品规格 : ">
25
+                            <el-input v-model="form.drug_spec" style="width:160px;" placeholder=""
25 26
                                       maxlength="30"></el-input>
26
-                        </el-form-item> -->
27
-
27
+                        </el-form-item>
28
+                      </div>
28 29
                         <el-form-item label="药品类别 : " prop="drug_category">
29 30
                             <el-select v-model="form.drug_category" style="width:160px;" placeholder="请选择">
30 31
                                 <el-option
@@ -43,7 +44,7 @@
43 44
                               <el-input v-model="form.dose" type="number" style="width:100px;margin-right:5px;" placeholder="剂量" ></el-input>
44 45
                             </el-form-item>
45 46
                             <el-form-item prop="dose_unit" class="noMargin">
46
-                              <el-select v-model="form.dose_unit" style="width:160px;" placeholder="剂量单位" @change="changeDoseUnit">
47
+                              <el-select v-model="form.dose_unit" style="width:160px;" placeholder="剂量单位">
47 48
                                 <el-option
48 49
                                   v-for="(item,index) in getDataConfig('hemodialysis','units')"
49 50
                                   :key="index"
@@ -57,7 +58,7 @@
57 58
                               <el-input v-model="form.min_number" style="width:100px;margin-right:5px;"  type="number" placeholder="拆零"> </el-input>
58 59
                             </el-form-item>
59 60
                             <el-form-item prop="min_unit" class="noMargin">
60
-                              <el-select v-model="form.min_unit" style="width:160px;"  placeholder="拆零单位"  @change="changeMinUnit">
61
+                              <el-select v-model="form.min_unit" style="width:160px;"  placeholder="拆零单位">
61 62
                                 <el-option
62 63
                                   v-for="(item,index) in getDataConfig('hemodialysis','units')"
63 64
                                   :key="index"
@@ -68,7 +69,7 @@
68 69
                             </el-form-item>
69 70
                           <span style="margin-bottom:20px;font-size:20px;padding:0 10px;">/</span>
70 71
                           <el-form-item prop="max_unit" class="noMargin">
71
-                            <el-select v-model="form.max_unit" style="width:160px;" placeholder="包装单位" @change="changeMaxUnit">
72
+                            <el-select v-model="form.max_unit" style="width:160px;" placeholder="包装单位">
72 73
                               <el-option
73 74
                                 v-for="(item,index) in getDataConfig('hemodialysis','units')"
74 75
                                 :key="index"
@@ -575,6 +576,7 @@
575 576
           dose:"",//剂量单位
576 577
           prescribing_number_unit:"",
577 578
           total:"",
579
+          specification_name:"",
578 580
         },
579 581
 
580 582
         rules: {
@@ -654,7 +656,6 @@
654 656
         this.$refs[formName].validate((valid) => {
655 657
           console.log(valid)
656 658
           if (valid) {
657
-            // console.log(1111,this.getValue())
658 659
             this.$emit('dialog-comfirm', this.getValue())
659 660
           }
660 661
         })
@@ -697,7 +698,7 @@
697 698
           }
698 699
           if(obj.max_unit == arr[i].name){
699 700
             this.packingUnit.push(arr[i])
700
-          } 
701
+          }
701 702
 
702 703
           let idArr = []
703 704
           this.unitList.map(item => {
@@ -886,6 +887,7 @@
886 887
         form['dose_unit'] = this.form.dose_unit
887 888
         form['min_price'] = this.form.min_price
888 889
         form['prescribing_number_unit'] = this.form.prescribing_number_unit
890
+        form['specification_name'] = this.form.specification_name
889 891
         return form
890 892
       },
891 893
       getlist() {
@@ -1018,7 +1020,7 @@
1018 1020
       //       if(this.form.prescribing_number_unit == arr[i].id){
1019 1021
       //         this.packingUnit.push(arr[i])
1020 1022
       //       }
1021
-            
1023
+
1022 1024
 
1023 1025
 
1024 1026
 
@@ -1098,6 +1100,8 @@
1098 1100
       }
1099 1101
     },
1100 1102
     created() {
1103
+      this.org_id = this.$store.getters.xt_user.org.id
1104
+      console.log("机构ID",this.org_id)
1101 1105
       this.getInitializtion()
1102 1106
        //获取所有经销商
1103 1107
       this.GetAllConfig()

+ 1 - 1
src/xt_pages/data/components/drugs.vue 查看文件

@@ -682,7 +682,7 @@
682 682
                  this.formValue.drug_classify = ""
683 683
               }
684 684
 
685
-
685
+              
686 686
 
687 687
               this.$refs.addDrugs.show(id, this.formValue)
688 688
 

+ 1 - 1
src/xt_pages/dialysis/PatientBox.vue 查看文件

@@ -231,7 +231,7 @@ export default {
231 231
       temp_schedual: null,
232 232
       date:'',
233 233
       modedata:0,
234
-      stockType:"",
234
+      stockType:[],
235 235
     };
236 236
   },
237 237
   props: {

+ 7 - 4
src/xt_pages/dialysis/details/assessmentAfter.vue 查看文件

@@ -109,13 +109,16 @@
109 109
 
110 110
         <li v-if="isShow('封管液配置')">
111 111
           <label>封管液配置: </label>
112
-          <!-- <span class="content">{{ getSealingFluidDisposeName(this.record.sealing_fluid_dispose) }}</span> -->
113
-           <span class="content">{{this.record.sealing_fluid_dispose}}</span>
112
+           <span class="content">{{this.record.sealing_fluid_dispose?this.record.sealing_fluid_dispose:""}}</span>
114 113
         </li>
115 114
 
116
-        <li v-if="isShow('封管液特殊') && this.record.sealing_fluid_dispose.indexOf('特殊')>-1">
115
+        <li v-if="isShow('封管液特殊') && this.record.id > 0">
117 116
           <label>封管液配置(特殊): </label>
118
-          <span class="content">{{ sealing_fluid_special }}</span>
117
+          <span class="content">
118
+            <span>
119
+              {{ sealing_fluid_special }}
120
+            </span>  
121
+          </span>
119 122
         </li>
120 123
 
121 124
         <!-- <li style="height: 0.6rem;">

+ 4 - 4
src/xt_pages/dialysis/details/assessmentBefore.vue 查看文件

@@ -283,10 +283,10 @@
283 283
 
284 284
         <li v-if="isShow('导管缝线')">
285 285
           <label>导管缝线: </label>
286
-          <span class="content" v-if="this.record && this.record.catheter_suture.length > 0 && this.record.catheter_suture_other.length > 0 ">{{this.record.catheter_suture }},{{this.record.catheter_suture_other }}</span>
287
-          <span class="content" v-if="this.record &&this.record.catheter_suture.length > 0 && this.record.catheter_suture_other.length == 0 ">{{this.record.catheter_suture }}</span>
288
-          <span class="content" v-if="this.record &&this.record.catheter_suture.length == 0 && this.record.catheter_suture_other.length > 0 ">{{this.record.catheter_suture_other }}</span>
289
-          <span class="content" v-if="this.record && this.record.catheter_suture.length == 0 && this.record.catheter_suture_other.length == 0 "></span>
286
+          <span class="content" v-if="this.record.id > 0 && this.record.catheter_suture.length > 0 && this.record.catheter_suture_other.length > 0 ">{{this.record.catheter_suture }},{{this.record.catheter_suture_other }}</span>
287
+          <span class="content" v-if="this.record.id >0 && this.record.catheter_suture.length > 0 && this.record.catheter_suture_other.length == 0 ">{{this.record.catheter_suture }}</span>
288
+          <span class="content" v-if="this.record.id >0 && this.record.catheter_suture.length == 0 && this.record.catheter_suture_other.length > 0 ">{{this.record.catheter_suture_other }}</span>
289
+          <span class="content" v-if="this.record.id >0 && this.record.catheter_suture.length == 0 && this.record.catheter_suture_other.length == 0 "></span>
290 290
           <span class="unit"></span>
291 291
         </li>
292 292
 

+ 2 - 3
src/xt_pages/dialysis/details/dialog/adviceDialog/AddGroupAdvice.vue 查看文件

@@ -1674,7 +1674,7 @@ export default {
1674 1674
      
1675 1675
     },
1676 1676
     changeDrugDesc(name) {
1677
-      
1677
+        console.log("hhhhhhhhhh",this.drugSpec)
1678 1678
         this.current_drug_spec = name
1679 1679
         for (let i = 0; i < this.drugSpec.length; i++) {
1680 1680
           if (this.drugSpec[i].drug_spec == name) {
@@ -1736,8 +1736,7 @@ export default {
1736 1736
         console.log("22222",val)
1737 1737
         this.drug_id = val.id
1738 1738
         this.nameForm.way = 1 
1739
-        console.log("hhhh23",this.drug_id) 
1740
-        console.log("hhhhhh",this.nameForm.way)
1739
+       
1741 1740
       },
1742 1741
       handleSelect1(){
1743 1742
 

+ 1 - 1
src/xt_pages/dialysis/details/dialog/assessmentBeforeDislysisDialog.vue 查看文件

@@ -746,7 +746,7 @@
746 746
         }
747 747
       },
748 748
       lastAssessment:{
749
-        type:Array,
749
+        type:Object,
750 750
          default: () => {
751 751
           return []
752 752
         }

+ 3 - 1
src/xt_pages/dialysis/details/dialog/dialysisPrescriptionDialog.vue 查看文件

@@ -1359,7 +1359,9 @@
1359 1359
           { id: 1, name: '需' },
1360 1360
           { id: 2, name: '无' }
1361 1361
         ],
1362
-        oxygenShow: false
1362
+        oxygenShow: false,
1363
+        hemodialysisPipelinesOptions: [],
1364
+        epoOptions: []
1363 1365
       }
1364 1366
     },
1365 1367
     methods: {

+ 6 - 4
src/xt_pages/dialysis/details/index.vue 查看文件

@@ -1153,7 +1153,11 @@ export default {
1153 1153
           console.log("stockTYPW",stockType)
1154 1154
 
1155 1155
           var prepare = resp.data.prepare
1156
-          this.preparestock = prepare
1156
+          if(prepare!=null){
1157
+            this.preparestock = prepare
1158
+          }else{
1159
+            this.preparestock = []
1160
+          }
1157 1161
           console.log("prepare222222",prepare)
1158 1162
 
1159 1163
           for (let i = 0; i <  this.doctor_advices.length; i++){
@@ -1249,7 +1253,6 @@ export default {
1249 1253
             zone_options.push({ id: zone.id, text: zone.name })
1250 1254
           }
1251 1255
           this.zone_options = zone_options
1252
-          // this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
1253 1256
           this.arr = this.processedDialysisSchedules(schedules, this.zone_options)
1254 1257
           this.requestDialysisSchedules()
1255 1258
         } else {
@@ -1335,6 +1338,7 @@ export default {
1335 1338
         var resp = rs.data
1336 1339
         if (resp.state == 1) {
1337 1340
           var schedules = resp.data.schedules
1341
+          console.log("当前排班信息4444444444444444",schedules)
1338 1342
           this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
1339 1343
           const patientArr = JSON.parse(JSON.stringify(this.zone_schedules))
1340 1344
           if (this.activeName == 'first') {
@@ -1369,7 +1373,6 @@ export default {
1369 1373
       })
1370 1374
     },
1371 1375
     changePatient(schedual) {
1372
-      console.log("schedual",schedual)
1373 1376
       this.patient_id = schedual.patient_id
1374 1377
       this.date = schedual.schedule_date
1375 1378
       // this.getScheduleDetail();
@@ -1716,7 +1719,6 @@ export default {
1716 1719
       return strDate;
1717 1720
     },
1718 1721
     refresh(){
1719
-      console.log('1111111')
1720 1722
       this.requestDialysisSchedules()
1721 1723
     },
1722 1724
     websocketSend(data) {

+ 1 - 1
src/xt_pages/dialysis/dialysisPrintOrder.vue 查看文件

@@ -511,7 +511,7 @@
511 511
             icon="el-icon-printer"
512 512
             @click="printThisOnePage"
513 513
             type="primary"
514
-            >打印录单</el-button
514
+            >打印录单</el-button
515 515
           >
516 516
           <el-button
517 517
             :loading="loading"

+ 1 - 2
src/xt_pages/dialysis/schedualPatient.vue 查看文件

@@ -573,7 +573,6 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
573 573
       //   // })
574 574
       // },
575 575
       handleScheduleDateChange: function(index) {
576
-        console.log("askdjlkas",index)
577 576
         this.zone_selected = 0
578 577
         this.schedule_type_selected = 0
579 578
         this.patientStateVal = 0
@@ -616,7 +615,6 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
616 615
             // this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
617 616
             this.requestDialysisSchedules()
618 617
 
619
-            console.log(1111111111111,this.zone_schedules)
620 618
           } else {
621 619
             this.$message.error(resp.msg)
622 620
           }
@@ -628,6 +626,7 @@ import { getDialysisRecordInitData, getDialysisSchedules } from '@/api/dialysis_
628 626
           var resp = rs.data
629 627
           if (resp.state == 1) {
630 628
             var schedules = resp.data.schedules
629
+            console.log("透析详情页面",schedules)
631 630
             this.zone_schedules = this.processedDialysisSchedules(schedules, this.zone_options)
632 631
             this.allPatient = this.filtedSchedules
633 632
             this.getData()

+ 6 - 5
src/xt_pages/dialysis/template/DialysisPrintOrderThirtySix.vue 查看文件

@@ -262,7 +262,7 @@
262 262
                     </td>
263 263
                     <td width='30'></td>
264 264
                     <td width='50'>导管:</td>
265
-                    <td width='60'>腔外露</td>
265
+                    <td width='60'>腔外露</td>
266 266
                     <td width="60">
267 267
                       <div class="under-line">
268 268
                         &nbsp;
@@ -573,15 +573,12 @@
573 573
                     <img class="es-img" style="height:38px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.washpipe_nurse)" alt="" srcset="" v-else>
574 574
                 </div>
575 575
             </td>
576
-            <td width="100">穿刺/开管护士:</td>
576
+            <td width="100">穿刺护士:</td>
577 577
             <td width="100">
578 578
 
579 579
                 <div>
580 580
                     <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.puncture_nurse)}}</span>
581 581
                     <img class="es-img" style="height:38px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.puncture_nurse)" alt="" srcset="" v-else>
582
-                    /
583
-                    <span v-if="setAdminUserES(dialysisOrder==null?0:dialysisOrder.new_fistula_nurse) == ''">{{getAdminUser(dialysisOrder==null?0:dialysisOrder.new_fistula_nurse)}}</span>
584
-                    <img class="es-img" style="height:38px" :src="setAdminUserES(dialysisOrder==null?0:dialysisOrder.new_fistula_nurse)" alt="" srcset="" v-else>
585 582
                 </div>
586 583
             </td>
587 584
             <td width="70">核对护士:</td>
@@ -626,6 +623,7 @@
626 623
             <td width="60">电导度<br/>ms/cm</td>
627 624
             <td width="40">液温<br/>℃</td>
628 625
             <td width="40">ktv</td>
626
+            <td width="40">血糖<br/>mmol/L</td>
629 627
             <td width="">特殊处理</td>
630 628
             <td width='60'>执行护士</td>
631 629
           </tr>
@@ -675,6 +673,9 @@
675 673
             <td>
676 674
               &nbsp;{{ monitor.ktv ? monitor.ktv : "" }}
677 675
             </td>
676
+            <td>
677
+              &nbsp;{{ monitor.blood_sugar ? monitor.blood_sugar : "" }}
678
+            </td>
678 679
             <td>
679 680
               &nbsp;{{ monitor.symptom }} &nbsp;{{ monitor.dispose }} &nbsp;{{ monitor.result }}
680 681
             </td>

+ 16 - 3
src/xt_pages/stock/drugs/drugStockFlow.vue 查看文件

@@ -5,8 +5,8 @@
5 5
     </div>
6 6
     <div class="app-container ">
7 7
       <div class="cell clearfix">
8
-       药品名称:<span>{{this.$route.query.drug_name}}</span>&nbsp;
9
-       库存: {{this.$route.query.overPlus}}
8
+       药品名称:<span>{{getName(this.$route.query.drug_id)}}</span>&nbsp;
9
+       库存: {{this.$route.query.over_plus}}
10 10
        规格:<span>{{this.$route.query.unit}}</span>&nbsp;
11 11
        厂家:<span>{{this.$route.query.manufacturer}}</span>&nbsp;
12 12
 
@@ -240,10 +240,12 @@
240 240
         autoCountList:[],
241 241
         drugOutList:[],
242 242
         total:0,
243
+        drug:{},
243 244
       }
244 245
     },
245 246
     methods:{
246 247
        getlist(){
248
+         console.log("2332233232",this.$route.query.drug_id)
247 249
            var params = {
248 250
              drug_id:this.$route.query.drug_id,
249 251
              start_time:this.start_time,
@@ -252,6 +254,7 @@
252 254
              limit:this.limit,
253 255
              stock_type:this.stock_type,  
254 256
            }
257
+          console.log("params23322323232332",params)
255 258
          getDrugStockFlow(params).then(response=>{
256 259
            if(response.data.state == 1){
257 260
             var list = response.data.data.list
@@ -264,7 +267,7 @@
264 267
             this.total = total
265 268
             var manufacturerList = response.data.data.manufacturerList
266 269
             this.manufacturerList = manufacturerList
267
-           
270
+         
268 271
            }
269 272
          })  
270 273
        },
@@ -487,6 +490,9 @@
487 490
             this.total =total
488 491
             this.manufacturerList = response.data.data.manufacturerList
489 492
             this.dealerList = response.data.data.dealerList
493
+            var drug = response.data.data.drug
494
+            console.log("drug233223232323223",drug)
495
+            this.drug = drug
490 496
           }
491 497
        })
492 498
      },
@@ -504,6 +510,13 @@
504 510
          str_min = total%min_number + min_unit
505 511
        }
506 512
         return str+str_min
513
+     },
514
+     getName(drug_id){
515
+        var name = ""
516
+        if(drug_id == this.drug.id){
517
+           name = this.drug.drug_name
518
+        }
519
+        return name
507 520
      }
508 521
     }
509 522
   }

+ 7 - 4
src/xt_pages/stock/drugs/query.vue 查看文件

@@ -532,6 +532,7 @@ import { min } from 'moment'
532 532
         return name
533 533
       },
534 534
       handleDetail(val){
535
+        console.log("val232332323223323",val)
535 536
         var manufacturer_name = ""
536 537
         for(let i=0;i<this.manufacturerList.length;i++){
537 538
          if(val.manufacturer == this.manufacturerList[i].id){
@@ -539,10 +540,11 @@ import { min } from 'moment'
539 540
          }
540 541
         }
541 542
         var unit =  val.dose + val.dose_unit +"*"+val.min_number+val.min_unit+"/"+val.max_unit
542
-        var overPlus = this.getOverFlushInfo(val.drug_warehouse_info,val.max_unit,val.min_unit,val.min_number)
543
+        var over_plus = this.getOverFlushInfo(val.drug_warehouse_info,val.max_unit,val.min_unit,val.min_number)
544
+        this.$router.push({path:'/drugstock/in/drugstockflow?drug_id='+val.id+"&manufacturer="+manufacturer_name+"&unit="+unit+"&min_number="+val.min_number+"&max_unit="+val.max_unit+"&min_unit="+val.min_unit+"&over_plus="+over_plus})
543 545
         window.sessionStorage.setItem('start_time',this.start_time)
544 546
         window.sessionStorage.setItem('end_time',this.end_time)
545
-        this.$router.push({path:'/drugstock/in/drugstockflow?drug_id='+val.id+"&drug_name="+val.drug_name+"&manufacturer="+manufacturer_name+"&unit="+unit+"&min_number="+val.min_number+"&max_unit="+val.max_unit+"&min_unit="+val.min_unit+"&overPlus="+overPlus})
547
+        
546 548
       },
547 549
       handleBatch(val){
548 550
         var manufacturer_name = ""
@@ -552,10 +554,11 @@ import { min } from 'moment'
552 554
          }
553 555
         }
554 556
         var unit =  val.dose + val.dose_unit +"*"+val.min_number+val.min_unit+"/"+val.max_unit
555
-        var overPlus = this.getOverFlushInfo(val.drug_warehouse_info,val.max_unit,val.min_unit,val.min_number)
557
+        var over_plus = this.getOverFlushInfo(val.drug_warehouse_info,val.max_unit,val.min_unit,val.min_number)
558
+       
556 559
         window.sessionStorage.setItem('start_time',this.start_time)
557 560
         window.sessionStorage.setItem('end_time',this.end_time)
558
-        this.$router.push({path:'/drugstock/in/drugbatchnumber?drug_id='+val.id+"&drug_name="+val.drug_name+"&manufacturer="+manufacturer_name+"&unit="+unit+"&min_number="+val.min_number+"&max_unit="+val.max_unit+"&min_unit="+val.min_unit+"&overPlus="+overPlus})
561
+        this.$router.push({path:'/drugstock/in/drugbatchnumber?drug_id='+val.id+"&manufacturer="+manufacturer_name+"&unit="+unit+"&min_number="+val.min_number+"&max_unit="+val.max_unit+"&min_unit="+val.min_unit+"&over_plus="+over_plus})
559 562
       },
560 563
       getDrugCountList(){
561 564
          var params = {

+ 4 - 4
src/xt_pages/stock/stockQuery.vue 查看文件

@@ -108,7 +108,7 @@
108 108
        </el-table-column>
109 109
        <el-table-column label="出库数量" align="center" v-if="showOne">
110 110
          <template slot-scope="scope">
111
-          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id== 10245 || org_id == 9779 || org_id == 10106 || org_id == 9504 || org_id ==  10215 || org_id ==  10088">
111
+          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id== 10245 || org_id == 9779 || org_id == 10106 || org_id == 9504 || org_id ==  10215 || org_id ==  10088 || org_id == 10191">
112 112
             <span>
113 113
               {{getWareInfo(scope.row.xt_warehouse_info) - getOverFlushInfo(scope.row.xt_warehouse_info) + getCancelSotckInfo(scope.row.cancel_stock_info) }}
114 114
             </span>
@@ -125,7 +125,7 @@
125 125
 
126 126
        <el-table-column label="剩余库存量" align="center" v-if="showThree">
127 127
          <template slot-scope="scope">
128
-          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9779 || org_id == 10106 || org_id == 9504 || org_id ==  10215 || org_id == 10088">{{getOverFlushInfo(scope.row.xt_warehouse_info)}}</span>
128
+          <span v-if="org_id == 9671 || org_id == 10138 || org_id == 10028 || org_id == 9675 || org_id == 4 || org_id == 3877 || org_id == 10243 || org_id == 10088 || org_id == 10245 || org_id == 9779 || org_id == 10106 || org_id == 9504 || org_id ==  10215 || org_id == 10088 || org_id == 10191">{{getOverFlushInfo(scope.row.xt_warehouse_info)}}</span>
129 129
           <span v-else>{{getWareInfo(scope.row.xt_warehouse_info) - getAutoCount(scope.row.id) - getOutCount(scope.row.id) + getCancelCount(scope.row.id) }}</span>
130 130
          </template>
131 131
        </el-table-column>
@@ -359,13 +359,13 @@ export default {
359 359
            this.tableList[i].inCount =  this.getWareInfo(this.tableList[i].xt_warehouse_info)
360 360
 
361 361
           if(this.end_time == ""){
362
-            if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id ==  10088 ){
362
+            if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id ==  10088 || this.org_id == 10191){
363 363
               this.tableList[i].outCount  = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getOverFlushInfo(this.tableList[i].xt_warehouse_info) + this.getCancelSotckInfo(this.tableList[i].cancel_stock_info) 
364 364
             }else{
365 365
               this.tableList[i].outCount =  this.getAutoCount(this.tableList[i].id) + this.getOutCount(this.tableList[i].id)
366 366
             }
367 367
             
368
-            if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id ==  10088 ){
368
+            if(this.org_id == 9671 || this.org_id == 10138 || this.org_id == 10028 || this.org_id == 9675 || this.org_id == 4 || this.org_id ==3877 || this.org_id == 10243 || this.org_id == 10088 || this.org_id == 10245 || this.org_id == 9779 || this.org_id == 10106 || this.org_id == 9504 || this.org_id == 10215 || this.org_id ==  10088 || this.org_id == 10191){
369 369
                 this.tableList[i].overplus = this.getOverFlushInfo(this.tableList[i].xt_warehouse_info)
370 370
             }else{
371 371
               this.tableList[i].overplus = this.getWareInfo(this.tableList[i].xt_warehouse_info) - this.getAutoCount(this.tableList[i].id) - this.getOutCount(this.tableList[i].id) + this.getCancelCount(this.tableList[i].id)

+ 1 - 0
src/xt_pages/user/dialysisRecord.vue 查看文件

@@ -422,6 +422,7 @@ export default {
422 422
   },
423 423
   methods: {
424 424
     getTime(record){
425
+      console.log("recode2332232332232332",record)
425 426
       if(record != null&&record.id > 0) {
426 427
         let actual_treatment_hour = 0
427 428
         let actual_treatment_minute = 0