瀏覽代碼

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

yq1 1 周之前
父節點
當前提交
60709651f3

+ 10 - 0
src/api/drug/drug.js 查看文件

954
     method:"Get",
954
     method:"Get",
955
     params:params
955
     params:params
956
   })
956
   })
957
+}
958
+
959
+
960
+export function getSelfDrugWarhouseInfo(params){
961
+
962
+  return request({
963
+    url:"/api/drug/getselfdrugwarehouseinfo",
964
+    method:"get",
965
+    params:params,
966
+  })
957
 }
967
 }

+ 25 - 0
src/xt_pages/dialysis/details/dialog/acceptsTreatmentDialog.vue 查看文件

478
         accepts.consciousness = 1
478
         accepts.consciousness = 1
479
         accepts.appetite =1
479
         accepts.appetite =1
480
 
480
 
481
+        if(this.$store.getters.xt_user.template_info.org_id== 10293 || this.$store.getters.xt_user.template_info.org_id == 0){
482
+          accepts.way =1 
483
+          accepts.posture = 1
484
+          accepts.consciousness =1
485
+          accepts.appetite =1
486
+          accepts.danger_level=1
487
+          console.log("this.precaution_arr",this.precaution_arr)
488
+          this.receiveTreatmentAsses.way =1
489
+          this.receiveTreatmentAsses.consciousness =2
490
+          this.receiveTreatmentAsses.appetite =2
491
+          this.receiveTreatmentAsses.posture= 1
492
+          this.receiveTreatmentAsses.danger_level=2
493
+          this.receiveTreatmentAsses.precaution = 3
494
+          var arr = [3,4]
495
+          this.precautionTwo.push(...arr)
496
+          this.receiveTreatmentAsses.precaution = this.precautionTwo   
497
+          accepts.precaution= ""
498
+          accepts.precaution = "3,4"
499
+          
500
+       }
501
+
481
       }
502
       }
482
       this.accepts = accepts;
503
       this.accepts = accepts;
483
      console.log("accepts", accepts);
504
      console.log("accepts", accepts);
770
     if(this.lastTreat!=null){
791
     if(this.lastTreat!=null){
771
       if(this.receiveTreatmentAsses.condition ==1){
792
       if(this.receiveTreatmentAsses.condition ==1){
772
         this.receiveTreatmentAsses.admission_number = this.lastTreat.admission_number
793
         this.receiveTreatmentAsses.admission_number = this.lastTreat.admission_number
794
+        this.receiveTreatmentAsses.his_bed = this.lastTreat.his_bed
795
+        this.receiveTreatmentAsses.his_department = this.lastTreat.his_department
773
       }
796
       }
774
     
797
     
775
     }
798
     }
789
     // console.log("风险", this.precaution_arr);
812
     // console.log("风险", this.precaution_arr);
790
     this.intake_arr = getDataConfig("hemodialysis", "intake");
813
     this.intake_arr = getDataConfig("hemodialysis", "intake");
791
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
814
     this.nutrition_arr = getDataConfig("hemodialysis", "nutrition");
815
+
816
+   
792
   },
817
   },
793
  
818
  
794
 };
819
 };

+ 106 - 7
src/xt_pages/dialysis/patientAdviceList.vue 查看文件

71
                         </div>
71
                         </div>
72
                     </div> -->
72
                     </div> -->
73
                     <el-table :data="tableData" border style="width: 100%;" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
73
                     <el-table :data="tableData" border style="width: 100%;" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
74
-                        <el-table-column align="center" prop="dialysis_no" label="药品名称">
74
+                       
75
+                      <el-table-column align="center" prop="dialysis_no" label="药品编号">
76
+                            <template slot-scope="scope">
77
+                                {{ scope.row.drug_id }}
78
+                            </template>
79
+                        </el-table-column>
80
+                       <el-table-column align="center" prop="dialysis_no" label="药品名称">
75
                             <template slot-scope="scope">
81
                             <template slot-scope="scope">
76
-                                {{ scope.row.advice_name }}
82
+                               <span v-if="scope.row.drug_id >0">
83
+                                 {{ scope.row.advice_name }}
84
+                               </span>
85
+                               <span v-if="scope.row.drug_id ==0" style="color: red;">
86
+                                 {{ scope.row.advice_name }}
87
+                               </span>
77
                             </template>
88
                             </template>
78
                         </el-table-column>
89
                         </el-table-column>
79
                         <el-table-column align="center" prop="name" label="规格名称">
90
                         <el-table-column align="center" prop="name" label="规格名称">
