Pārlūkot izejas kodu

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

csx 3 gadus atpakaļ
vecāks
revīzija
580b60d82f

+ 2 - 1
src/xt_pages/hospitalStation/components/callPrescription.vue Parādīt failu

@@ -260,7 +260,8 @@
260 260
                 single_dose_unit:prescription.doctor_advice[b].single_dose_unit,
261 261
                 prescribing_number_unit:prescription.doctor_advice[b].prescribing_number_unit,
262 262
                 medical_insurance_number:prescription.doctor_advice[b].med_list_codg,
263
-                id:prescription.doctor_advice[b].drug_id
263
+                id:prescription.doctor_advice[b].drug_id,
264
+                drug:prescription.doctor_advice[b].drug,
264 265
               };
265 266
               tempAdvice.push(obj)
266 267
 

+ 13 - 4
src/xt_pages/hospitalStation/components/deskPrescription.vue Parādīt failu

@@ -685,7 +685,10 @@
685 685
               obj['id'] = drug_month_prescriptions.advices[a].drug_id;
686 686
               // obj['retail_price'] = obj['retail_price'] +  drug_month_prescriptions.advices[a].drug.retail_price
687 687
               obj['retail_price'] = parseFloat(drug_month_prescriptions.advices[a].price);
688
-              count = count + drug_month_prescriptions.advices[a].prescribing_number
688
+              obj['drug'] = drug_month_prescriptions.advices[a].drug;
689
+
690
+
691
+                      count = count + drug_month_prescriptions.advices[a].prescribing_number
689 692
 
690 693
             }
691 694
           }
@@ -1017,7 +1020,10 @@
1017 1020
                       single_dose_unit: prescription.advices[b].single_dose_unit,
1018 1021
                       prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1019 1022
                       medical_insurance_number: prescription.advices[b].med_list_codg,
1020
-                      id: prescription.advices[b].drug_id
1023
+                      id: prescription.advices[b].drug_id,
1024
+                      drug:prescription.advices[b].drug,
1025
+
1026
+
1021 1027
                     };
1022 1028
                     tempAdvice.push(obj)
1023 1029
                   }
@@ -1132,7 +1138,9 @@
1132 1138
                       single_dose_unit: prescription.advices[b].single_dose_unit,
1133 1139
                       prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1134 1140
                       medical_insurance_number: prescription.advices[b].med_list_codg,
1135
-                      id: prescription.advices[b].drug_id
1141
+                      id: prescription.advices[b].drug_id,
1142
+                      drug:prescription.advices[b].drug,
1143
+
1136 1144
                     };
1137 1145
                     tempAdvice.push(obj)
1138 1146
                   }
@@ -2415,7 +2423,8 @@
2415 2423
                   prescribing_number: temp[b].prescribing_number,
2416 2424
                   single_dose_unit: temp[b].min_unit,
2417 2425
                   prescribing_number_unit: temp[b].max_unit,
2418
-                  medical_insurance_number: temp[b].medical_insurance_number
2426
+                  medical_insurance_number: temp[b].medical_insurance_number,
2427
+                  drug: temp[b],
2419 2428
 
2420 2429
                 };
2421 2430
 

+ 2 - 1
src/xt_pages/hospitalStation/components/nextOrLastPrescription.vue Parādīt failu

@@ -317,7 +317,8 @@
317 317
                 single_dose_unit:prescription.doctor_advice[b].single_dose_unit,
318 318
                 prescribing_number_unit:prescription.doctor_advice[b].prescribing_number_unit,
319 319
                 medical_insurance_number:prescription.doctor_advice[b].med_list_codg,
320
-                id:prescription.doctor_advice[b].drug_id
320
+                id:prescription.doctor_advice[b].drug_id,
321
+                drug:prescription.doctor_advice[b].drug,
321 322
               };
322 323
               tempAdvice.push(obj)
323 324
 

+ 18 - 6
src/xt_pages/hospitalStation/doctorDesk.vue Parādīt failu

@@ -463,6 +463,8 @@
463 463
               obj['id'] = drug_month_prescriptions.advices[a].drug_id;
464 464
               // obj['retail_price'] = obj['retail_price'] +  drug_month_prescriptions.advices[a].drug.retail_price
465 465
               obj['retail_price'] = parseFloat(drug_month_prescriptions.advices[a].price);
466
+              obj['drug'] = drug_month_prescriptions.advices[a].drug
467
+
466 468
               count = count + drug_month_prescriptions.advices[a].prescribing_number
467 469
 
468 470
             }
@@ -873,7 +875,8 @@
873 875
                     single_dose_unit: prescription.advices[b].single_dose_unit,
874 876
                     prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
875 877
                     medical_insurance_number: prescription.advices[b].med_list_codg,
876
-                    id: prescription.advices[b].drug_id
878
+                    id: prescription.advices[b].drug_id,
879
+                    drug:prescription.advices[b].drug,
877 880
                   };
878 881
                   tempAdvice.push(obj)
879 882
                 }
@@ -1078,7 +1081,8 @@
1078 1081
                           single_dose_unit: prescription.advices[b].single_dose_unit,
1079 1082
                           prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1080 1083
                           medical_insurance_number: prescription.advices[b].med_list_codg,
1081
-                          id: prescription.advices[b].drug_id
1084
+                          id: prescription.advices[b].drug_id,
1085
+                          drug:prescription.advices[b].drug,
1082 1086
                         };
1083 1087
                         tempAdvice.push(obj)
1084 1088
                       }
@@ -1258,7 +1262,9 @@
1258 1262
                           single_dose_unit: prescription.advices[b].single_dose_unit,
1259 1263
                           prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1260 1264
                           medical_insurance_number: prescription.advices[b].med_list_codg,
1261
-                          id: prescription.advices[b].drug_id
1265
+                          id: prescription.advices[b].drug_id,
1266
+                          drug:prescription.advices[b].drug,
1267
+
1262 1268
                         };
1263 1269
                         tempAdvice.push(obj)
1264 1270
                       }
@@ -1442,7 +1448,9 @@
1442 1448
                           single_dose_unit: prescription.advices[b].single_dose_unit,
1443 1449
                           prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1444 1450
                           medical_insurance_number: prescription.advices[b].med_list_codg,
1445
-                          id: prescription.advices[b].drug_id
1451
+                          id: prescription.advices[b].drug_id,
1452
+                          drug:prescription.advices[b].drug,
1453
+
1446 1454
                         };
1447 1455
                         tempAdvice.push(obj)
1448 1456
                       }
@@ -1677,7 +1685,9 @@
1677 1685
                         single_dose_unit: prescription.advices[b].single_dose_unit,
1678 1686
                         prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1679 1687
                         medical_insurance_number: prescription.advices[b].med_list_codg,
1680
-                        id: prescription.advices[b].drug_id
1688
+                        id: prescription.advices[b].drug_id,
1689
+                        drug:prescription.advices[b].drug,
1690
+
1681 1691
                       };
1682 1692
                       tempAdvice.push(obj)
1683 1693
                     }
@@ -1865,7 +1875,9 @@
1865 1875
                       single_dose_unit: prescription.advices[b].single_dose_unit,
1866 1876
                       prescribing_number_unit: prescription.advices[b].prescribing_number_unit,
1867 1877
                       medical_insurance_number: prescription.advices[b].med_list_codg,
1868
-                      id: prescription.advices[b].drug_id
1878
+                      id: prescription.advices[b].drug_id,
1879
+                      drug:prescription.advices[b].drug,
1880
+
1869 1881
                     };
1870 1882
                     tempAdvice.push(obj)
1871 1883
                   }