28169 1 year ago
parent
commit
289a939d10

+ 17 - 0
src/xt_pages/Pharmacy/PatientDispensing.vue View File

@@ -227,6 +227,11 @@
227 227
                 }}</span>
228 228
               </template>
229 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 235
             <el-table-column label="备注" width="170" align="center">
231 236
               <template slot-scope="scope">
232 237
                 <span>{{ scope.row.Remarks ? scope.row.Remarks : "" }}</span>
@@ -319,6 +324,7 @@ export default {
319 324
       shift: 0, //班次
320 325
       fen: [],
321 326
       partition: 0, //分区
327
+      drugList:[],
322 328
     };
323 329
   },
324 330
   watch: {},
@@ -451,6 +457,7 @@ export default {
451 457
         if (res.data.state == 1) {
452 458
           this.waitmount = res.data.data.itotal;
453 459
           this.alreadmount = res.data.data.wtotal;
460
+          this.drugList = res.data.data.drug
454 461
         }
455 462
       });
456 463
       // console.log("2222222")
@@ -706,6 +713,16 @@ export default {
706 713
         })
707 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 728
 </script>

+ 4 - 4
src/xt_pages/device/objectTableDisinfectTwo.vue View File

@@ -1538,18 +1538,18 @@
1538 1538
       },
1539 1539
       created(){
1540 1540
         var  disinfection_fluid = getManageMentDataConfig('management', 'disinfection_fluid')
1541
-        console.log("disinfection_fluid",disinfection_fluid)
1541
+      
1542 1542
         for(let i=0;i<disinfection_fluid.length;i++){
1543 1543
           this.disInfectionWaterList.push(disinfection_fluid[i])
1544 1544
         }
1545 1545
 
1546 1546
         var  disinfection_methods = getManageMentDataConfig('management', 'disinfection_methods')
1547
-        console.log("disinfection_methods",disinfection_methods)
1547
+       
1548 1548
         for(let i=0;i<disinfection_methods.length;i++){
1549 1549
           this.DisinfectionMode.push(disinfection_methods[i])
1550 1550
         }
1551 1551
         var  disinfection_offices = getManageMentDataConfig('management', 'disinfection_object')
1552
-        console.log("disinfection_offices",disinfection_offices)
1552
+        
1553 1553
         for(let i=0;i<disinfection_offices.length;i++){
1554 1554
           this.disinfectionOfficeList.push(disinfection_offices[i])
1555 1555
         }
@@ -2098,7 +2098,7 @@
2098 2098
            if(response.data.state==1){
2099 2099
              var objctSet = response.data.data.objctSet
2100 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 View File

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

+ 6 - 1
src/xt_pages/outpatientCharges/components/registerDialog9504.vue View File

@@ -165,6 +165,10 @@
165 165
         </el-select>
166 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 172
       <el-form-item label="科室:" prop="department" >
169 173
         <el-select v-model="form.department" placeholder="请选择">
170 174
           <el-option
@@ -629,6 +633,7 @@
629 633
           cost: '',
630 634
           phone: '',
631 635
           social_type: '',
636
+          doctor_number:"",
632 637
         }, IDCardTypes: [{
633 638
           value: 1,
634 639
           label: '社保卡'
@@ -903,7 +908,7 @@
903 908
       changeDoctor() {
904 909
         for (let i = 0; i < this.doctors.length; i++) {
905 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 912
             this.form.department = this.doctors[i].department_id
908 913
             if(this.form.department == 0){
909 914
 

+ 17 - 1
src/xt_pages/outpatientDoctorStation/components/prescriptionTable.vue View File

@@ -105,6 +105,11 @@
105 105
                     </el-select>
106 106
                 </template>
107 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 113
             <el-table-column align="center" prop="remark" width="50" label="备注">
109 114
                 <template slot-scope="scope">
110 115
                     <el-input :disabled="prescription.is_medicine_status"  v-model="scope.row.remark" :title="scope.row.remark" placeholder=""></el-input>
@@ -183,6 +188,14 @@
183 188
 
184 189
                 </template>
185 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 199
             <el-table-column align="center" prop="name" width="50" label="备注">
187 200
                 <template slot-scope="scope">
188 201
                     <el-input v-model="scope.row.remark" :title="scope.row.remark"></el-input>
@@ -320,8 +333,10 @@
320 333
             return false
321 334
           } else {
322 335
             this.drugways = response.data.data.drugways
336
+
323 337
             this.efs = response.data.data.efs
324 338
             this.drugList = response.data.data.drugs
339
+           
325 340
           }
326 341
         })
327 342
 
@@ -683,7 +698,8 @@
683 698
     watch: {
684 699
       'prescription.advices': {
685 700
         handler(newVal, oldVal) {
686
-
701
+          console.log("检查我我我我",this.prescription.advices)
702
+          console.log("检查我我我我",this.prescription.project)
687 703
         },
688 704
         deep: true
689 705
       }

+ 9 - 2
src/xt_pages/outpatientRegistration/index.vue View File

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

+ 15 - 3
src/xt_pages/stock/inventoryTransfer/Addtrans.vue View File

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

+ 17 - 1
src/xt_pages/stock/inventoryTransfer/transEdit.vue View File

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