80
                             <template slot-scope="scope">{{ scope.row.specification_name }}</template>
91
                             <template slot-scope="scope">{{ scope.row.specification_name }}</template>
81
                         </el-table-column>
92
                         </el-table-column>
93
+
94
+                        <el-table-column align="center" prop="name" label="自备药入库数量">
95
+                            <template slot-scope="scope">
96
+                              {{ getCountInfo(scope.row.drug_id) }}
97
+                            </template>
98
+                        </el-table-column>
82
                        
99
                        
83
                         <el-table-column align="center" prop="name" label="开药数量">
100
                         <el-table-column align="center" prop="name" label="开药数量">
84
                             <template slot-scope="scope">
101
                             <template slot-scope="scope">
85
                               {{getTotal(scope.row.child)}}
102
                               {{getTotal(scope.row.child)}}
86
                             </template>
103
                             </template>
87
                         </el-table-column>
104
                         </el-table-column>
105
+
106
+                        <el-table-column align="center" prop="name" label="剩余数量">
107
+                            <template slot-scope="scope">
108
+                               {{ getCountInfo(scope.row.drug_id) - getTotal(scope.row.child)}}
109
+                            </template>
110
+                        </el-table-column>
88
                         <el-table-column align="center" prop="dialysis_no" label="单位">
111
                         <el-table-column align="center" prop="dialysis_no" label="单位">
89
                             <template slot-scope="scope">{{scope.row.prescribing_number_unit}}</template>
112
                             <template slot-scope="scope">{{scope.row.prescribing_number_unit}}</template>
90
                         </el-table-column>
113
                         </el-table-column>
91
                        
114
                        
92
                        
115
                        
93
-                        <el-table-column align="center" prop="name" label="操作">
116
+                        <el-table-column align="center" prop="name" label="操作" width="300">
94
                             <template slot-scope="scope">
117
                             <template slot-scope="scope">
95
-                                <el-button size="mini" type="primary" @click="toDetail(scope.row.advice_name,scope.row.patient_id)">明细</el-button>
118
+                                <el-button size="mini" type="primary" @click="getSelfDrugWarhouseInfo(scope.row.drug_id,scope.row.patient_id)">入库明细</el-button>
119
+                                <el-button size="mini" type="primary" @click="toDetail(scope.row.advice_name,scope.row.patient_id)">使用明细</el-button>
96
                             </template>
120
                             </template>
97
                         </el-table-column>
121
                         </el-table-column>
98
                     </el-table>
122
                     </el-table>
132
             <el-button type="primary" @click="adviceDialogVisible = false">确 定</el-button>
156
             <el-button type="primary" @click="adviceDialogVisible = false">确 定</el-button>
133
         </span>
157
         </span>
134
      </el-dialog>
158
      </el-dialog>
159
+
160
+
161
+     <el-dialog
162
+         title="入库详情"
163
+        :visible.sync="drugInfoDialogVisible"
164
+        width="50%">
165
+        <span>
166
+         <el-table :data="drugWarehouseInfo" border style="width: 100%;" :row-style="{ color: '#303133' }" :header-cell-style="{backgroundColor: 'rgb(245, 247, 250)',color: '#606266'}" highlight-current-row>
167
+                
168
+                <el-table-column align="center" prop="name" label="入库时间">
169
+                    <template slot-scope="scope">{{getTime(scope.row.ctime)}}</template>
170
+                </el-table-column>
171
+                
172
+                <el-table-column align="center" prop="name" label="入库数量">
173
+                    <template slot-scope="scope">
174
+                        {{scope.row.warehousing_count}}
175
+                    </template>
176
+                </el-table-column>
177
+                <el-table-column align="center" prop="dialysis_no" label="单位">
178
+                    <template slot-scope="scope">{{scope.row.max_unit}}</template>
179
+                </el-table-column>
180
+                
181
+                
182
+            </el-table> 
183
+        </span>
184
+        <span slot="footer" class="dialog-footer">
185
+            <el-button @click="drugInfoDialogVisible = false">取 消</el-button>
186
+            <el-button type="primary" @click="drugInfoDialogVisible = false">确 定</el-button>
187
+        </span>
188
+     </el-dialog>
135
     </div>
189
     </div>
136
 </template>
190
 </template>
137
 
191
 
141
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
195
 import BreadCrumb from "@/xt_pages/components/bread-crumb";
142
 const moment = require('moment')
196
 const moment = require('moment')
143
 import { PostSearch } from '@/api/patient'
197
 import { PostSearch } from '@/api/patient'
