陈少旭 1 年間 前
コミット
aa0de1f0ef

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

@@ -670,7 +670,7 @@ export default {
670 670
         })
671 671
       } else if(this.org_id == 10188 || this.org_id == 0){
672 672
         const style =
673
-          '@media print {#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBoxxxx{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;} .doctorBoxxxx p {margin-left: auto} .actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 88%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.doctorBoxtwo{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}.NoCell{display: flex;justify-content: space-between;margin-bottom: 10px;}.underLine{display: inline-block;border-bottom: 1px solid #000;text-align: center;line-height: 24px;}.basicCell{display: flex;} .basicCell span{line-height: 24px;margin-bottom: 10px;}}'
673
+          '@media print {#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;border-bottom: 2px solid #000;margin-top:10px;line-height: 1px; padding:0 10px;}.infoTitle p{width: 200px;font-size:14px;}.infoMain{display: flex;flex-wrap: wrap;border-bottom: 2px solid #000;padding:0 10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;} .doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;} .doctorBox p {margin-left: auto} .actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}@media print {html {zoom: 88%;}}#prescription-print{font-size:14px;border:1px solid white}.prescription-print:last-child {page-break-after: auto;}.printTitle{font-size: 22px;text-align: center;font-weight: bold;margin-bottom: 10px;}.infoTitle{display: flex;margin-top:10px;}.infoTitle div{width: 200px;}.infoMain{display: flex;flex-wrap: wrap;margin-top:10px;}.infoMain div{width: 50%;line-height: 24px;}.prescriptionBox{min-height:450px;}.Rp{font-size: 18px;font-weight: bold;}.drugsBox{padding-left: 40px;margin-bottom: 10px;}.drugsBox div{line-height: 20px;}.drugsOne{line-height: 24px;}.drugsOne span{margin-right: 20px;}.doctorBox{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;border-bottom: 2px solid #000;}.doctorBoxtwo{display: flex;justify-content: space-between;padding:0 10px;line-height: 24px;}.actionBar{display: flex;justify-content: space-between; line-height: 24px;padding:0 10px;}.actionBar p{width:150px;}.under_line{display: inline-block;border-bottom: 1px solid #000;flex: 1;}.NoCell{display: flex;justify-content: space-between;margin-bottom: 10px;}.underLine{display: inline-block;border-bottom: 1px solid #000;text-align: center;line-height: 24px;}.basicCell{display: flex;} .basicCell span{line-height: 24px;margin-bottom: 10px;}}'
674 674
         printJS({
675 675
           printable: 'printMain',
676 676
           type: 'html',

+ 15 - 1
src/xt_pages/outpatientDoctorStation/print.vue ファイルの表示

@@ -3,10 +3,20 @@
3 3
     <div class="dialysisPage" style="padding-top: 40px">
4 4
       <div v-if="org_id != 10138 && org_id != 10278 && org_id != 10243">
5 5
 
6
-        <printOne v-if="org_id != 10088 && org_id != 10215 && org_id != 10375" v-bind:childResponse="childResponse"
6
+        <printOne v-if="org_id != 10088 && org_id != 10215 && org_id != 10375 && org_id != 10188 && org_id != 0" v-bind:childResponse="childResponse"
7 7
         :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient"
8 8
         :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date"
9 9
         :prescription_id="prescription_id"></printOne>
10
+
11
+
12
+        <print-ten-one
13
+          v-if="org_id == 10188 || org_id == 0" v-bind:childResponse="childResponse"
14
+          :advicePrint="advicePrint" :ids="ids" :patient="patient" :hisPatient="hisPatient"
15
+          :doctorPorject="doctorPorject" :patient_id="patient_id" :record_date="record_date"
16
+          :prescription_id="prescription_id"
17
+        ></print-ten-one>
18
+
19
+
10 20
         <prinSeven v-if="org_id == 10375"
11 21
           v-bind:childResponse="childResponse"
12 22
           :advicePrint="advicePrint"
@@ -91,9 +101,13 @@ import {
91 101
   getAllDoctorList,
92 102
   getAllHisPatientList,
93 103
 } from "@/api/project/project";
104
+import PrintTen from '../outpatientCharges/invoiceTemplate/printTen.vue'
105
+import PrintTenOne from './template/printTenOne.vue'
94 106
 export default {
95 107
   name: "dialysisPrintOrder",
96 108
   components: {
109
+    PrintTenOne,
110
+    PrintTen,
97 111
     BreadCrumb,
98 112
     printOne,
99 113
     printThree,

+ 240 - 146
src/xt_pages/outpatientDoctorStation/template/printOne.vue ファイルの表示

@@ -21,65 +21,181 @@
21 21
         >
22 22
           {{ orgname }}处方笺
23 23
         </div>
24
-        <!--<div class="printTitle">{{orgname}}处方笺</div>-->
25
-        <div class="infoTitle">
26
-          <p>姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
27
-          <p>
28
-            性别:
29
-            <span v-if="item.patient.gender == 1">男</span>
30
-            <span v-if="item.patient.gender == 2">女</span>
31
-          </p>
32
-          <p>年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>
33
-        </div>
34
-        <div class="infoMain">
35
-          <div style="margin-bottom: 10px">
36
-            门诊号:{{ hisPatient.number ? hisPatient.number : "" }}
37
-          </div>
38
-          <div style="margin-bottom: 10px">
39
-            科室:{{ item.info ? getDepart(item.info.departments) : "" }}
40
-          </div>
41
-          <div style="margin-bottom: 10px">
42
-            医保卡号:{{ item.hisPatient.number ? item.hisPatient.number : "" }}
24
+        <div >
25
+          <div class="infoTitle">
26
+            <p>姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
27
+            <p>
28
+              性别:
29
+              <span v-if="item.patient.gender == 1">男</span>
30
+              <span v-if="item.patient.gender == 2">女</span>
31
+            </p>
32
+            <p>年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>
43 33
           </div>
44
-          <div style="margin-bottom: 10px" v-if="org_id != 10188">
45
-            电话:{{ item.patient.phone }}
46
-          </div>
47
-          <div style="margin-bottom: 10px" v-else>
48
-            日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
49
-          </div>
50
-          <div>地址:{{ item.patient.home_address }}</div>
51
-          <div style="display: flex; width: 50%">
52
-            临床诊断:{{ getDiagnosis(item.info.diagnosis) }}
34
+          <div class="infoMain">
35
+            <div style="margin-bottom: 10px">
36
+              门诊号:{{ hisPatient.number ? hisPatient.number : "" }}
37
+            </div>
38
+            <div style="margin-bottom: 10px">
39
+              科室:{{ item.info ? getDepart(item.info.departments) : "" }}
40
+            </div>
41
+            <div style="margin-bottom: 10px">
42
+              医保卡号:{{ item.hisPatient.number ? item.hisPatient.number : "" }}
43
+            </div>
44
+            <div style="margin-bottom: 10px" v-if="org_id != 10188">
45
+              电话:{{ item.patient.phone }}
46
+            </div>
47
+            <div style="margin-bottom: 10px" v-else>
48
+              日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
49
+            </div>
50
+            <div>地址:{{ item.patient.home_address }}</div>
51
+            <div style="display: flex; width: 50%">
52
+              临床诊断:{{ getDiagnosis(item.info.diagnosis) }}
53
+            </div>
53 54
           </div>
54 55
         </div>
55 56
         <div class="prescriptionBox" >
56 57
           <div class="Rp">Rp:</div>
57 58
           <div
58 59
             class="drugsBox"
59
-            v-for="(it, index) in item.advices"
60
-            :key="index"
60
+            v-for="(it, index) in advicess" :key="index"
61 61
             :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
62 62
           >
63
-          <!-- class="drugsBox"  item.advices.length>=5 ? 'danzhang' : 'drugsBox'  'page-break-after':item.advices.length>=3&& item.advices[2]?'always':'auto'-->
63
+            <!-- class="drugsBox"  item.advices.length>=5 ? 'danzhang' : 'drugsBox'  :style="{'page-break-after':index==yi&&item.advices.length>3? 'always':'auto'}"-->
64 64
             <!-- <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}}&nbsp;&nbsp;{{it.single_dose}}{{it.single_dose_unit}}&nbsp;×&nbsp; {{it.prescribing_number}}{{it.prescribing_number_unit}}</div> -->
65
-            <div class="drugsOne">
66
-              <span style="font-weight: bold">{{ index + 1 + "." }}</span
67
-              >{{ it.advice_name ? it.advice_name : "" }}&nbsp;&nbsp;<span
68
-                v-if="it.drug.min_unit != it.drug.dose_unit"
69
-                >{{ it.drug.dose }}{{ it.drug.dose_unit }}&nbsp;* &nbsp;</span
70
-              >{{ it.drug.min_number }}{{ it.drug.min_unit }}/{{
71
-                it.drug.max_unit
72
-              }}&nbsp;×&nbsp; {{ it.prescribing_number
73
-              }}{{ it.prescribing_number_unit }}
74
-            </div>
75
-            <div style="margin-left: 100px">
76
-              <span>用法:{{ it.single_dose }}{{ it.single_dose_unit }}</span
77
-              >&nbsp;&nbsp;<span
65
+            <template v-if="index==yi+1&&item.advices.length>5">
66
+              <div style="margin: 20px 0px;">
67
+                <div class="infoTitle">
68
+                  <p>姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
69
+                  <p>
70
+                    性别:
71
+                    <span v-if="item.patient.gender == 1">男</span>
72
+                    <span v-if="item.patient.gender == 2">女</span>
73
+                  </p>
74
+                  <p>年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>
75
+                </div>
76
+                <div class="infoMain">
77
+                  <div style="margin-bottom: 10px">
78
+                    门诊号:{{ hisPatient.number ? hisPatient.number : "" }}
79
+                  </div>
80
+                  <div style="margin-bottom: 10px">
81
+                    科室:{{ item.info ? getDepart(item.info.departments) : "" }}
82
+                  </div>
83
+                  <div style="margin-bottom: 10px">
84
+                    医保卡号:{{ item.hisPatient.number ? item.hisPatient.number : "" }}
85
+                  </div>
86
+                  <div style="margin-bottom: 10px" v-if="org_id != 10188">
87
+                    电话:{{ item.patient.phone }}
88
+                  </div>
89
+                  <div style="margin-bottom: 10px" v-else>
90
+                    日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
91
+                  </div>
92
+                  <div>地址:{{ item.patient.home_address }}</div>
93
+                  <div style="display: flex; width: 50%">
94
+                    临床诊断:{{ getDiagnosis(item.info.diagnosis) }}
95
+                  </div>
96
+                </div>
97
+              </div>
98
+            </template>
99
+            <div style="position: relative;">
100
+              <div class="drugsOne" style="border-right: 1px solid black; width: 80%;">
101
+                  <span style="font-weight: bold" >
102
+                    {{ index + 1 + "." }}
103
+                  </span>
104
+                {{ it.advice_name ? it.advice_name : "" }}&nbsp;&nbsp;
105
+                <span v-if="it.drug.min_unit != it.drug.dose_unit">
106
+                    {{ it.drug.dose }}{{ it.drug.dose_unit }}&nbsp;* {{ it.drug.min_number }}{{ it.drug.min_unit }}/
107
+                    {{it.drug.max_unit}}
108
+                  </span>&nbsp;
109
+                <div>
110
+                  <template v-if="arr.length>0 && arr[0][0].groupno==it.groupno">
111
+                    <div >
112
+                      <!--  v-for="(its,indexs) in arr" :key="indexs" -->
113
+                      <span style="margin-left: 38px;">{{arr[0][0].advice_name ? arr[0][0].advice_name : ""}}</span>&nbsp;&nbsp;
114
+                      <span v-if="arr[0][0].drug.min_unit != arr[0][0].drug.dose_unit">
115
+                          {{ arr[0][0].drug.dose }}{{ arr[0][0].drug.dose_unit }}&nbsp;* {{ arr[0][0].drug.min_number }}{{ arr[0][0].drug.min_unit }}/
116
+                          {{arr[0][0].drug.max_unit}}
117
+                        </span>&nbsp;
118
+                    </div>
119
+                  </template>
120
+                </div>
121
+
122
+                <div style="margin-left: 70px">
123
+                    <span >用法:{{ it.single_dose }}{{ it.single_dose_unit }}</span
124
+                    >&nbsp;&nbsp;<span
78 125
                 >{{ it.execution_frequency }}&nbsp;{{
79
-                  it.delivery_way
80
-                }}&nbsp;</span
81
-              >&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>
126
+                    it.delivery_way
127
+                  }}&nbsp;</span>&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>
128
+                </div>
129
+
130
+              </div>
131
+              <div style="display: inline-block;position: absolute;left:85%;top:10px;margin-left: 10px;">
132
+                ×&nbsp;{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
133
+              </div>
82 134
             </div>
135
+            <template v-if="index==yi&&item.advices.length>5">
136
+              <div style="margin: 20px 0px;">
137
+                <div class="doctorBox" v-if="org_id != 10188 && org_id != 0">
138
+                  <p v-if="org_id == 10217 || org_id == 0">
139
+                    医师:
140
+                    <span
141
+                      style="width: 100px; display: inline-block"
142
+                      v-if="item.creator == ''"
143
+                    >
144
+                        {{ item.doctor }}
145
+                      </span>
146
+                    <span
147
+                      style="width: 100px; display: inline-block"
148
+                      v-else-if="doc_name != ''"
149
+                    >
150
+                        {{ doc_name }}
151
+                      </span>
152
+                    <img
153
+                      style="height: 50px;"
154
+                      :src="setAdminUserES(item.creator,item.doctor)"
155
+                      alt=""
156
+                      srcset=""
157
+
158
+                    />
159
+                  </p>
160
+                  <p v-else>
161
+                    医师: {{ item.doctor ? item.doctor : "" }}
162
+                  </p>
163
+                  <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
164
+                </div>
165
+
166
+                <div class="doctorBoxs" style="border-bottom: 2px solid #000;" v-if="org_id == 10188 || org_id == 0">
167
+                  <p>医师:{{ item.doctor ? item.doctor : "" }}</p>
168
+                </div>
169
+                <div class="actionBar" v-if="org_id != 10188 && org_id != 0">
170
+
171
+                  <p>审核:</p>
172
+                  <p>配对:</p>
173
+                  <p>核对:</p>
174
+                  <p>发药:</p>
175
+                  <p>
176
+                    药费:{{
177
+                      getTotalOne(item.id).toFixed(2)
178
+                        ? getTotalOne(item.id).toFixed(2)
179
+                        : 0
180
+                    }}元
181
+                  </p>
182
+                  <!--            <p>药费:466.2元</p>-->
183
+                </div>
184
+                <div class="actionBar" v-else>
185
+                  <p >审核、调配:</p>
186
+                  <p >核对、发药:</p>
187
+                  <p >
188
+                    药费:{{
189
+                      getTotalOne(item.id).toFixed(2)
190
+                        ? getTotalOne(item.id).toFixed(2)
191
+                        : 0
192
+                    }}元
193
+                  </p>
194
+                  <!--            <p>药费:551.2元</p>-->
195
+                  <!--            <p>药费:466.2元</p>-->
196
+                </div>
197
+              </div>
198
+            </template>
83 199
           </div>
84 200
 
85 201
           <div
@@ -100,8 +216,8 @@
100 216
             :key="index"
101 217
           >
102 218
             <div class="drugsOne">
103
-              <span style="font-weight: bold">{{ index + 1 + "." }}</span
104
-              >{{
219
+                <span style="font-weight: bold">{{ index + 1 + "." }}</span
220
+                >{{
105 221
                 it.type == 2
106 222
                   ? getProjectName(it.project_id)
107 223
                     ? getProjectName(it.project_id)
@@ -111,9 +227,9 @@
111 227
               }}{{ it.single_dose_unit }}&nbsp;×&nbsp; {{ it.count }}{{ unit }}
112 228
             </div>
113 229
             <div style="margin-left: 100px">
114
-              <span>用法:{{ it.single_dose }}{{ it.single_dose_unit }}</span
115
-              >&nbsp;&nbsp;<span>{{ it.delivery_way }}</span
116
-              >&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>
230
+                <span>用法:{{ it.single_dose }}{{ it.single_dose_unit }}</span
231
+                >&nbsp;&nbsp;<span>{{ it.delivery_way }}</span
232
+            >&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>
117 233
             </div>
118 234
           </div>
119 235
 
@@ -130,48 +246,22 @@
130 246
           </div>
131 247
           <div style="text-align: center">(以下空白)</div>
132 248
         </div>
133
-        <div class="doctorBox" v-if="org_id == 10217 || org_id == 0">
134
-          <p v-if="org_id == 10217 || org_id == 0">
135
-            医师:
136
-            <span
137
-              style="width: 100px; display: inline-block"
138
-              v-if="item.creator == ''"
139
-            >
140
-              {{ item.doctor }}
141
-            </span>
142
-            <span
143
-              style="width: 100px; display: inline-block"
144
-              v-else-if="doc_name != ''"
145
-            >
146
-              {{ doc_name }}
147
-            </span>
148
-            <img
149
-              style="height: 50px;"
150
-              :src="setAdminUserES(item.creator,item.doctor)"
151
-              alt=""
152
-              srcset=""
153
-
154
-            />
155
-          </p>
156
-
157
-          <p >日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
158
-        </div>
159 249
 
160
-        <div class="doctorBoxxxx" v-if="org_id == 10188">
161
-          <p >
250
+        <div class="doctorBox">
251
+          <p v-if="org_id == 10217">
162 252
             医师:
163 253
             <span
164 254
               style="width: 100px; display: inline-block"
165 255
               v-if="item.creator == ''"
166 256
             >
167
-              {{ item.doctor }}
168
-            </span>
257
+                {{ item.doctor }}
258
+              </span>
169 259
             <span
170 260
               style="width: 100px; display: inline-block"
171 261
               v-else-if="doc_name != ''"
172 262
             >
173
-              {{ doc_name }}
174
-            </span>
263
+                {{ doc_name }}
264
+              </span>
175 265
             <img
176 266
               style="height: 50px;"
177 267
               :src="setAdminUserES(item.creator,item.doctor)"
@@ -180,25 +270,13 @@
180 270
 
181 271
             />
182 272
           </p>
273
+          <p v-else>
274
+            医师: {{ item.doctor ? item.doctor : "" }}
275
+          </p>
276
+          <p>日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</p>
183 277
         </div>
184 278
 
185
-
186
-<!--        <div class="doctorBoxs" style="border-bottom: 2px solid #000;" v-if="org_id == 10188 || org_id == 0">-->
187
-<!--          <p>医师:{{ item.doctor ? item.doctor : "" }}</p>-->
188
-<!--        </div>-->
189
-        <!-- <div class="doctorBoxtwo" v-if="org_id == 10188 || org_id == 0">
190
-          <p >审核、调配:</p>
191
-          <p >核对、发药:</p>
192
-          <p style="margin-right: 43px">药师:</p>
193
-        </div> -->
194
-
195
-        <div class="actionBar" v-if="org_id != 10188">
196
-          <!-- <p>审核:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
197
-                 <p>配对:</p>
198
-                 <p>核对:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</p>
199
-                 <p>发药:{{getDoctor(item.advices[0].execution_staff)?getDoctor(item.advices[0].execution_staff):""}}</p>
200
-                 <p>药费:{{getTotalOne(item.id)?getTotalOne(item.id):0}}元</p> -->
201
-
279
+        <div class="actionBar">
202 280
           <p>审核:</p>
203 281
           <p>配对:</p>
204 282
           <p>核对:</p>
@@ -210,22 +288,8 @@
210 288
                 : 0
211 289
             }}元
212 290
           </p>
213
-          <!--            <p>药费:466.2元</p>-->
214
-        </div>
215
-        <div class="actionBar" v-else>
216
-          <p >审核、调配:</p>
217
-          <p >核对、发药:</p>
218
-          <p >
219
-            药费:{{
220
-              getTotalOne(item.id).toFixed(2)
221
-                ? getTotalOne(item.id).toFixed(2)
222
-                : 0
223
-            }}元
224
-          </p>
225
-          <!--            <p>药费:551.2元</p>-->
226
-          <!--            <p>药费:466.2元</p>-->
227 291
         </div>
228
-        <!-- <div style="page-break-after: always"></div> -->
292
+
229 293
       </div>
230 294
     </div>
231 295
   </div>
@@ -251,6 +315,10 @@ export default{
251 315
       doctorList: [],
252 316
       advicePrint: {},
253 317
       yi:4,
318
+      arr:[],
319
+      arrs:{},
320
+      advicess:[],
321
+      page:sessionStorage.getItem('dayin'),
254 322
       patient: {},
255 323
       tableData: [],
256 324
       prescriptionInfo: [],
@@ -352,6 +420,21 @@ export default{
352 420
           this.prescriptions = advicePrint;
353 421
 
354 422
           this.doctorList_1 = response.data.data.eles;
423
+          for(let i=0;i<this.advicePrint.length;i++){
424
+            this.advicess=advicePrint[i].advices
425
+          }
426
+          for(let j=0;j<this.advicess.length;j++){
427
+            for(let x=j+1;x<this.advicess.length;x++){
428
+              if(this.advicess[j].groupno == this.advicess[x].groupno){
429
+                this.arr.push(this.advicess.splice(x,1))
430
+                // this.arrs=this.advicess.splice(x,1)
431
+              }
432
+            }
433
+          }
434
+          // this.merge(this.advicess)
435
+          // console.log('4444444',this.arrs);
436
+          console.log('55555555',this.arr);
437
+          console.log('6666666',this.advicess);
355 438
           console.log(this.doctorList_1, "医生列表");
356 439
           if (this.doctorList_1.length > 0) {
357 440
             var operatorsLen = this.doctorList_1.length;
@@ -414,7 +497,7 @@ export default{
414 497
               total =
415 498
                 total +
416 499
                 this.prescriptions[i].project[a].price *
417
-                  this.prescriptions[i].project[a].count;
500
+                this.prescriptions[i].project[a].count;
418 501
             }
419 502
           }
420 503
 
@@ -427,7 +510,7 @@ export default{
427 510
               addtotal =
428 511
                 addtotal +
429 512
                 this.prescriptions[i].additionalcharge[a].price *
430
-                  this.prescriptions[i].additionalcharge[a].count;
513
+                this.prescriptions[i].additionalcharge[a].count;
431 514
             }
432 515
           }
433 516
           addtotal = Math.floor(addtotal * 100) / 100;
@@ -441,7 +524,7 @@ export default{
441 524
               total =
442 525
                 total +
443 526
                 this.prescriptions[i].advices[a].price *
444
-                  this.prescriptions[i].advices[a].prescribing_number;
527
+                this.prescriptions[i].advices[a].prescribing_number;
445 528
             }
446 529
           }
447 530
 
@@ -454,7 +537,7 @@ export default{
454 537
               addtotal =
455 538
                 addtotal +
456 539
                 this.prescriptions[i].additionalcharge[a].price *
457
-                  this.prescriptions[i].additionalcharge[a].count;
540
+                this.prescriptions[i].additionalcharge[a].count;
458 541
             }
459 542
           }
460 543
           addtotal = Math.floor(addtotal * 100) / 100;
@@ -484,6 +567,26 @@ export default{
484 567
       }
485 568
       return name;
486 569
     },
