28169 1 年間 前
コミット
289a939d10

+ 17 - 0
src/xt_pages/Pharmacy/PatientDispensing.vue ファイルの表示

227
                 }}</span>
227
                 }}</span>
228
               </template>
228
               </template>
229
             </el-table-column>
229
             </el-table-column>
230
+            <el-table-column label="国家编码" width="162" align="center">
231
+              <template slot-scope="scope">
232
+                <span>{{getDrugName(scope.row.DrugId)}}</span>
233
+              </template>
234
+            </el-table-column>
230
             <el-table-column label="备注" width="170" align="center">
235
             <el-table-column label="备注" width="170" align="center">
231
               <template slot-scope="scope">
236
               <template slot-scope="scope">
232
                 <span>{{ scope.row.Remarks ? scope.row.Remarks : "" }}</span>
237
                 <span>{{ scope.row.Remarks ? scope.row.Remarks : "" }}</span>
319
       shift: 0, //班次
324
       shift: 0, //班次
320
       fen: [],
325
       fen: [],
321
       partition: 0, //分区
326
       partition: 0, //分区
327
+      drugList:[],
322
     };
328
     };
323
   },
329
   },
324
   watch: {},
330
   watch: {},
451
         if (res.data.state == 1) {
457
         if (res.data.state == 1) {
452
           this.waitmount = res.data.data.itotal;
458
           this.waitmount = res.data.data.itotal;
453
           this.alreadmount = res.data.data.wtotal;
459
           this.alreadmount = res.data.data.wtotal;
460
+          this.drugList = res.data.data.drug
454
         }
461
         }
455
       });
462
       });
456
       // console.log("2222222")
463
       // console.log("2222222")
706
         })
713
         })
707
         .catch(() => {});
714
         .catch(() => {});
708
     },
715
     },
716
+    getDrugName(drug_id){
717
+    
718
+      var  medical_insurance_number = ""
719
+      for(let i=0;i<this.drugList.length;i++){
720
+       if(drug_id == this.drugList[i].id){
721
+        medical_insurance_number = this.drugList[i].medical_insurance_number
722
+       }
723
+      }
724
+      return medical_insurance_number
725
+    }
709
   },
726
   },
710
 };
727
 };
711
 </script>
728
 </script>

+ 4 - 4
src/xt_pages/device/objectTableDisinfectTwo.vue ファイルの表示

1538
       },
1538
       },