144
-import { getCurrentPatient,saveRadio,getPatientAdviceList,DeleteDrugNameById,getDrugSet,getPatientDetail,getPatientAdviceListDetail} from "@/api/drug/drug"
198
+import { getCurrentPatient,saveRadio,getPatientAdviceList,DeleteDrugNameById,getDrugSet,getPatientDetail,getPatientAdviceListDetail,getSelfDrugWarhouseInfo} from "@/api/drug/drug"
145
 import { TimeSelect } from "element-ui";
199
 import { TimeSelect } from "element-ui";
146
 import { uParseTime } from '@/utils/tools'
200
 import { uParseTime } from '@/utils/tools'
147
 export default {
201
 export default {
172
             outStocklist:[],
226
             outStocklist:[],
173
             outList:[],
227
             outList:[],
174
             tableList:[],
228
             tableList:[],
175
-            adviceDialogVisible:false
229
+            adviceDialogVisible:false,
230
+            drugInfo:[],
231
+            drugWarehouseInfo:[],
232
+            drugInfoDialogVisible:false
176
         }
233
         }
177
     },
234
     },
178
     methods:{
235
     methods:{
294
                    }
351
                    }
295
                    this.tableData = []
352
                    this.tableData = []
296
                    this.tableData = arr
353
                    this.tableData = arr
354
+
355
+                  var drugInfo  = response.data.data.drugInfo
356
+
357
+                  this.drugInfo = drugInfo
358
+
359
+                  console.log("drugInfo============",drugInfo)
297
                 }
360
                 }
298
               
361
               
299
               }
362
               }
406
         }else {
469
         }else {
407
             return uParseTime(val, '{y}-{m}-{d}')
470
             return uParseTime(val, '{y}-{m}-{d}')
408
         }
471
         }
409
-     },
472
+       },
473
+       getCountInfo(drug_id){
474
+        var count = 0
475
+        var arr = []
476
+        for(let i=0;i<this.drugInfo.length;i++){
477
+          if(drug_id == this.drugInfo[i].drug_id){
478
+              arr.push(this.drugInfo[i])
479
+          }
480
+        }
481
+        if(arr!=null && arr.length>0){
482
+          for(let i =0;i<arr.length;i++){
483
+             count+=arr[i].warehousing_count
484
+          }
485
+        }
486
+        if (count > 0) {
487
+           return count
488
+        }else{
489
+          return ""
490
+        }
491
+       },
492
+       getSelfDrugWarhouseInfo(drug_id,patient_id){
493
+          var params = {
494
+            drug_id:drug_id,
495
+            patient_id:patient_id
496
+          }
497
+         getSelfDrugWarhouseInfo(params).then(response=>{
498
+          
499
+            if(response.data.state ==1){
500
+             
501
+              var drugWarehouseInfo = response.data.data.drugInfo
502
+
503
+              this.drugWarehouseInfo = drugWarehouseInfo
504
+              this.drugInfoDialogVisible = true
505
+             
506
+            }
507
+         })
508
+       }
410
 
509
 
411
     },
510
     },
412
     created(){
511
     created(){

+ 7 - 5
src/xt_pages/outpatientCharges/outpatientChargesManagement.vue 查看文件

1193
         { value: 12, label: '门诊挂号' },
1193
         { value: 12, label: '门诊挂号' },
1194
         { value: 1102, label: '新冠门诊' },
1194
         { value: 1102, label: '新冠门诊' },
1195
         { value: 14, label: '门诊特殊病' },
1195
         { value: 14, label: '门诊特殊病' },
1196
+        { value: '140201', label: '门诊特殊病(140201)' },
1196
         { value: '992102', label: '单病种(992102)' },
1197
         { value: '992102', label: '单病种(992102)' },
1197
         { value: '140104', label: '城乡门诊特殊病(140104)' },
1198
         { value: '140104', label: '城乡门诊特殊病(140104)' },
1198
         { value: '1104', label: '异地门特'},
1199
         { value: '1104', label: '异地门特'},
5935
             case 992102:
5936
             case 992102:
5936
               return '单病种(992102)' + '处方' + index
5937
               return '单病种(992102)' + '处方' + index
5937
               break
5938
               break
5938
-            case 1104:
5939
-              return '异地门特(1104)' + '处方' + index
5940
-              break
5941
 
5939
 
5942
             case 140104:
5940
             case 140104:
5943
               return '门诊特殊病(140104)' + '处方' + index
5941
               return '门诊特殊病(140104)' + '处方' + index
5944
               break
5942
               break
5945
-
5943
+            case 140201:
5944
+              return '门诊特殊病(140201)' + '处方' + index
5945
+              break
5946
             case 999999:
5946
             case 999999:
5947
               return '自费' + '处方' + index
5947
               return '自费' + '处方' + index
5948
               break
5948
               break
5991
             case 990101:
5991
             case 990101:
5992
               return '单病种(990101)' + '处方' + index
5992
               return '单病种(990101)' + '处方' + index
5993
               break
5993
               break
5994
-
5994
+            case 140201:
5995
+              return '门诊特殊病(140201)' + '处方' + index
5996
+              break
5995
           }
5997
           }