570
+    merge(arrA){
571
+      var len=arrA.lenfth
572
+      // for(let j=0;j<this.advicess.length;j++){
573
+      //   for(let x=j+1;x<this.advicess.length;x++){
574
+      //     if(this.advicess[j].groupno == this.advicess[x].groupno){
575
+      //       // this.arr.push(this.advicess.splice(x,1))
576
+      //       this.arrs=this.advicess.splice(x,1)
577
+      //     }
578
+      //   }
579
+      // }
580
+      for(let j=0;j<len;j++){
581
+        for(let x=j+1;x<len;x++){
582
+          if(arrA[j].groupno == arrA[x].groupno){
583
+            this.arr.push(arrA.splice(x,1))
584
+          }
585
+        }
586
+      }
587
+      console.log('777777777',this.arr);
588
+      return this.arr
589
+    }
487 590
   },
488 591
   created() {
489 592
     this.getAllDoctorList();
@@ -493,7 +596,20 @@ export default{
493 596
     var xtuser = this.$store.getters.xt_user;
494 597
     this.orgname = xtuser.org.org_name;
495 598
     this.org_id = xtuser.org.id;
599
+
600
+    // for(let j=0;j<this.advicess.length;j++){
601
+    //   console.log('44444444');
602
+    //   for(let x=j+1;x<this.advicess.length;x++){
603
+    //     if(this.advicess[j].groupno == this.advicess[x].groupno){
604
+    //       this.arr.push(this.advicess.splice(x,1))
605
+    //     }
606
+    //   }
607
+    // }
608
+    // console.log('777777777',this.arr[0].advice_name);
609
+    // return this.arr
610
+
496 611
   },
612
+
497 613
   watch: {
498 614
     ids: function (val) {
499 615
       this.ids = val;
@@ -507,9 +623,9 @@ export default{
507 623
 <style lang="scss" scoped>
508 624
 .prescription-print {
509 625
   -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
510
-    0 0 60px rgba(0, 0, 0, 0.06) inset;
626
+  0 0 60px rgba(0, 0, 0, 0.06) inset;
511 627
   -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
512
-    0 0 40px rgba(0, 0, 0, 0.06) inset;
628
+  0 0 40px rgba(0, 0, 0, 0.06) inset;
513 629
   box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
514 630
   margin-bottom: 20px;
515 631
   padding: 20px 10px;
@@ -550,12 +666,14 @@ export default{
550 666
 .drugsBox {
551 667
   padding-left: 40px;
552 668
   margin-bottom: 10px;
669
+  position: relative;
553 670
 }
554 671
 .drugsBox div {
555 672
   line-height: 20px;
556 673
 }
557 674
 .drugsOne {
558 675
   line-height: 24px;
676
+  display: inline-block;
559 677
 }
560 678
 .drugsOne span {
561 679
   margin-right: 20px;
@@ -567,30 +685,6 @@ export default{
567 685
   line-height: 24px;
568 686
   border-bottom: 2px solid #000;
569 687
 }
570
-
571
-.doctorBoxxxx {
572
-  display: flex;
573
-  justify-content: space-between;
574
-  padding: 0 10px;
575
-  line-height: 24px;
576
-  border-bottom: 2px solid #000;
577
-}
578
-
579
-
580
-.doctorBoxxxx  p{
581
-  margin-left: auto
582
-}
583
-
584
-.doctorBoxsss {
585
-  display: flex;
586
-  float: right;
587
-  margin-bottom: 60px;
588
-  justify-content: space-between;
589
-  padding: 0 10px;
590
-  line-height: 24px;
591
-  border-bottom: 2px solid #000;
592
-}
593
-
594 688
 .doctorBoxs{
595 689
   width: 100%;
596 690
   margin-right: 30px;

+ 536 - 0
src/xt_pages/outpatientDoctorStation/template/printTenOne.vue ファイルの表示

@@ -0,0 +1,536 @@
1
+<template>
2
+  <div id="prescriptionPrint">
3
+    <div v-for="(item, index) in advicePrint" :key="index">
4
+      <div
5
+        id="prescription-print"
6
+        class="prescription-print"
7
+        style="page-break-after: always"
8
+      >
9
+        <div class="printTitle" v-if="prescriptions[index].med_type == '1111'">
10
+          {{ orgname }}第一类精神处方笺
11
+        </div>
12
+        <div class="printTitle" v-if="prescriptions[index].med_type == '1112'">
13
+          {{ orgname }}第二类精神处方笺
14
+        </div>
15
+        <div
16
+          class="printTitle"
17
+          v-if="
18
+            prescriptions[index].med_type != '1111' &&
19
+            prescriptions[index].med_type != '1112'
20
+          "
21
+        >
22
+          {{ orgname }}处方笺
23
+        </div>
24
+        <!--<div class="printTitle">{{orgname}}处方笺</div>-->
25
+        <div class="infoTitle">
26
+          <p>姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
27
+          <p>
28
+            性别:
29
+            <span v-if="item.patient.gender == 1">男</span>
30
+            <span v-if="item.patient.gender == 2">女</span>
31
+          </p>
32
+          <p>年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>
33
+        </div>
34
+        <div class="infoMain">
35
+          <div style="margin-bottom: 10px">
36
+            门诊号:{{ hisPatient.number ? hisPatient.number : "" }}
37
+          </div>
38
+          <div style="margin-bottom: 10px">
39
+            科室:{{ item.info ? getDepart(item.info.departments) : "" }}
40
+          </div>
41
+          <div style="margin-bottom: 10px">
42
+            医保卡号:{{ item.hisPatient.number ? item.hisPatient.number : "" }}
43
+          </div>
44
+          <div style="margin-bottom: 10px" v-if="org_id != 10188">
45
+            电话:{{ item.patient.phone }}
46
+          </div>
47
+          <div style="margin-bottom: 10px" v-else>
48
+            日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
49
+          </div>
50
+          <div>地址:{{ item.patient.home_address }}</div>
51
+          <div style="display: flex; width: 50%">
52
+            临床诊断:{{ getDiagnosis(item.info.diagnosis) }}
53
+          </div>
54
+        </div>
55
+        <div class="prescriptionBox" >
56
+          <div class="Rp">Rp:</div>
57
+          <div
58
+            class="drugsBox"
59
+            v-for="(it, index) in item.advices"
60
+            :key="index"
61
+            :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
62
+          >
63
+            <!-- class="drugsBox"  item.advices.length>=5 ? 'danzhang' : 'drugsBox'  'page-break-after':item.advices.length>=3&& item.advices[2]?'always':'auto'-->
64
+            <!-- <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{it.advice_name?it.advice_name:""}}&nbsp;&nbsp;{{it.single_dose}}{{it.single_dose_unit}}&nbsp;×&nbsp; {{it.prescribing_number}}{{it.prescribing_number_unit}}</div> -->
65
+            <div class="drugsOne">
66
+              <span style="font-weight: bold">{{ index + 1 + "." }}</span
67
+              >{{ it.advice_name ? it.advice_name : "" }}&nbsp;&nbsp;<span
68
+              v-if="it.drug.min_unit != it.drug.dose_unit"
69
+            >{{ it.drug.dose }}{{ it.drug.dose_unit }}&nbsp;* &nbsp;</span
70
+            >{{ it.drug.min_number }}{{ it.drug.min_unit }}/{{
71
+                it.drug.max_unit
72
+              }}&nbsp;×&nbsp; {{ it.prescribing_number
73
+              }}{{ it.prescribing_number_unit }}
74
+            </div>
75
+            <div style="margin-left: 100px">
76
+              <span>用法:{{ it.single_dose }}{{ it.single_dose_unit }}</span
77
+              >&nbsp;&nbsp;<span
78
+            >{{ it.execution_frequency }}&nbsp;{{
79
+                it.delivery_way
80
+              }}&nbsp;</span
81
+            >&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>
82
+            </div>
83
+          </div>
84
+
85
+          <div
86
+            class="drugsBox"
87
+            v-for="(it, i) in item.additionalcharge"
88
+            :key="i"
89
+          >
90
+            <div class="drugsOne">
91
+              {{ it.item_name ? it.item_name : "" }}:&nbsp;{{ it.price }}元/{{
92
+                it.count
93
+              }}次
94
+            </div>
95
+          </div>
96
+
97
+          <div
98
+            class="drugsBox"
99
+            v-for="(it, index) in item.project"
100
+            :key="index"
101
+          >
102
+            <div class="drugsOne">
103
+              <span style="font-weight: bold">{{ index + 1 + "." }}</span
104
+              >{{
105
+                it.type == 2
106
+                  ? getProjectName(it.project_id)
107
+                    ? getProjectName(it.project_id)
108
+                    : ""
109
+                  : it.good_info.good_name
110
+              }}&nbsp;&nbsp;{{ it.single_dose
111
+              }}{{ it.single_dose_unit }}&nbsp;×&nbsp; {{ it.count }}{{ unit }}
112
+            </div>
113
+            <div style="margin-left: 100px">
114
+              <span>用法:{{ it.single_dose }}{{ it.single_dose_unit }}</span
115
+              >&nbsp;&nbsp;<span>{{ it.delivery_way }}</span
116
+            >&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>
117
+            </div>
118
+          </div>
119
+          <div
120
+            class="drugsBox"
121
+            v-for="(it, i) in item.additionalcharge"
122
+            :key="i"
123
+          >
124
+            <div class="drugsOne">
125
+              {{ it.project_id ? it.project_id : "" }}:&nbsp;{{
126
+                it.price.toFixed(2)
127
+              }}元/{{ it.count }}次
128
+            </div>
129
+          </div>
130
+          <div style="text-align: center">(以下空白)</div>
131
+        </div>
132
+        <div class="doctorBox" style="border-bottom: 2px solid #000;" >
133
+          <p>
134
+            医师:
135
+            <span
136
+              style="width: 100px; display: inline-block"
137
+              v-if="item.creator == ''"
138
+            >
139
+              {{ item.doctor }}
140
+            </span>
141
+            <span
142
+              style="width: 100px; display: inline-block"
143
+              v-else-if="doc_name != ''"
144
+            >
145
+              {{ doc_name }}
146
+            </span>
147
+            <img
148
+              style="height: 50px;"
149
+              :src="setAdminUserES(item.creator,item.doctor)"
150
+              alt=""
151
+              srcset=""
152
+            />
153
+          </p>
154
+
155
+        </div>
156
+        <div class="actionBar">
157
+          <p >审核、调配:</p>
158
+          <p >核对、发药:</p>
159
+          <p >
160
+            药费:{{
161
+              getTotalOne(item.id).toFixed(2)
162
+                ? getTotalOne(item.id).toFixed(2)
163
+                : 0
164
+            }}元
165
+          </p>
166
+        </div>
167
+      </div>
168
+    </div>
169
+  </div>
170
+</template>
171
+<script>
172
+import { jsGetAge, uParseTime } from "@/utils/tools";
173
+import {
174
+  getAllDoctorList,
175
+  getPrescriptionPrint,
176
+  getHisPatientDetail,
177
+} from "@/api/project/project";
178
+import { getInitData } from "@/api/his/his";
179
+export default{
180
+  props: {
181
+    patient_id: Number,
182
+    record_date: String,
183
+    prescription_id: Number,
184
+    ids: String,
185
+  },
186
+  data() {
187
+    return {
188
+      doc_name:"",
189
+      doctorList: [],
190
+      advicePrint: {},
191
+      yi:4,
192
+      patient: {},
193
+      tableData: [],
194
+      prescriptionInfo: [],
195
+      hisPatient: {},
196
+      department: [],
197
+      prescriptions: [],
198
+      projectList: [],
199
+      orgname: "",
200
+      diagnoses: [],
201
+      org_id: 0,
202
+      operatorMaps: {},
203
+      operators: [],
204
+      doctorList_1: [],
205
+    };
206
+  },
207
+  methods: {
208
+    // 电子签名
209
+    setAdminUserES(id,name) {
210
+      console.log(id)
211
+      console.log(name)
212
+      console.log(this.operatorMaps)
213
+
214
+
215
+      if (id == 0) {
216
+        return "";
217
+      }
218
+      if (id in this.operatorMaps) {
219
+        return this.operatorMaps[id].url;
220
+      } else {
221
+        this.doc_name = name
222
+        return "";
223
+      }
224
+    },
225
+    getAge(patient) {
226
+      if(patient.id_card_no == "TWN001836483"){
227
+        return patient.age
228
+      }else{
229
+        var thisLen = patient.id_card_no.length;
230
+        var birth = "";
231
+        if (thisLen == 15) {
232
+          birth = "19" + patient.id_card_no.substr(6, 6);
233
+        } else {
234
+          birth = patient.id_card_no.substr(6, 8);
235
+        }
236
+        var births =
237
+          birth.substr(0, 4) +
238
+          "-" +
239
+          birth.substr(4, 2) +
240
+          "-" +
241
+          birth.substr(6, 2);
242
+        return jsGetAge(births, "-");
243
+
244
+      }
245
+
246
+    },
247
+
248
+    getAllDoctorList() {
249
+      getAllDoctorList().then((response) => {
250
+        if (response.data.state == 1) {
251
+          var doctor = response.data.data.doctor;
252
+
253
+          this.doctorList = doctor;
254
+        }
255
+      });
256
+    },
257
+
258
+    getDoctor(id) {
259
+      var name = "";
260
+      for (let i = 0; i < this.doctorList.length; i++) {
261
+        if (id == this.doctorList[i].admin_user_id) {
262
+          name = this.doctorList[i].user_name;
263
+        }
264
+      }
265
+      return name;
266
+    },
267
+    getTime(value, temp) {
268
+      if (value != undefined) {
269
+        return uParseTime(value, temp);
270
+      }
271
+      return "";
272
+    },
273
+    getPrescriptionPrint() {
274
+      var params = {
275
+        // patient_id:this.patient_id,
276
+        // record_date:this.record_date,
277
+        // prescription_id:this.prescription_id,
278
+        patient_id: this.patient_id,
279
+        record_date: this.record_date,
280
+        prescription_id: this.prescription_id,
281
+        ids: this.ids,
282
+        p_type: 2,
283
+      };
284
+      console.log("params", params);
285
+      getPrescriptionPrint(params).then((response) => {
286
+        if (response.data.state == 1) {
287
+          var advicePrint = response.data.data.advicePrint;
288
+          console.log("adviceprint9999", advicePrint);
289
+          this.advicePrint = advicePrint;
290
+          this.prescriptions = advicePrint;
291
+
292
+          this.doctorList_1 = response.data.data.eles;
293
+          console.log(this.doctorList_1, "医生列表");
294
+          if (this.doctorList_1.length > 0) {
295
+            var operatorsLen = this.doctorList_1.length;
296
+            for (var index = 0; index < operatorsLen; index++) {
297
+              this.$set(
298
+                this.operatorMaps,
299
+                this.doctorList_1[index].creator,
300
+                this.doctorList_1[index]
301
+              );
302
+            }
303
+          }
304
+
305
+          console.log("处方222222", this.prescriptions);
306
+          var hisPatient = response.data.data.hisPatient;
307
+          console.log("hisPatient", hisPatient);
308
+          this.hisPatient = hisPatient;
309
+          var projectlist = response.data.data.projectlist;
310
+          console.log("所有项目列表", projectlist);
311
+          this.projectList = projectlist;
312
+        }
313
+      });
314
+    },
315
+    getHisPatientDetail() {
316
+      const params = {
317
+        patient_id: this.patient_id,
318
+      };
319
+      getHisPatientDetail(params).then((response) => {
320
+        if (response.data.state == 1) {
321
+          var hisPatient = response.data.data.hisPatient;
322
+          console.log("挂号病人", hisPatient);
323
+          this.hisPatient = hisPatient;
324
+        }
325
+      });
326
+    },
327
+    getInitData() {
328
+      getInitData().then((response) => {
329
+        if (response.data.state == 1) {
330
+          this.department = response.data.data.department;
331
+          this.diagnoses = response.data.data.diagnose;
332
+          console.log("争端", this.diagnoses);
333
+        }
334
+      });
335
+    },
336
+    getDepart(id) {
337
+      var name = "";
338
+      for (let i = 0; i < this.department.length; i++) {
339
+        if (id == this.department[i].id) {
340
+          name = this.department[i].name;
341
+        }
342
+      }
343
+      return name;
344
+    },
345
+    getTotalOne(id) {
346
+      var total = 0;
347
+      var addtotal = 0;
348
+      for (let i = 0; i < this.prescriptions.length; i++) {
349
+        if (id == this.prescriptions[i].id) {
350
+          if (this.prescriptions[i].project != null) {
351
+            for (let a = 0; a < this.prescriptions[i].project.length; a++) {
352
+              total =
353
+                total +
354
+                this.prescriptions[i].project[a].price *
355
+                this.prescriptions[i].project[a].count;
356
+            }
357
+          }
358
+
359
+          if (this.prescriptions[i].additionalcharge != null) {
360
+            for (
361
+              let a = 0;
362
+              a < this.prescriptions[i].additionalcharge.length;
363
+              a++
364
+            ) {
365
+              addtotal =
366
+                addtotal +
367
+                this.prescriptions[i].additionalcharge[a].price *
368
+                this.prescriptions[i].additionalcharge[a].count;
369
+            }
370
+          }
371
+          addtotal = Math.floor(addtotal * 100) / 100;
372
+        }
373
+      }
374
+
375
+      for (let i = 0; i < this.prescriptions.length; i++) {
376
+        if (id == this.prescriptions[i].id) {
377
+          if (this.prescriptions[i].advices != null) {
378
+            for (let a = 0; a < this.prescriptions[i].advices.length; a++) {
379
+              total =
380
+                total +
381
+                this.prescriptions[i].advices[a].price *
382
+                this.prescriptions[i].advices[a].prescribing_number;
383
+            }
384
+          }
385
+
386
+          if (this.prescriptions[i].additionalcharge != null) {
387
+            for (
388
+              let a = 0;
389
+              a < this.prescriptions[i].additionalcharge.length;
390
+              a++
391
+            ) {
392
+              addtotal =
393
+                addtotal +
394
+                this.prescriptions[i].additionalcharge[a].price *
395
+                this.prescriptions[i].additionalcharge[a].count;
396
+            }
397
+          }
398
+          addtotal = Math.floor(addtotal * 100) / 100;
399
+        }
400
+      }
401
+
402
+      return total + addtotal;
403
+    },
404
+
405
+    getProjectName(id) {
406
+      var project_name = "";
407
+      for (let i = 0; i < this.projectList.length; i++) {
408
+        if (id == this.projectList[i].id) {
409
+          project_name = this.projectList[i].project_name;
410
+        }
411
+      }
412
+      return project_name;
413
+    },
414
+
415
+    getDiagnosis(id) {
416
+      let arr = id.split(",");
417
+      var name = "";
418
+      for (let i = 0; i < this.diagnoses.length; i++) {
419
+        if (arr.indexOf(String(this.diagnoses[i].id)) > -1) {
420
+          name += this.diagnoses[i].class_name + " ";
421
+        }
422
+      }
423
+      return name;
424
+    },
425
+  },
426
+  created() {
427
+    this.getAllDoctorList();
428
+    this.getInitData();
429
+    this.getPrescriptionPrint();
430
+    this.getHisPatientDetail();
431
+    var xtuser = this.$store.getters.xt_user;
432
+    this.orgname = xtuser.org.org_name;
433
+    this.org_id = xtuser.org.id;
434
+  },
435
+  watch: {
436
+    ids: function (val) {
437
+      this.ids = val;
438
+      this.getPrescriptionPrint();
439
+    },
440
+  },
441
+};
442
+</script>
443
+
444
+
445
+<style lang="scss" scoped>
446
+.prescription-print {
447
+  -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
448
+  0 0 60px rgba(0, 0, 0, 0.06) inset;
449
+  -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
450
+  0 0 40px rgba(0, 0, 0, 0.06) inset;
451
+  box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
452
+  margin-bottom: 20px;
453
+  padding: 20px 10px;
454
+}
455
+.printTitle {
456
+  font-size: 22px;
457
+  text-align: center;
458
+  font-weight: bold;
459
+}
460
+.infoTitle {
461
+  display: flex;
462
+  border-bottom: 2px solid #000;
463
+  margin-top: 10px;
464
+  line-height: 24px;
465
+  padding: 0 10px;
466
+}
467
+.infoTitle p {
468
+  width: 200px;
469
+}
470
+.infoMain {
471
+  display: flex;
472
+  flex-wrap: wrap;
473
+  border-bottom: 2px solid #000;
474
+  padding: 0 10px;
475
+}
476
+.infoMain div {
477
+  width: 50%;
478
+  line-height: 24px;
479
+}
480
+.prescriptionBox {
481
+  padding: 0 10px;
482
+  min-height: 450px;
483
+}
484
+.Rp {
485
+  font-size: 22px;
486
+  font-weight: bold;
487
+}
488
+.drugsBox {
489
+  padding-left: 40px;
490
+  margin-bottom: 10px;
491
+}
492
+.drugsBox div {
493
+  line-height: 20px;
494
+}
495
+.drugsOne {
496
+  line-height: 24px;
497
+}
498
+.drugsOne span {
499
+  margin-right: 20px;
500
+}
501
+.doctorBox {
502
+  display: flex;
503
+  justify-content: space-between;
504
+  padding: 0 10px;
505
+  line-height: 24px;
506
+  border-bottom: 2px solid #000;
507
+}
508
+.doctorBox p{
509
+  margin-left: auto
510
+}
511
+
512
+.doctorBoxs{
513
+  width: 100%;
514
+  margin-right: 30px;
515
+  text-align: right;
516
+  padding: 0 10px;
517
+  line-height: 24px;
518
+
519
+}
520
+.doctorBoxtwo {
521
+  display: flex;
522
+  justify-content: space-between;
523
+  padding: 0 10px;
524
+  line-height: 24px;
525
+
526
+}
527
+.actionBar {
528
+  display: flex;
529
+  justify-content: space-between;
530
+  line-height: 24px;
531
+  padding: 0 10px;
532
+}
533
+.actionBar p {
534
+  width: 150px;
535
+}
536
+</style>