Browse Source

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

陈少旭 1 week ago
parent
commit
bc64b77fc0

File diff suppressed because it is too large
+ 657 - 1033
src/xt_pages/dialysis/batch_print/batch_print_order_eight.vue


+ 6 - 9
src/xt_pages/dialysis/batch_print/batch_print_order_eightythree.vue View File

@@ -56,19 +56,16 @@
56 56
                       </div>
57 57
                     </td>
58 58
                   </tr>
59
-
60 59
                   <tr>
61 60
                     <td colspan="3">
62 61
                       <div style="line-height:30px;display: inline-block;">
63
-                        上机前病情:
64
-                        <label-box
65
-                          :isChecked="record.assessment_before_dislysis.symptom_before_dialysis == '' ? true : false"
66
-                          showValue="无特殊"></label-box>&nbsp;
67
-                        <label-box
68
-                          :isChecked="record.assessment_before_dislysis.symptom_before_dialysis != '' ? true : false"
69
-                          showValue="其他:"></label-box>
70
-                        <span>{{ record.assessment_before_dislysis.symptom_before_dialysis }}</span>
62
+                        上机前病情: <span>{{ record.assessment_before_dislysis.befor_symptoms }}</span>
71 63
                       </div>
64
+                    </td>
65
+                  </tr>
66
+                  <tr>
67
+                    <td colspan="3">
68
+                    
72 69
                       <div class="row" style="padding: 2px 0; line-height: 23px;display: inline-block;" >
73 70
                         <div class="inline_block" style="flex: 0.8;">
74 71
                           T:

+ 14 - 0
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue View File

@@ -770,6 +770,8 @@ export default {
770 770
     if(this.lastTreat!=null){
771 771
       if(this.receiveTreatmentAsses.condition ==1){
772 772
         this.receiveTreatmentAsses.admission_number = this.lastTreat.admission_number
773
+        this.receiveTreatmentAsses.his_bed = this.lastTreat.his_bed
774
+        this.receiveTreatmentAsses.his_department = this.lastTreat.his_department
773 775
       }
774 776
     
775 777
     }
@@ -789,6 +791,18 @@ export default {
789 791
     // console.log("风险", this.precaution_arr);
790 792
     this.intake_arr = getDataConfig("hemodialysis", "intake");
791 793
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
794
+
795
+    if(this.$store.getters.user.template_info.org_id == 10293){
796
+        this.receiveTreatmentAsses.way =1
797
+        this.receiveTreatmentAsses.consciousness =2
798
+        this.receiveTreatmentAsses.appetite =2
799
+        this.receiveTreatmentAsses.posture= 1
800
+        this.receiveTreatmentAsses.danger_level=2
801
+        this.receiveTreatmentAsses.precaution = 3
802
+        var arr = [3,4]
803
+        this.precautionTwo.push(...arr)
804
+        this.receiveTreatmentAsses.precaution = this.precautionTwo      
805
+  }
792 806
   },
793 807
  
794 808
 };

File diff suppressed because it is too large
+ 399 - 629
src/xt_pages/dialysis/template/DialysisPrintOrderEight.vue


File diff suppressed because it is too large
+ 874 - 870
src/xt_pages/dialysis/template/DialysisPrintOrderFiftySeven.vue


+ 18 - 25
src/xt_pages/dialysis/template/DialysisPrintOrderSeventeen.vue View File

@@ -1722,7 +1722,6 @@ export default {
1722 1722
           }
1723 1723
           this.patientInfo = response.data.data.patientInfo
1724 1724
           // console.log("透析记录", this.patientInfo);