5996
 
5998
 
5997
 
5999
 

+ 1 - 4
src/xt_pages/outpatientDoctorStation/components/deskPrescription.vue 查看文件

661
         { value: 9922, label: '家庭通道' },
661
         { value: 9922, label: '家庭通道' },
662
         { value: 9933, label: '门诊特殊病(9933)' },
662
         { value: 9933, label: '门诊特殊病(9933)' },
663
         { value: 990602, label: '门诊特殊病(990602)' },
663
         { value: 990602, label: '门诊特殊病(990602)' },
664
-
664
+        { value: 140201, label: '门诊特病(140201)' },
665
         { value: 992102, label: '单病种(992102)' },
665
         { value: 992102, label: '单病种(992102)' },
666
         { value: 140104, label: '城乡门诊特殊病(140104)' },
666
         { value: 140104, label: '城乡门诊特殊病(140104)' },
667
-
668
         { value: 1402, label: '门诊特殊病(1402)' },
667
         { value: 1402, label: '门诊特殊病(1402)' },
669
         { value: 1401, label: '门诊慢特病(1401)' },
668
         { value: 1401, label: '门诊慢特病(1401)' },
670
         { value: 2302, label: '异地就医(2302)' },
669
         { value: 2302, label: '异地就医(2302)' },
673
         { value: 999999, label: '自费' },
672
         { value: 999999, label: '自费' },
674
         { value: 118801, label: '118801' }
673
         { value: 118801, label: '118801' }
675
 
674
 
676
-
677
-
678
       ],
675
       ],