1539
       created(){
1539
       created(){
1540
         var  disinfection_fluid = getManageMentDataConfig('management', 'disinfection_fluid')
1540
         var  disinfection_fluid = getManageMentDataConfig('management', 'disinfection_fluid')
1541
-        console.log("disinfection_fluid",disinfection_fluid)
1541
+      
1542
         for(let i=0;i<disinfection_fluid.length;i++){
1542
         for(let i=0;i<disinfection_fluid.length;i++){
1543
           this.disInfectionWaterList.push(disinfection_fluid[i])
1543
           this.disInfectionWaterList.push(disinfection_fluid[i])
1544
         }
1544
         }
1545
 
1545
 
1546
         var  disinfection_methods = getManageMentDataConfig('management', 'disinfection_methods')
1546
         var  disinfection_methods = getManageMentDataConfig('management', 'disinfection_methods')
1547
-        console.log("disinfection_methods",disinfection_methods)
1547
+       
1548
         for(let i=0;i<disinfection_methods.length;i++){
1548
         for(let i=0;i<disinfection_methods.length;i++){
1549
           this.DisinfectionMode.push(disinfection_methods[i])
1549
           this.DisinfectionMode.push(disinfection_methods[i])
1550
         }
1550
         }
1551
         var  disinfection_offices = getManageMentDataConfig('management', 'disinfection_object')
1551
         var  disinfection_offices = getManageMentDataConfig('management', 'disinfection_object')
1552
-        console.log("disinfection_offices",disinfection_offices)
1552
+        
1553
         for(let i=0;i<disinfection_offices.length;i++){
1553
         for(let i=0;i<disinfection_offices.length;i++){
1554
           this.disinfectionOfficeList.push(disinfection_offices[i])
1554
           this.disinfectionOfficeList.push(disinfection_offices[i])
1555
         }
1555
         }
2098
            if(response.data.state==1){
2098
            if(response.data.state==1){
2099
              var objctSet = response.data.data.objctSet
2099
              var objctSet = response.data.data.objctSet
2100
              if(objctSet!=undefined){
2100
              if(objctSet!=undefined){
2101
-                this.art_way_one = objctSet.air_way.toString()
2101
+                this.art_way_one = objctSet.air_way
2102
              }
2102
              }
2103
             
2103
             
2104
            }
2104
            }

+ 6 - 2
src/xt_pages/outpatientCharges/components/registerDialog.vue ファイルの表示

173
           </el-option>
173
           </el-option>
174
         </el-select>
174
         </el-select>
175
       </el-form-item>
175
       </el-form-item>
176
+      <el-form-item label="医师编码:">
177
+         <el-input v-model="form.doctor_number"></el-input>
178
+      </el-form-item>
176
       <el-form-item label="科室:" prop="department">
179
       <el-form-item label="科室:" prop="department">
177
         <el-select v-model="form.department" placeholder="请选择">
180
         <el-select v-model="form.department" placeholder="请选择">
178
           <el-option
181
           <el-option
387
           medical_expenses: '',
390
           medical_expenses: '',
388
           cost: '',
391
           cost: '',
389
           phone: '',
392
           phone: '',
390
-          social_type: ''
393
+          social_type: '',
394
+          doctor_number:"",
391
         }
395
         }
392
 
396
 
393
       }
397
       }