1725
-
1726 1725
           this.patientInfo.birth = uParseTime(
1727 1726
             this.patientInfo.birthday,
1728 1727
             '{y}-{m}-{d}'
@@ -1785,7 +1784,8 @@ export default {
1785 1784
           var tableAdvice = doctorAdevieInfo
1786 1785
           console.log('tableAdvice', tableAdvice)
1787 1786
           // console.log('医生', tableAdvice.length)
1788
-          if (tableAdvice.length === 0) {
1787
+          if (tableAdvice == null) {
1788
+            let tableAdvice1=[]
1789 1789
             var obj = { advice_name: '', start_time: '' }
1790 1790
             var obj1 = { advice_name: '', start_time: '' }
1791 1791
             var obj2 = { advice_name: '', start_time: '' }
@@ -1793,16 +1793,15 @@ export default {
1793 1793
             var obj4 = { advice_name: '', start_time: '' }
1794 1794
             var obj5 = { advice_name: '', start_time: '' }
1795 1795
             var obj6 = { advice_name: '', start_time: '' }
1796
-            tableAdvice.push(obj)
1797
-            tableAdvice.push(obj1)
1798
-            tableAdvice.push(obj2)
1799
-            tableAdvice.push(obj3)
1800
-            tableAdvice.push(obj4)
1801
-            tableAdvice.push(obj5)
1802
-            tableAdvice.push(obj6)
1803
-            this.tableAdvice = tableAdvice
1804
-          }
1805
-          if (tableAdvice.length === 1) {
1796
+            tableAdvice1.push(obj)
1797
+            tableAdvice1.push(obj1)
1798
+            tableAdvice1.push(obj2)
1799
+            tableAdvice1.push(obj3)
1800
+            tableAdvice1.push(obj4)
1801
+            tableAdvice1.push(obj5)
1802
+            tableAdvice1.push(obj6)
1803
+            this.tableAdvice = tableAdvice1
1804
+          }else if (tableAdvice.length === 1) {
1806 1805
             var obj = { advice_name: '', start_time: '' }
1807 1806
             var obj1 = { advice_name: '', start_time: '' }
1808 1807
             var obj2 = { advice_name: '', start_time: '' }
@@ -1816,8 +1815,7 @@ export default {
1816 1815
             tableAdvice.push(obj4)
1817 1816
             tableAdvice.push(obj5)
1818 1817
             this.tableAdvice = tableAdvice
1819
-          }
1820
-          if (tableAdvice.length === 2) {
1818
+          }else if (tableAdvice.length === 2) {
1821 1819
             var obj = { advice_name: '', start_time: '' }
1822 1820
             var obj1 = { advice_name: '', start_time: '' }
1823 1821
             var obj2 = { advice_name: '', start_time: '' }
@@ -1829,8 +1827,7 @@ export default {
1829 1827
             tableAdvice.push(obj3)
1830 1828
             tableAdvice.push(obj4)
1831 1829
             this.tableAdvice = tableAdvice
1832
-          }
1833
-          if (tableAdvice.length === 3) {
1830
+          }else if (tableAdvice.length === 3) {
1834 1831
             // eslint-disable-next-line no-redeclare
1835 1832
             var obj = { advice_name: '', start_time: '' }
1836 1833
             // eslint-disable-next-line no-redeclare
@@ -1846,8 +1843,7 @@ export default {
1846 1843
             tableAdvice.push(obj3)
1847 1844
 
1848 1845
             this.tableAdvice = tableAdvice
1849
-          }
1850
-          if (tableAdvice.length === 4) {
1846
+          }else if (tableAdvice.length === 4) {
1851 1847
             // eslint-disable-next-line no-redeclare
1852 1848
             var obj = { advice_name: '', start_time: '' }
1853 1849
             // eslint-disable-next-line no-redeclare
@@ -1859,8 +1855,7 @@ export default {
1859 1855
             tableAdvice.push(obj1)
1860 1856
             tableAdvice.push(obj2)
1861 1857
             this.tableAdvice = tableAdvice
1862
-          }
1863
-          if (tableAdvice.length === 5) {
1858
+          }else if (tableAdvice.length === 5) {
1864 1859
             // eslint-disable-next-line no-redeclare
1865 1860
             var obj = { advice_name: '', start_time: '' }
1866 1861
             // eslint-disable-next-line no-redeclare
@@ -1868,14 +1863,12 @@ export default {
1868 1863
             tableAdvice.push(obj)
1869 1864
             tableAdvice.push(obj1)
1870 1865
             this.tableAdvice = tableAdvice
1871
-          }
1872
-          if (tableAdvice.length === 6) {
1866
+          }else if (tableAdvice.length === 6) {
1873 1867
             // eslint-disable-next-line no-redeclare
1874 1868
             var obj = { advice_name: '', start_time: '' }
1875 1869
             tableAdvice.push(obj)
1876 1870
             this.tableAdvice = tableAdvice
1877
-          }
1878
-          if (tableAdvice.length >= 7) {
1871
+          }else if (tableAdvice.length >= 7) {
1879 1872
             this.tableAdvice = tableAdvice
1880 1873
           }
1881 1874
           var doctor = response.data.data.doctor
@@ -1973,7 +1966,7 @@ export default {
1973 1966
           var obj2 = arr2.join(',')
1974 1967
           console.log('obj2', obj2)
1975 1968
           receiverTreatmentAccess.precaution = obj2
1976
-          console.log('接诊评估', receiverTreatmentAccess)
1969
+          console.log('接诊评估2', receiverTreatmentAccess)
1977 1970
           this.receiverTreatmentAccess = receiverTreatmentAccess
1978 1971
           var dialysisway = response.data.data.dialysisway
1979 1972
           console.log('透析处方', dialysisway)

+ 17 - 3
src/xt_pages/dialysis/template/DialysisPrintOrdereightythree.vue View File

@@ -41,16 +41,30 @@
41 41
                 </div>
42 42
               </td>
43 43
             </tr>
44
-
45 44
             <tr>
46 45
               <td colspan="3">
47 46
                 <div style="line-height:30px;display: inline-block;">
48 47
                   上机前病情:
49
-                  <label-box :isChecked="predialysis.symptom_before_dialysis == '' ? true : false"
48
+                  <!-- <label-box :isChecked="predialysis.symptom_before_dialysis == '' ? true : false"
50 49
                     showValue="无特殊"></label-box>&nbsp;
51 50
                   <label-box :isChecked="predialysis.symptom_before_dialysis != '' ? true : false"
52
-                  showValue="其他:"></label-box>
51
+                  showValue="其他:"></label-box> -->
52
+                  <div class="inline_block" style="flex: 0.8;">
53
+                    <div class="under_line" style="width: 50px; text-align: center">
54
+                      {{
55
+                        predialysis.befor_symptoms
56
+                          ? predialysis.befor_symptoms
57
+                          : "/"
58
+                      }}
59
+                    </div>
60
+                  </div>
53 61
                 </div>
62
+              </td>
63
+            </tr>
64
+
65
+            <tr>
66
+              <td colspan="3">
67
+            
54 68
                 <div class="row" style="padding: 2px 0; line-height: 23px;display: inline-block;" >
55 69
                   <div class="inline_block" style="flex: 0.8;">
56 70
                     T:

+ 1 - 1
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue View File

@@ -119,7 +119,7 @@
119 119
 
120 120
             <el-button v-loading="loadingone" size="small"
121 121
                        @click="open(40)"
122
-                       v-if="org_id == 10191 || org_id == 10318 || org_id == 10567  || org_id == 10375 || org_id == 10480 || org_id == 10721  || org_id == 10724"
122
+                       v-if="org_id == 10191 || org_id == 10318 || org_id == 10567  || org_id == 10375 || org_id == 10480 || org_id == 10721 || org_id == 10724"
123 123
                        type="primary">登陆
124 124
             </el-button>
125 125
 

+ 32 - 8
src/xt_pages/stock/drugs/components/drugOutDetail.vue View File

@@ -210,7 +210,7 @@
210 210
            {{getStorehouseName(scope.row.storehouse_id)}}
211 211
           </template>
212 212
         </el-table-column>
213
-        <el-table-column label="出价" align="center">
213
+        <el-table-column label="出价" align="center">
214 214
           <template slot-scope="scope">
215 215
            <span v-if="org_id == 9919">{{scope.row.last_price}} </span>
216 216
            <span v-else>
@@ -591,7 +591,11 @@ export default {
591 591
              if(this.org_id == 9919){
592 592
                order[i].total_price = order[i].count * order[i].last_price
593 593
                total_price += order[i].count * order[i].last_price
594
-             }else{
594
+             }else if(this.org_id == 0){
595
+                order[i].total_price = order[i].total_price
596
+             }else if(this.org_id == 10721){
597
+              order[i].total_price = order[i].total_price
598
+             } else{
595 599
                if(order[i].price > 0){
596 600
                   order[i].total_price = 0
597 601
                  if(order[i].count_unit == order[i].min_unit && order[i].max_unit!=order[i].min_unit){
@@ -601,7 +605,7 @@ export default {
601 605
                    if(order[i].is_sys == 0){
602 606
                      order[i].total_price += order[i].count * order[i].price
603 607
                    }else{
604
-                    
608
+                     
605 609
                      order[i].total_price += order[i].count * order[i].price * order[i].min_number
606 610
                    }
607 611
                  }
@@ -752,8 +756,7 @@ export default {
752 756
     },
753 757
 
754 758
      exportList(){
755
-        
756
-        
759
+         
757 760
        
758 761
         for(let i=0;i<this.tablePrint.length;i++){
759 762
           this.tablePrint[i].index = i+1
@@ -770,7 +773,12 @@ export default {
770 773
              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
771 774
              this.tablePrint[i].total = this.getCountSenvenOne(this.tablePrint.drug_id,this.tablePrint[i].child,this.tablePrint[i].price)/this.tablePrint[i].min_number
772 775
             
773
-           }else{
776
+           }else if(this.org_id == 10721){
777
+            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
778
+            this.tablePrint[i].count = this.getCount(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_unit,this.tablePrint[i].min_number)
779
+            this.tablePrint[i].total_price =  ((parseInt((this.getCountSix(this.tablePrint[i].drug_id,this.tablePrint[i].child))))*this.tablePrint[i].price).toFixed(2)
780
+            this.tablePrint[i].total = this.getTotalPriceTwo(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_number,this.tablePrint[i].min_price)
781
+           } else{
774 782
               this.tablePrint[i].count = this.getCount(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_unit,this.tablePrint[i].min_number)
775 783
               this.tablePrint[i].total_price = this.getTotalPrice(this.tablePrint[i].child,this.tablePrint[i].max_unit,this.tablePrint[i].min_number,this.tablePrint[i].min_price)
776 784
               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
@@ -785,7 +793,7 @@ export default {
785 793
         
786 794
         console.log("wowowoowowowowo",this.tablePrint)
787 795
         
788
-       
796
+      
789 797
       
790 798
        import('@/vendor/Export2Excel').then(excel => {
791 799
        const tHeader = ['序号','药品名称', '规格型号','生产厂商','进销商', '单位','数量','单价','总价','出库时间','备注']
@@ -866,8 +874,15 @@ export default {
866 874
                 this.tableData[i].total_price = (this.tableData[i].count * this.tableData[i].last_price)
867 875
               }
868 876
 
869
-            }else{
877
+            }else if(this.org_id == 10721){
878
+              this.tableData[i].total = (this.tableData[i].count * this.tableData[i].price)
879
+              this.tableData[i].total_price = this.tableData[i].total_price
880
+            }else if(this.org_id == 0){
870 881
               this.tableData[i].total = (this.tableData[i].count * this.tableData[i].price)
882
+              this.tableData[i].total_price = this.tableData[i].total_price
883
+            } else{
884
+              this.tableData[i].total = (this.tableData[i].count * this.tableData[i].price)
885
+
871 886
               if(this.tableData[i].count_unit == this.tableData[i].min_unit && this.tableData[i].max_unit!=this.tableData[i].min_unit){
872 887
                  this.tableData[i].total_price = (this.tableData[i].count * this.tableData[i].price)
873 888
               }
@@ -1184,6 +1199,7 @@ export default {
1184 1199
         }
1185 1200
         return str + min_str
1186 1201
       },
1202
+      
1187 1203
       getTotalPrice(arr,max_unit,min_number,min_price){
1188 1204
         console.log("arrwoowowow",arr)
1189 1205
       
@@ -1217,6 +1233,14 @@ export default {
1217 1233
 
1218 1234
         return total*min_price
1219 1235
       },
1236
+      getTotalPriceTwo(arr,max_unit,min_number,min_price){
1237
+        var total = 0
1238
+        for(let j=0;j<arr.length;j++){
1239
+          total +=arr[j].count
1240
+        }
1241
+
1242
+        return total*min_price
1243
+      },
1220 1244
       getCountSix(drug_id,val){
1221 1245
 
1222 1246
         var count = 0

+ 1 - 0
src/xt_pages/stock/drugs/drugOutOrderPrint.vue View File

@@ -319,6 +319,7 @@
319 319
         var str = ""
320 320
         var min_str = ""
321 321
         for(let i=0;i<arr.length;i++){
322
+          console.log("arr-----",arr)
322 323
           arr[i].total_count = 0
323 324
           if(arr[i].count_unit == max_unit){
324 325
             arr[i].total_count = parseInt(arr[i].count) * min_number

+ 28 - 6
src/xt_pages/stock/drugs/drugStockFlow.vue View File

@@ -157,16 +157,24 @@
157 157
              <span > {{getDrugCount(scope.row.over_count,scope.row.BaseDrugLib.max_unit,scope.row.BaseDrugLib.min_unit,scope.row.BaseDrugLib.min_number)}}</span>
158 158
            </template>
159 159
         </el-table-column>
160
-        <el-table-column prop="remark" label="备注" align="center">
160
+        <el-table-column prop="drug_name" label="批号" align="center" v-if="this.$store.getters.xt_user.template_info.org_id == 10191">
161 161
            <template slot-scope="scope">
162
-             <span > {{scope.row.remark}}</span>
162
+             <span>{{scope.row.batch_number}}</span>
163 163
            </template>
164 164
         </el-table-column>
165
-        <!-- <el-table-column prop="drug_name" label="批号" align="center">
165
+
166
+        <el-table-column prop="remark" label="药品追溯码" align="center">
166 167
            <template slot-scope="scope">
167
-             <span>{{scope.row.batch_number}}</span>
168
+             <span> {{scope.row.drug_code }}</span>
168 169
            </template>
169
-        </el-table-column> -->
170
+        </el-table-column>
171
+
172
+        <el-table-column prop="remark" label="备注" align="center">
173
+           <template slot-scope="scope">
174
+             <span > {{scope.row.remark}}</span>
175
+           </template>
176
+        </el-table-column>
177
+       
170 178
         <!-- <el-table-column prop="drug_name" label="生产商" align="center">
171 179
            <template slot-scope="scope">
172 180
              {{getManufacturer(scope.row.manufacturer)}}
@@ -288,6 +296,7 @@
288 296
         drug:{},
289 297
         houseList:[],
290 298
         patientList:[],
299
+        adviceMap:[]
291 300
       }
292 301
     },
293 302
     methods:{
@@ -543,6 +552,8 @@
543 552
             this.patientList = response.data.data.patientList
544 553
 
545 554
             this.houseList = response.data.data.houseList
555
+
556
+           
546 557
           }
547 558
        })
548 559
      },
@@ -755,7 +766,18 @@
755 766
       getDrugFlowDetailByDrugId(params).then(response=>{
756 767
 
757 768
       })
758
-    }
769
+    },
770
+    // getDrugCode(patient_id,advice_date){
771
+    //    console.log("patinet_id========",patient_id)
772
+    //    console.log("advice_datre====",advice_date)
773
+    //   var drug_code = ""
774
+    //   for(let i=0;i<this.adviceMap.length;i++){
775
+    //    if(patient_id == this.adviceMap[i].patient_id && advice_date == this.adviceMap[i].advice_date){
776
+    //        drug_code = this.adviceMap[i].drug_code
777
+    //    }
778
+    //   }
779
+    //   return drug_code
780
+    // }
759 781
     }
760 782
   }
761 783
 </script>

+ 8 - 6
src/xt_pages/stock/drugs/drugStockOutOrder.vue View File

@@ -304,7 +304,7 @@
304 304
                   <td style="border-right: none; border-inline-end:none;text-align: center">
305 305
                     <span v-if="is_sys==1 || is_sys == 5">{{getOutCountSix(item.warehousing_detail_id,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)}}</span>
306 306
                     <span v-if="is_sys == 12">{{getOutCountTen(item.count,scope.row.max_unit,scope.row.min_unit,scope.row.min_number)}}</span>
307
-                    <span v-if="is_sys == 0"> {{getOutCountOne(item.batch_number,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id)}} </span>
307
+                    <span v-if="is_sys == 0"> {{getOutCountOne(item.batch_number,scope.row.max_unit,scope.row.min_unit,scope.row.min_number,scope.row.drug_id,item.warehousing_detail_id)}} </span>
308 308
                   </td>
309 309
                </tr>
310 310
             </template>
@@ -1453,8 +1453,8 @@ export default {
1453 1453
           console.log("list999992332232323",list)
1454 1454
           for(let i=0;i<list.length;i++){
1455 1455
             for(let j=0;j<list[i].childOne.length;j++){
1456
-              console.log("hhhahhawiiw",this.getOutCountOne(list[i].childOne[j].batch_number,list[i].max_unit,list[i].min_unit,list[i].min_number,list[i].drug_id))
1457
-               list[i].childOne[j].over_count_total = this.getOutCountOne(list[i].childOne[j].batch_number,list[i].max_unit,list[i].min_unit,list[i].min_number,list[i].drug_id)
1456
+              console.log("hhhahhawiiw",this.getOutCountOne(list[i].childOne[j].batch_number,list[i].max_unit,list[i].min_unit,list[i].min_number,list[i].drug_id,list[i].warehouse_info_id))
1457
+               list[i].childOne[j].over_count_total = this.getOutCountOne(list[i].childOne[j].batch_number,list[i].max_unit,list[i].min_unit,list[i].min_number,list[i].drug_id,list[i].warehouse_info_id)
1458 1458
             }
1459 1459
           }
1460 1460
 
@@ -2037,8 +2037,10 @@ export default {
2037 2037
       }
2038 2038
       return max_str + min_str;
2039 2039
     },
2040
-    getOutCountOne(batch_number,max_unit,min_unit,min_number,drug_id){
2041
-    
2040
+    getOutCountOne(batch_number,max_unit,min_unit,min_number,drug_id,warehousing_detail_id){
2041
+      
2042
+      console.log("warehousing_detail_id",warehousing_detail_id)
2043
+      console.log("tabList-----------------",this.tabList)
2042 2044
       var arr = []
2043 2045
       var total = 0
2044 2046
       var max_str = ""
@@ -2046,7 +2048,7 @@ export default {
2046 2048
     
2047 2049
       for(let j=0;j<this.tabList.length;j++){
2048 2050
       
2049
-        if(batch_number == this.tabList[j].batch_number && drug_id == this.tabList[j].drug_id){
2051
+        if(batch_number == this.tabList[j].batch_number && drug_id == this.tabList[j].drug_id && warehousing_detail_id == this.tabList[j].warehousing_detail_id){
2050 2052
            arr.push(this.tabList[j])
2051 2053
         }
2052 2054
       }

+ 1 - 1
src/xt_pages/stock/query/purchaseNewStockQuery.vue View File

@@ -1226,7 +1226,7 @@ export default {
1226 1226
         })
1227 1227
        }
1228 1228
 
1229
-       if(this.org_id == 10697 || this.org_id == 0){
1229
+       if(this.org_id == 10697 || this.org_id == 0 || this.org_id == 10375){
1230 1230
         
1231 1231
         for(let i=0;i<this.tableList.length;i++){
1232 1232
           this.tableList[i].index = i+1

+ 14 - 3
src/xt_pages/stock/stockFlow.vue View File

@@ -116,11 +116,11 @@
116 116
         </el-table-column>
117 117
    
118 118
 
119
-       <!-- <el-table-column label="批次" align="center">
119
+       <el-table-column label="批次" align="center" v-if="this.$store.getters.xt_user.template_info.org_id == 10191">
120 120
          <template slot-scope="scope">
121 121
            <span>{{scope.row.number}}</span>
122 122
          </template>
123
-       </el-table-column> -->
123
+       </el-table-column>
124 124
 
125 125
     
126 126
         <el-table-column prop="drug_name" label="单价"  align="center">
@@ -154,6 +154,13 @@
154 154
              <span > {{scope.row.over_count}}</span>
155 155
            </template>
156 156
         </el-table-column>
157
+
158
+        <el-table-column prop="drug_name" label="耗材追溯码" align="center">
159
+           <template slot-scope="scope">
160
+             <span > {{scope.row.good_code}}</span>
161
+           </template>
162
+        </el-table-column>
163
+
157 164
         <el-table-column prop="remark" label="备注" align="center">
158 165
            <template slot-scope="scope">
159 166
              <span > {{scope.row.remark}}</span>
@@ -264,7 +271,9 @@
264 271
         cancelCountList:[],
265 272
         good:{},
266 273
         houseList:[],
267
-        patientList:[]
274
+        patientList:[],
275
+        hisPrescription:[]
276
+
268 277
       }
269 278
     },
270 279
     methods:{
@@ -474,6 +483,8 @@
474 483
            this.houseList = response.data.data.houseList
475 484
            this.patientList = response.data.data.patients
476 485
 
486
+
487
+
477 488
           
478 489
           }
479 490
        })