679
       register10721: [
676
       register10721: [
680
         { value: 11, label: '普通门诊' },
677
         { value: 11, label: '普通门诊' },

+ 2 - 1
src/xt_pages/outpatientTool/components/print9919.vue 查看文件

1
 <template>
1
 <template>
2
   <div id="statement-print" class="statement-print">
2
   <div id="statement-print" class="statement-print">
3
-    <div class="statementTitle" v-if="this.$store.getters.xt_user.org.id != 10480">广东省社会医疗保险医疗费用结算单</div>
3
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org.id != 10480 && this.$store.getters.xt_user.org.id != 10387">广东省社会医疗保险医疗费用结算单</div>
4
+    <div class="statementTitle" v-if="this.$store.getters.xt_user.org.id == 10387">湖南省社会医疗保险医疗费用结算单</div>
4
     <div class="statementTitle" v-else>安徽省社会医疗保险医疗费用结算单</div>
5
     <div class="statementTitle" v-else>安徽省社会医疗保险医疗费用结算单</div>
5
     <table class="statementTable" border="1" style="border-collapse: collapse;">
6
     <table class="statementTable" border="1" style="border-collapse: collapse;">
6
       <tr>
7
       <tr>

+ 32 - 8
src/xt_pages/stock/drugs/components/drugOutDetail.vue 查看文件

210
            {{getStorehouseName(scope.row.storehouse_id)}}
210
            {{getStorehouseName(scope.row.storehouse_id)}}
211
           </template>
211
           </template>
212
         </el-table-column>
212
         </el-table-column>
213
-        <el-table-column label="出价" align="center">
213
+        <el-table-column label="出价" align="center">
214
           <template slot-scope="scope">
214
           <template slot-scope="scope">
215
            <span v-if="org_id == 9919">{{scope.row.last_price}} </span>
215
            <span v-if="org_id == 9919">{{scope.row.last_price}} </span>
216
            <span v-else>
216
            <span v-else>
591
              if(this.org_id == 9919){
591
              if(this.org_id == 9919){
592
                order[i].total_price = order[i].count * order[i].last_price
592
                order[i].total_price = order[i].count * order[i].last_price
593
                total_price += order[i].count * order[i].last_price
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
                if(order[i].price > 0){
599
                if(order[i].price > 0){
596
                   order[i].total_price = 0
600
                   order[i].total_price = 0
597
                  if(order[i].count_unit == order[i].min_unit && order[i].max_unit!=order[i].min_unit){
601
                  if(order[i].count_unit == order[i].min_unit && order[i].max_unit!=order[i].min_unit){
601
                    if(order[i].is_sys == 0){
605
                    if(order[i].is_sys == 0){
602
                      order[i].total_price += order[i].count * order[i].price
606
                      order[i].total_price += order[i].count * order[i].price
603
                    }else{
607
                    }else{
604
-                    
608
+                     
605
                      order[i].total_price += order[i].count * order[i].price * order[i].min_number
609
                      order[i].total_price += order[i].count * order[i].price * order[i].min_number
606
                    }
610
                    }
607
                  }
611
                  }
752
     },
756
     },
753
 
757
 
754
      exportList(){
758
      exportList(){
755
-        
756
-        
759
+         
757
        
760
        
758
         for(let i=0;i<this.tablePrint.length;i++){
761
         for(let i=0;i<this.tablePrint.length;i++){
759
           this.tablePrint[i].index = i+1
762
           this.tablePrint[i].index = i+1
770
              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
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
              this.tablePrint[i].total = this.getCountSenvenOne(this.tablePrint.drug_id,this.tablePrint[i].child,this.tablePrint[i].price)/this.tablePrint[i].min_number
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
               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)
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
               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)
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
               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
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
         
793
         
786
         console.log("wowowoowowowowo",this.tablePrint)
794
         console.log("wowowoowowowowo",this.tablePrint)
787
         
795
         
788
-       
796
+      
789
       
797
       
790
        import('@/vendor/Export2Excel').then(excel => {
798
        import('@/vendor/Export2Excel').then(excel => {
791
        const tHeader = ['序号','药品名称', '规格型号','生产厂商','进销商', '单位','数量','单价','总价','出库时间','备注']
799
        const tHeader = ['序号','药品名称', '规格型号','生产厂商','进销商', '单位','数量','单价','总价','出库时间','备注']
866
                 this.tableData[i].total_price = (this.tableData[i].count * this.tableData[i].last_price)
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
               this.tableData[i].total = (this.tableData[i].count * this.tableData[i].price)
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
               if(this.tableData[i].count_unit == this.tableData[i].min_unit && this.tableData[i].max_unit!=this.tableData[i].min_unit){
886
               if(this.tableData[i].count_unit == this.tableData[i].min_unit && this.tableData[i].max_unit!=this.tableData[i].min_unit){
872
                  this.tableData[i].total_price = (this.tableData[i].count * this.tableData[i].price)
887
                  this.tableData[i].total_price = (this.tableData[i].count * this.tableData[i].price)
873
               }
888
               }
1184
         }
1199
         }
1185
         return str + min_str
1200
         return str + min_str
1186
       },
1201
       },
1202
+      
1187
       getTotalPrice(arr,max_unit,min_number,min_price){
1203
       getTotalPrice(arr,max_unit,min_number,min_price){
1188
         console.log("arrwoowowow",arr)
1204
         console.log("arrwoowowow",arr)
1189
       
1205
       
1217
 
1233
 
1218
         return total*min_price
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
       getCountSix(drug_id,val){
1244
       getCountSix(drug_id,val){
1221
 
1245
 
1222
         var count = 0
1246
         var count = 0

+ 1 - 0
src/xt_pages/stock/drugs/drugOutOrderPrint.vue 查看文件

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

+ 1 - 1
src/xt_pages/stock/query/purchaseNewStockQuery.vue 查看文件

1164
    },
1164
    },
1165
    exportList: function() {
1165
    exportList: function() {
1166
 
1166
 
1167
-       if(this.org_id!=0&& this.org_id!=9956 && this.org_id!=10697){
1167
+       if(this.org_id!=0&& this.org_id!=9956 && this.org_id!=10697 && this.org_id!=10375){
1168
          
1168
          
1169
         for(let i=0;i<this.tableList.length;i++){
1169
         for(let i=0;i<this.tableList.length;i++){
1170
           this.tableList[i].index = i+1
1170
           this.tableList[i].index = i+1

+ 1 - 0
src/xt_pages/stock/selfPreparedMedicine/selfDrugQuery.vue 查看文件

12
             
12
             
13
               <el-tab-pane label="患者查询" name="second">
13
               <el-tab-pane label="患者查询" name="second">
14
                   <patient-drug-query ref="mychildtwo"></patient-drug-query>
14
                   <patient-drug-query ref="mychildtwo"></patient-drug-query>
15
+
15
               </el-tab-pane>
16
               </el-tab-pane>
16
           </el-tabs>
17
           </el-tabs>
17
        </div>
18
        </div>