526
       changeDoctor() {
530
       changeDoctor() {
527
         for (let i = 0; i < this.doctors.length; i++) {
531
         for (let i = 0; i < this.doctors.length; i++) {
528
           if (this.doctors[i].admin_user_id == this.form.doctor) {
532
           if (this.doctors[i].admin_user_id == this.form.doctor) {
529
-            console.log(this.doctors[i].department_id)
533
+            this.form.doctor_number = this.doctors[i].doctor_number
530
             this.form.department = this.doctors[i].department_id
534
             this.form.department = this.doctors[i].department_id
531
             if (this.form.department == 0) {
535
             if (this.form.department == 0) {
532
 
536
 

+ 6 - 1
src/xt_pages/outpatientCharges/components/registerDialog9504.vue ファイルの表示

165
         </el-select>
165
         </el-select>
166
       </el-form-item>
166
       </el-form-item>
167
 
167
 
168
+      <el-form-item label="医师编码:">
169
+         <el-input v-model="form.doctor_number"></el-input>
170
+      </el-form-item>
171
+
168
       <el-form-item label="科室:" prop="department" >
172
       <el-form-item label="科室:" prop="department" >
169
         <el-select v-model="form.department" placeholder="请选择">
173
         <el-select v-model="form.department" placeholder="请选择">
170
           <el-option
174
           <el-option
629
           cost: '',
633
           cost: '',
630
           phone: '',
634
           phone: '',
631
           social_type: '',
635
           social_type: '',
636
+          doctor_number:"",
632
         }, IDCardTypes: [{
637
         }, IDCardTypes: [{
633
           value: 1,
638
           value: 1,
634
           label: '社保卡'
639
           label: '社保卡'
903
       changeDoctor() {
908
       changeDoctor() {
904
         for (let i = 0; i < this.doctors.length; i++) {
909
         for (let i = 0; i < this.doctors.length; i++) {
905
           if (this.doctors[i].admin_user_id == this.form.doctor) {
910
           if (this.doctors[i].admin_user_id == this.form.doctor) {
906
-            console.log(this.doctors[i].department_id)
911
+            this.form.doctor_number = this.doctors[i].doctor_number
907
             this.form.department = this.doctors[i].department_id
912
             this.form.department = this.doctors[i].department_id
908
             if(this.form.department == 0){
913
             if(this.form.department == 0){
909
 
914
 

+ 17 - 1
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue ファイルの表示

105
                     </el-select>
105
                     </el-select>
106
                 </template>
106
                 </template>
107
             </el-table-column>
107
             </el-table-column>
108
+            <el-table-column align="center" prop="remark" width="80" label="国家编码">
109
+                <template slot-scope="scope">
110
+                    <el-input   v-model="scope.row.drug.medical_insurance_number" placeholder=""></el-input>
111
+                </template>
112
+            </el-table-column>
108
             <el-table-column align="center" prop="remark" width="50" label="备注">
113
             <el-table-column align="center" prop="remark" width="50" label="备注">
109
                 <template slot-scope="scope">
114
                 <template slot-scope="scope">
110
                     <el-input :disabled="prescription.is_medicine_status"  v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
115
                     <el-input :disabled="prescription.is_medicine_status"  v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
183
 
188
 
184
                 </template>
189
                 </template>
185
             </el-table-column>
190
             </el-table-column>
191
+            <el-table-column align="center" prop="name" width="50" label="国家编码">
192
+                <template slot-scope="scope" v-if="scope.row.type==3">
193
+                    <el-input v-model="scope.row.good_info.social_security_directory_code"></el-input>
194
+                </template>
195
+                <template slot-scope="scope" v-if="scope.row.type==2">
196
+                    <el-input v-model="scope.row.project.medical_code"></el-input>
197
+                </template>
198
+            </el-table-column>
186
             <el-table-column align="center" prop="name" width="50" label="备注">
199
             <el-table-column align="center" prop="name" width="50" label="备注">
187
                 <template slot-scope="scope">
200
                 <template slot-scope="scope">
188
                     <el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>
201
                     <el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>
320
             return false
333
             return false
321
           } else {
334
           } else {
322
             this.drugways = response.data.data.drugways
335
             this.drugways = response.data.data.drugways
336
+
323
             this.efs = response.data.data.efs
337
             this.efs = response.data.data.efs
324
             this.drugList = response.data.data.drugs
338
             this.drugList = response.data.data.drugs
339
+           
325
           }
340
           }
326
         })
341
         })
327
 
342
 
683
     watch: {
698
     watch: {
684
       'prescription.advices': {
699
       'prescription.advices': {
685
         handler(newVal, oldVal) {
700
         handler(newVal, oldVal) {
686
-
701
+          console.log("检查我我我我",this.prescription.advices)
702
+          console.log("检查我我我我",this.prescription.project)
687
         },
703
         },
688
         deep: true
704
         deep: true
689
       }
705
       }

+ 9 - 2
src/xt_pages/outpatientRegistration/index.vue ファイルの表示

381
                             </el-option>
381
                             </el-option>
382
                         </el-select>
382
                         </el-select>
383
                     </el-form-item>
383
                     </el-form-item>
384
+                    <el-form-item label="医师编码:">
385
+                       <el-input v-model="form.doctor_number"></el-input>
386
+                    </el-form-item>
384
                     <el-form-item label="科室:" prop="department" :validate-event="is_Name">
387
                     <el-form-item label="科室:" prop="department" :validate-event="is_Name">
385
                         <el-select v-model="form.department" placeholder="请选择">
388
                         <el-select v-model="form.department" placeholder="请选择">
386
                             <el-option
389
                             <el-option
484
           total: '',
487
           total: '',
485
           phone: '',
488
           phone: '',
486
           social_type: '',
489
           social_type: '',
487
-          id_card_type: 2
490
+          id_card_type: 2,
491
+          doctor_number:"",
488
 
492
 
489
         },
493
         },
490
         medical_care: [
494
         medical_care: [
1515
       ,
1519
       ,
1516
 
1520
 
1517
       changeDoctor(id) {
1521
       changeDoctor(id) {
1518
-
1522
+        console.log("idwowowowo",id)
1519
         for (let i = 0; i < this.doctorList.length; i++) {
1523
         for (let i = 0; i < this.doctorList.length; i++) {
1520
           if (this.doctorList[i].admin_user_id == id) {
1524
           if (this.doctorList[i].admin_user_id == id) {
1525
+            this.form.doctor_number = this.doctorList[i].doctor_number
1521
             if (this.doctorList[i].department_id == 0) {
1526
             if (this.doctorList[i].department_id == 0) {
1522
               this.form.department = this.departmentList[0].id
1527
               this.form.department = this.departmentList[0].id
1528
+              
1523
             } else {
1529
             } else {
1524
               this.form.department = this.doctorList[i].department_id
1530
               this.form.department = this.doctorList[i].department_id
1525
             }
1531
             }
1526
 
1532
 
1527
           }
1533
           }
1528
         }
1534
         }
1535
+        console.log("this.form.doctor_number",this.form.doctor_number)
1529
       },
1536
       },
1530
       changeName(id) {
1537
       changeName(id) {
1531
         this.form.sex = ''
1538
         this.form.sex = ''

+ 15 - 3
src/xt_pages/stock/inventoryTransfer/Addtrans.vue ファイルの表示

113
               </el-form-item>
113
               </el-form-item>
114
             </template>
114
             </template>
115
           </el-table-column>
115
           </el-table-column>
116
+        <el-table-column align="center" width="100">
117
+          <template slot="header" slot-scope="scope">
118
+              国家编码
119
+            </template>
120
+           <template slot-scope="scope">
121
+              {{ scope.row.medical_insurance_number? scope.row.medical_insurance_number:"" }}
122
+           </template>
123
+        </el-table-column>
116
           <el-table-column align="center" width="200">
124
           <el-table-column align="center" width="200">
117
             <template slot="header" slot-scope="scope">
125
             <template slot="header" slot-scope="scope">
118
               <span>商品类型<span style="color: red">*</span></span>
126
               <span>商品类型<span style="color: red">*</span></span>
520
           this.recordInfo.recordData[i].name = val.name;
528
           this.recordInfo.recordData[i].name = val.name;
521
           this.recordInfo.recordData[i].project_name = val.project_name;
529
           this.recordInfo.recordData[i].project_name = val.project_name;
522
           this.recordInfo.recordData[i].project_type = val.project_type;
530
           this.recordInfo.recordData[i].project_type = val.project_type;
523
-          this.recordInfo.recordData[i].second_specification_name =
524
-            val.second_specification_name;
531
+          this.recordInfo.recordData[i].second_specification_name =val.second_specification_name;
525
           this.recordInfo.recordData[i].second_total = val.second_total;
532
           this.recordInfo.recordData[i].second_total = val.second_total;
526
           this.recordInfo.recordData[i].sencond_unit = val.sencond_unit;
533
           this.recordInfo.recordData[i].sencond_unit = val.sencond_unit;
527
           this.recordInfo.recordData[i].min_price = val.min_price;
534
           this.recordInfo.recordData[i].min_price = val.min_price;
535
+          this.recordInfo.recordData[i].medical_insurance_number = val.medical_insurance_number
528
           if (val.count == NaN) {
536
           if (val.count == NaN) {
529
             this.recordInfo.recordData[i].count = "";
537
             this.recordInfo.recordData[i].count = "";
530
           } else {
538
           } else {
588
       tempObj["remake"] = "";
596
       tempObj["remake"] = "";
589
       tempObj["project_id"] = 0;
597
       tempObj["project_id"] = 0;
590
       tempObj["min_price"] = 0;
598
       tempObj["min_price"] = 0;
599
+      tempObj["medical_insurance_number"] =0
591
       this.recordInfo.recordData = []
600
       this.recordInfo.recordData = []
592
       this.recordInfo.recordData.push(tempObj);
601
       this.recordInfo.recordData.push(tempObj);
593
       if(this.storehouse_in_id == this.storehouse_out_id){
602
       if(this.storehouse_in_id == this.storehouse_out_id){
665
           drugList[i].count = "";
674
           drugList[i].count = "";
666
           drugList[i].remake = "";
675
           drugList[i].remake = "";
667
           drugList[i].min_price = drugList[i].min_price;
676
           drugList[i].min_price = drugList[i].min_price;
677
+          drugList[i].medical_insurance_number = drugList[i].medical_insurance_number
668
           if (drugList[i].max_unit != drugList[i].min_unit) {
678
           if (drugList[i].max_unit != drugList[i].min_unit) {
669
             drugList[i].unitList = [
679
             drugList[i].unitList = [
670
               { id: 1, name: "" },
680
               { id: 1, name: "" },
719
           goodList[i].sencond_unit = goodList[i].packing_unit;
729
           goodList[i].sencond_unit = goodList[i].packing_unit;
720
           goodList[i].remake = "";
730
           goodList[i].remake = "";
721
           goodList[i].min_price = goodList[i].retail_price;
731
           goodList[i].min_price = goodList[i].retail_price;
732
+          goodList[i].medical_insurance_number = goodList[i].medical_insurance_number
722
           for (let j = 0; j < goodList[i].unitList.length; j++) {
733
           for (let j = 0; j < goodList[i].unitList.length; j++) {
723
             goodList[i].unitList[0].name = goodList[i].packing_unit;
734
             goodList[i].unitList[0].name = goodList[i].packing_unit;
724
           }
735
           }
771
     tempObj["remake"] = "";
782
     tempObj["remake"] = "";
772
     tempObj["is_source"] = 0;
783
     tempObj["is_source"] = 0;
773
     tempObj["project_id"] = 0;
784
     tempObj["project_id"] = 0;
774
-    tempObj["min_price"] = 0;
785
+    tempObj["min_price"] = 0; 
786
+    tempObj["medical_insurance_number"] = ""
775
     this.recordInfo.recordData.push(tempObj);
787
     this.recordInfo.recordData.push(tempObj);
776
     this.getlist();
788
     this.getlist();
777
   },
789
   },

+ 17 - 1
src/xt_pages/stock/inventoryTransfer/transEdit.vue ファイルの表示

132
               </el-form-item>
132
               </el-form-item>
133
             </template>
133
             </template>
134
           </el-table-column>
134
           </el-table-column>
135
+          <el-table-column align="center" width="100">
136
+          <template slot="header" slot-scope="scope">
137
+              国家编码
138
+            </template>
139
+           <template slot-scope="scope">
140
+              {{ scope.row.medical_insurance_number? scope.row.medical_insurance_number:"" }}
141
+           </template>
142
+         </el-table-column>
135
           <el-table-column align="center" width="250">
143
           <el-table-column align="center" width="250">
136
             <template slot="header" slot-scope="scope">
144
             <template slot="header" slot-scope="scope">
137
               <span>规格<span style="color: red">*</span></span>
145
               <span>规格<span style="color: red">*</span></span>
451
       tempObj["remake"] = "";
459
       tempObj["remake"] = "";
452
       tempObj["project_id"] = 0;
460
       tempObj["project_id"] = 0;
453
       tempObj["min_price"] = 0;
461
       tempObj["min_price"] = 0;
462
+      tempObj["medical_insurance_number"] = ""
454
       this.recordInfo.recordData.push(tempObj);
463
       this.recordInfo.recordData.push(tempObj);
455
     },
464
     },
456
 
465
 
687
             }
696
             }
688
 
697
 
689
             drugList[i].sencond_unit = drugList[i].max_unit;
698
             drugList[i].sencond_unit = drugList[i].max_unit;
690
-            for (let j = 0; j < drugList[i].unitList.length; j++) {
699
+            drugList[i].medical_insurance_number  = drugList[i].medical_insurance_number
700
+              for (let j = 0; j < drugList[i].unitList.length; j++) {
691
               if (drugList[i].max_unit != drugList[i].min_unit) {
701
               if (drugList[i].max_unit != drugList[i].min_unit) {
692
                 drugList[i].unitList[0].name = drugList[i].max_unit;
702
                 drugList[i].unitList[0].name = drugList[i].max_unit;
693
                 drugList[i].unitList[1].name = drugList[i].min_unit;
703
                 drugList[i].unitList[1].name = drugList[i].min_unit;
730
             goodList[i].sencond_unit = goodList[i].packing_unit;
740
             goodList[i].sencond_unit = goodList[i].packing_unit;
731
             goodList[i].remake = "";
741
             goodList[i].remake = "";
732
             goodList[i].min_price = goodList[i].retail_price;
742
             goodList[i].min_price = goodList[i].retail_price;
743
+            goodList[i].medical_insurance_number = goodList[i].medical_insurance_number
733
             for (let j = 0; j < goodList[i].unitList.length; j++) {
744
             for (let j = 0; j < goodList[i].unitList.length; j++) {
734
               goodList[i].unitList[0].name = goodList[i].packing_unit;
745
               goodList[i].unitList[0].name = goodList[i].packing_unit;
735
             }
746
             }
747
+            
736
             this.tabList.push(goodList[i]);
748
             this.tabList.push(goodList[i]);
737
           }
749
           }
738
         }
750
         }
847
       tempObj["remake"] = "";
859
       tempObj["remake"] = "";
848
       tempObj["project_id"] = 0;
860
       tempObj["project_id"] = 0;
849
       tempObj["min_price"] = 0;
861
       tempObj["min_price"] = 0;
862
+      tempObj["medical_insurance_number"] = ""
850
       if(this.storehouse_in_id == this.storehouse_out_id){
863
       if(this.storehouse_in_id == this.storehouse_out_id){
851
          this.$message.error("调出仓库和调入仓库不能是同一个仓库!")
864
          this.$message.error("调出仓库和调入仓库不能是同一个仓库!")
852
          this.storehouse_out_id = ""
865
          this.storehouse_out_id = ""
925
           drugList[i].count = "";
938
           drugList[i].count = "";
926
           drugList[i].remake = "";
939
           drugList[i].remake = "";
927
           drugList[i].min_price = drugList[i].min_price;
940
           drugList[i].min_price = drugList[i].min_price;
941
+          drugList[i].medical_insurance_number = drugList[i].medical_insurance_number
928
           if (drugList[i].max_unit != drugList[i].min_unit) {
942
           if (drugList[i].max_unit != drugList[i].min_unit) {
929
             drugList[i].unitList = [
943
             drugList[i].unitList = [
930
               { id: 1, name: "" },
944
               { id: 1, name: "" },
979
           goodList[i].sencond_unit = goodList[i].packing_unit;
993
           goodList[i].sencond_unit = goodList[i].packing_unit;
980
           goodList[i].remake = "";
994
           goodList[i].remake = "";
981
           goodList[i].min_price = goodList[i].retail_price;
995
           goodList[i].min_price = goodList[i].retail_price;
996
+          goodList[i].medical_insurance_number= goodList[i].medical_insurance_number
982
           for (let j = 0; j < goodList[i].unitList.length; j++) {
997
           for (let j = 0; j < goodList[i].unitList.length; j++) {
983
             goodList[i].unitList[0].name = goodList[i].packing_unit;
998
             goodList[i].unitList[0].name = goodList[i].packing_unit;
984
           }
999
           }
1011
     tempObj["is_source"] = 0;
1026
     tempObj["is_source"] = 0;
1012
     tempObj["project_id"] = 0;
1027
     tempObj["project_id"] = 0;
1013
     tempObj["min_price"] = 0;
1028
     tempObj["min_price"] = 0;
1029
+    tempObj["medical_insurance_number"] = ""
1014
     this.recordInfo.recordData.push(tempObj);
1030
     this.recordInfo.recordData.push(tempObj);
1015
     this.getlist();
1031
     this.getlist();
1016
     this.getSencondOrderDetail();
1032
     this.getSencondOrderDetail();