Elizabeth's proactive approach involves introducing urinal toilet attachment , an ingenious concept that optimizes space and functionality.

batchPrintThree.vue 22KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740
  1. <template>
  2. <div>
  3. <div id="prescriptionPrint1">
  4. <div v-for="(i, index) in printData" :key="index">
  5. <div v-for="(item, index) in i.prescriptions" :key="index">
  6. <div
  7. id="prescription-print"
  8. class="prescription-print"
  9. style="page-break-after: always"
  10. >
  11. <span v-if="org_id == 10138">
  12. <img
  13. src="https://kuyi.shengws.com/bailin/bltotle.jpg"
  14. style="width: 100%"
  15. alt=""
  16. /></span>
  17. <span v-if="org_id == 10278">
  18. <img
  19. src="https://kuyi.shengws.com/beierlog.png"
  20. style="width: 100%"
  21. alt=""
  22. /></span>
  23. <div class="printTitle">
  24. 处方笺
  25. <span
  26. v-if="item.med_type == '1111'"
  27. style="margin-left: 50px; border: 1px solid #000"
  28. >精一</span
  29. >
  30. <span
  31. v-if="item.med_type == '1112'"
  32. style="margin-left: 50px; border: 1px solid #000"
  33. >精二</span
  34. >
  35. </div>
  36. <div style="display: flex;">
  37. <div style="width: 33%; display: flex">
  38. 费别:
  39. <span class="under_line">
  40. <span v-if=" i.his_patient.id > 0">{{
  41. i.his_patient.balance_accounts_type == 1 ? '医保':'自费'
  42. }}</span>
  43. <span v-else>{{
  44. }}</span>
  45. </span>
  46. </div>
  47. <div style="width: 20%;"></div>
  48. <div style="width: 33%; display: flex">
  49. 医保类型:
  50. <span class="under_line" v-if="i.reimbursement_way_id == 20">
  51. {{'医保一档'}}
  52. </span>
  53. <span class="under_line" v-if="i.reimbursement_way_id == 21">
  54. {{'医保二档'}}
  55. </span>
  56. <span class="under_line" v-if="i.reimbursement_way_id == 22">
  57. {{'医保三档'}}
  58. </span>
  59. <span class="under_line" v-if="i.reimbursement_way_id != 20 && i.reimbursement_way_id != 21 && i.reimbursement_way_id != 22">
  60. </span>
  61. </div>
  62. </div>
  63. <div style="display: flex;margin-top: 10px;">
  64. <div style="width: 40%; display: flex">
  65. 电脑号:<span class="under_line">{{
  66. i.his_patient.id_card_no
  67. }}</span>
  68. </div>
  69. <div style="width: 13%;"></div>
  70. <div style="width: 33%; display: flex">
  71. 处方编号:<span class="under_line">{{
  72. item.prescription_number.substring(
  73. item.prescription_number.length - 6
  74. )
  75. }}</span>
  76. </div>
  77. </div>
  78. <div class="infoTitle">
  79. <div>
  80. 姓名:{{
  81. i.name
  82. ? i.name.indexOf("(") > -1
  83. ?i.name.substring(
  84. 0,
  85. i.name.indexOf("(")
  86. )
  87. : i.name
  88. : ""
  89. }}
  90. </div>
  91. <div>
  92. 性别:
  93. <span v-if="i.gender == 1">男</span>
  94. <span v-if="i.gender == 2">女</span>
  95. </div>
  96. <div>
  97. 年龄:{{
  98. getNewAge(i.birthday)
  99. ? getNewAge(i.birthday)
  100. : ""
  101. }}岁
  102. </div>
  103. </div>
  104. <div class="infoMain">
  105. <div style="margin-bottom: 10px; display: flex">
  106. 门诊号码:<span class="under_line" >{{ i.his_patient.id != 0 ? i.his_patient.number : "" }}</span>
  107. </div>
  108. <div style="margin-bottom: 10px; display: flex">
  109. 科别:<span class="under_line" > {{
  110. i.info.id != 0
  111. ? getDepart(i.info.departments)
  112. : ""
  113. }}</span>
  114. </div>
  115. <div style="margin-bottom: 10px; display: flex">
  116. 临床诊断:{{ getDiagnosis(i.info.diagnosis)}}
  117. </div>
  118. <div style="margin-bottom: 10px; display: flex">
  119. 自费药品签名:<span class="under_line"></span>
  120. </div>
  121. <!-- <div style="margin-bottom: 10px;display:flex;">医保卡号:{{item.hisPatient.number?item.hisPatient.number:""}}</div> -->
  122. <div style="margin-bottom: 10px; display: flex">
  123. 联系方式:<span class="under_line">{{ i.phone }}</span>
  124. </div>
  125. <div style="margin-bottom: 10px; display: flex">
  126. 开具日期:<span class="under_line">{{
  127. getTime(item.pre_time)
  128. ? getTime(item.pre_time).split(" ")[0]
  129. : ""
  130. }}</span>
  131. </div>
  132. <!-- <div>地址:{{item.patient.home_address}}</div> -->
  133. <!-- <div style="display:flex;width:50%;">临床诊断:{{getDiagnosis(item.info.diagnosis)}}</div> -->
  134. </div>
  135. <div class="prescriptionBox">
  136. <div class="Rp">Rp:</div>
  137. <div
  138. class="drugsBox"
  139. v-for="(it, index) in item.advices"
  140. :key="index"
  141. >
  142. <!-- <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> -->
  143. <div class="drugsOne">
  144. <span style="font-weight: bold">{{ index + 1 + "." }}</span
  145. >{{ it.advice_name ? it.advice_name : "" }}&nbsp;&nbsp;<span
  146. v-if="it.drug.min_unit != it.drug.dose_unit"
  147. >{{ it.drug.dose }}{{ it.drug.dose_unit }}&nbsp;* &nbsp;</span
  148. >{{ it.drug.min_number }}{{ it.drug.min_unit }}/{{
  149. it.drug.max_unit
  150. }}&nbsp;×&nbsp; {{ it.prescribing_number
  151. }}{{ it.prescribing_number_unit }}
  152. </div>
  153. <div style="margin-left: 100px">
  154. <span>用法:{{ it.single_dose }}{{ it.single_dose_unit }}</span
  155. >&nbsp;&nbsp;<span
  156. >{{ it.execution_frequency }}&nbsp;{{
  157. it.delivery_way
  158. }}&nbsp;</span
  159. >&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>
  160. </div>
  161. </div>
  162. <div
  163. class="drugsBox"
  164. v-for="(it, i) in item.additionalcharge"
  165. :key="i"
  166. >
  167. <div class="drugsOne">
  168. {{ it.item_name ? it.item_name : "" }}:&nbsp;{{
  169. it.price.toFixed(2)
  170. }}元/{{ it.count }}次
  171. </div>
  172. </div>
  173. <!-- <div class="drugsBox" v-for="(it,index) in item.project" :key="index">
  174. <div class="drugsOne"><span style="font-weight:bold;">{{ index+1 + '.' }}</span>{{ it.type == 2 ? it.project.project_name : it.good_info.good_name }}&nbsp;&nbsp;{{it.single_dose}}{{it.single_dose_unit}}&nbsp;×&nbsp; {{it.count}}{{unit}}</div>
  175. <div style="margin-left:100px;"><span>用法:{{it.single_dose}}{{it.single_dose_unit}}</span>&nbsp;&nbsp;<span>{{it.delivery_way}}</span>&nbsp;&nbsp;<span>{{it.advice_desc}}</span></div>
  176. </div>
  177. <div class="drugsBox" v-for="(it,i) in item.additionalcharge" :key="i">
  178. <div class="drugsOne">{{it.project_id?it.project_id:""}}:&nbsp;{{it.price}}元/{{it.count}}次</div>
  179. </div> -->
  180. <div style="text-align: center">(以下空白)</div>
  181. </div>
  182. <div style="display: flex">
  183. <div>
  184. 医&nbsp;&nbsp;&nbsp;&nbsp;师:
  185. <span
  186. style="width: 100px; display: inline-block"
  187. v-if="i.info.creator == 0"
  188. >
  189. {{ i.info.doctor ? i.info.doctor : "" }}
  190. </span>
  191. <img
  192. style="height: 30px"
  193. :src="setAdminUserES(i.info.creator)"
  194. alt=""
  195. srcset=""
  196. v-else
  197. />
  198. </div>
  199. <!-- <div>药品金额:{{getTotalOne(item.id).toFixed(2)?getTotalOne(item.id).toFixed(2):0}}</div> -->
  200. </div>
  201. <div style="display: flex">
  202. <div style="display: flex">
  203. 审核药师:<span style="width: 100px" class="under_line"></span>
  204. </div>
  205. <div style="display: flex">
  206. 调剂药师:<span style="width: 100px" class="under_line"></span>
  207. </div>
  208. <div style="display: flex">
  209. 核对/发药药师:<span
  210. style="width: 100px"
  211. class="under_line"
  212. ></span>
  213. </div>
  214. </div>
  215. <div>
  216. 打印日期:{{ getTime(new Date()) ? getTime(new Date()) : "" }}
  217. </div>
  218. <div>*处方当日有效,特殊情况可适当延长,一般不超过3天</div>
  219. <div>*药品属于特殊商品,非质量问题不允许退换</div>
  220. <span v-if="org_id == 10138"
  221. ><img
  222. src="https://kuyi.shengws.com/bailin/blend.jpg"
  223. style="width: 100%"
  224. alt=""
  225. /></span>
  226. <span v-if="org_id == 10278"
  227. ><img
  228. src="https://kuyi.shengws.com/bailinbeier.png"
  229. style="width: 100%"
  230. alt=""
  231. /></span>
  232. <!-- <div class="doctorBox">
  233. <p>医师:{{item.doctor?item.doctor:""}}</p>
  234. <p>日期:{{getTime(item.ctime)?getTime(item.ctime):""}}</p>
  235. </div>
  236. <div class="actionBar">
  237. <p>审核:</p>
  238. <p>配对:</p>
  239. <p>核对:</p>
  240. <p>发药:</p>
  241. <p>药费:{{getTotalOne(item.id).toFixed(2)?getTotalOne(item.id).toFixed(2):0}}元</p>
  242. </div> -->
  243. <div style="page-break-after: always"></div>
  244. </div>
  245. </div>
  246. </div>
  247. </div>
  248. </div>
  249. </template>
  250. <script>
  251. import { jsGetAge, uParseTime } from "@/utils/tools";
  252. import {
  253. getAllDoctorList,
  254. getPrescriptionPrint,
  255. getHisPatientDetail,
  256. } from "@/api/project/project";
  257. import { getInitData } from "@/api/his/his";
  258. export default {
  259. props: {
  260. patient_id: Number,
  261. record_date: String,
  262. prescription_id: Number,
  263. his_patient_id:Number,
  264. ids: String,
  265. newHisPatient:Object,
  266. printData: Array,
  267. },
  268. data() {
  269. return {
  270. operatorMaps: {},
  271. doctorList: [],
  272. advicePrint: {},
  273. patient: {},
  274. tableData: [],
  275. prescriptionInfo: [],
  276. doc_name: "",
  277. hisPatient: {},
  278. department: [],
  279. prescriptions: [],
  280. projectList: [],
  281. orgname: "",
  282. diagnoses: [],
  283. pageArr: [],
  284. faber: {},
  285. org_id: 0,
  286. doctorList_1: [],
  287. };
  288. },
  289. methods: {
  290. // 电子签名
  291. setAdminUserES(id) {
  292. console.log(id)
  293. console.log(this.operatorMaps)
  294. if (id == 0) {
  295. return "";
  296. }
  297. if (id in this.operatorMaps) {
  298. return this.operatorMaps[id].url;
  299. } else {
  300. return "";
  301. }
  302. },
  303. getNewAge(birthday) {
  304. // var myDate = new Date(birthday * 1000)
  305. // var month = myDate.getMonth() + 1
  306. // var day = myDate.getDate()
  307. // var age = new Date().getFullYear() - myDate.getFullYear()
  308. // if (month < new Date().getMonth() + 1 || new Date().getMonth() + 1 == month && day <= new Date().getDate()) {
  309. // age++
  310. // }
  311. // return age
  312. var nowTime = new Date().getTime();
  313. //一年毫秒数(365 * 86400000 = 31536000000)
  314. return Math.ceil((nowTime - birthday * 1000) / 31536000000);
  315. },
  316. getAge(patient) {
  317. var thisLen = patient.id_card_no.length;
  318. var birth = "";
  319. if (thisLen == 15) {
  320. birth = "19" + patient.id_card_no.substr(6, 6);
  321. } else {
  322. birth = patient.id_card_no.substr(6, 8);
  323. }
  324. var births =
  325. birth.substr(0, 4) +
  326. "-" +
  327. birth.substr(4, 2) +
  328. "-" +
  329. birth.substr(6, 2);
  330. return jsGetAge(births, "-");
  331. },
  332. getAllDoctorList() {
  333. getAllDoctorList().then((response) => {
  334. if (response.data.state == 1) {
  335. var doctor = response.data.data.doctor;
  336. this.doctorList = doctor;
  337. }
  338. });
  339. },
  340. getDoctor(id) {
  341. var name = "";
  342. for (let i = 0; i < this.doctorList.length; i++) {
  343. if (id == this.doctorList[i].admin_user_id) {
  344. name = this.doctorList[i].user_name;
  345. }
  346. }
  347. return name;
  348. },
  349. getTime(value, temp) {
  350. if (value != undefined) {
  351. return uParseTime(value, temp);
  352. }
  353. return "";
  354. },
  355. getPrescriptionPrint() {
  356. var params = {
  357. // patient_id:this.patient_id,
  358. // record_date:this.record_date,
  359. // prescription_id:this.prescription_id,
  360. patient_id: this.patient_id,
  361. record_date: this.record_date,
  362. prescription_id: this.prescription_id,
  363. his_patient_id: this.his_patient_id,
  364. ids: this.ids,
  365. p_type: 2,
  366. };
  367. console.log("params", params);
  368. getPrescriptionPrint(params).then((response) => {
  369. if (response.data.state == 1) {
  370. var advicePrint = response.data.data.advicePrint;
  371. console.log("adviceprint9999", advicePrint);
  372. this.advicePrint = advicePrint;
  373. this.doctorList_1 = response.data.data.eles;
  374. console.log(this.doctorList_1, "百霖医生列表");
  375. if (this.doctorList_1.length > 0) {
  376. var operatorsLen = this.doctorList_1.length;
  377. for (var index = 0; index < operatorsLen; index++) {
  378. this.$set(
  379. this.operatorMaps,
  380. this.doctorList_1[index].creator,
  381. this.doctorList_1[index]
  382. );
  383. }
  384. }
  385. this.getPage();
  386. this.prescriptions = advicePrint;
  387. console.log("处方222222", this.prescriptions);
  388. var hisPatient = response.data.data.hisPatient;
  389. console.log("hisPatient", hisPatient);
  390. this.hisPatient = hisPatient;
  391. var projectlist = response.data.data.projectlist;
  392. console.log("所有项目列表", projectlist);
  393. this.projectList = projectlist;
  394. let outputlist1Name = response.data.data.his.patient_info
  395. ? JSON.parse(response.data.data.his.patient_info)
  396. : {};
  397. this.faber = outputlist1Name;
  398. }
  399. });
  400. },
  401. getHisPatientDetail() {
  402. const params = {
  403. patient_id: this.patient_id,
  404. };
  405. getHisPatientDetail(params).then((response) => {
  406. if (response.data.state == 1) {
  407. var hisPatient = response.data.data.hisPatient;
  408. console.log("挂号病人", hisPatient);
  409. this.hisPatient = hisPatient;
  410. }
  411. });
  412. },
  413. getInitData() {
  414. getInitData().then((response) => {
  415. if (response.data.state == 1) {
  416. this.department = response.data.data.department;
  417. this.diagnoses = response.data.data.diagnose.sort(this.compare("id"));
  418. console.log("争端", this.diagnoses);
  419. }
  420. });
  421. },
  422. getDepart(id) {
  423. var name = "";
  424. for (let i = 0; i < this.department.length; i++) {
  425. if (id == this.department[i].id) {
  426. name = this.department[i].name;
  427. }
  428. }
  429. return name;
  430. },
  431. getTotalOne(id) {
  432. console.log("id", id);
  433. var total = 0;
  434. var addtotal = 0;
  435. for (let i = 0; i < this.prescriptions.length; i++) {
  436. if (id == this.prescriptions[i].id) {
  437. if (this.prescriptions[i].project != null) {
  438. for (let a = 0; a < this.prescriptions[i].project.length; a++) {
  439. total =
  440. total +
  441. this.prescriptions[i].project[a].price *
  442. this.prescriptions[i].project[a].count;
  443. }
  444. }
  445. if (this.prescriptions[i].additionalcharge != null) {
  446. for (
  447. let a = 0;
  448. a < this.prescriptions[i].additionalcharge.length;
  449. a++
  450. ) {
  451. addtotal =
  452. addtotal +
  453. this.prescriptions[i].additionalcharge[a].price *
  454. this.prescriptions[i].additionalcharge[a].count;
  455. }
  456. }
  457. addtotal = Math.floor(addtotal * 100) / 100;
  458. }
  459. }
  460. for (let i = 0; i < this.prescriptions.length; i++) {
  461. if (id == this.prescriptions[i].id) {
  462. if (this.prescriptions[i].advices != null) {
  463. for (let a = 0; a < this.prescriptions[i].advices.length; a++) {
  464. total =
  465. total +
  466. this.prescriptions[i].advices[a].price *
  467. this.prescriptions[i].advices[a].prescribing_number;
  468. }
  469. }
  470. if (this.prescriptions[i].additionalcharge != null) {
  471. for (
  472. let a = 0;
  473. a < this.prescriptions[i].additionalcharge.length;
  474. a++
  475. ) {
  476. addtotal =
  477. addtotal +
  478. this.prescriptions[i].additionalcharge[a].price *
  479. this.prescriptions[i].additionalcharge[a].count;
  480. }
  481. }
  482. addtotal = Math.floor(addtotal * 100) / 100;
  483. }
  484. }
  485. return total + addtotal;
  486. },
  487. getProjectName(id) {
  488. var project_name = "";
  489. for (let i = 0; i < this.projectList.length; i++) {
  490. if (id == this.projectList[i].id) {
  491. project_name = this.projectList[i].project_name;
  492. }
  493. }
  494. return project_name;
  495. },
  496. getDiagnosis(ids) {
  497. let newIds = ids.split(",").sort(function (a, b) {
  498. return a - b;
  499. });
  500. var name = "";
  501. let nameArr = [];
  502. for (let i = 0; i < this.diagnoses.length; i++) {
  503. // if(id == this.diagnoses[i].id){
  504. // name = this.diagnoses[i].class_name
  505. // }
  506. if (newIds.indexOf(this.diagnoses[i].id.toString()) > -1) {
  507. // name += diagnoses[i].class_name + ' '
  508. nameArr.push(this.diagnoses[i].class_name);
  509. }
  510. }
  511. let newNameArr = [];
  512. nameArr.map((item, index) => {
  513. if (item == "尿毒症") {
  514. newNameArr.push(item);
  515. nameArr.splice(index, 1, "");
  516. }
  517. });
  518. newNameArr.push(...nameArr);
  519. return newNameArr.join(" ");
  520. },
  521. compare(property) {
  522. return function (a, b) {
  523. var value1 = a[property];
  524. var value2 = b[property];
  525. return value1 - value2; //升序排序
  526. };
  527. },
  528. getPage() {
  529. this.page = 1;
  530. this.pageArr = [];
  531. this.advicePrint.map((item) => {
  532. let arr = [];
  533. item.pageArr = [];
  534. if (item.advices.length <= 5) {
  535. this.page = 1;
  536. arr.push(item.advices.length);
  537. item.pageArr.push(arr);
  538. } else if (item.advices.length > 5) {
  539. this.page = parseInt(item.advices.length / 5);
  540. let num = item.advices.length % 5;
  541. for (var i = 0; i < this.page; i++) {
  542. item.pageArr.push([5]);
  543. }
  544. if (num != 0) {
  545. item.pageArr.push([num]);
  546. }
  547. }
  548. });
  549. // console.log('this.pageArr',this.pageArr)
  550. },
  551. getName(list) {
  552. console.log("list", list);
  553. let new_list = [];
  554. for (let i = 0; i < list.length; i++) {
  555. if (list[i].aac031 == "1") {
  556. new_list.push(list[i]);
  557. }
  558. }
  559. switch (new_list[0].bcc334) {
  560. case "A31001":
  561. return "深圳医保1档";
  562. break;
  563. case "A31002":
  564. return "深圳医保2档";
  565. break;
  566. case "A31003":
  567. return "深圳医保3档";
  568. break;
  569. case "A31004":
  570. return "二档(少儿)";
  571. break;
  572. case "A31005":
  573. return "学生二档";
  574. break;
  575. case "A31006":
  576. return "大学生二档";
  577. break;
  578. case "A32001":
  579. return "在职公务员";
  580. break;
  581. case "A32002":
  582. return "在职驻深公务员";
  583. break;
  584. case "A39301":
  585. return "家属统筹医疗";
  586. break;
  587. case "A41001":
  588. return "工伤在职";
  589. break;
  590. case "A51001":
  591. return "生育在职";
  592. break;
  593. case "A52001":
  594. return "生育医疗一档";
  595. break;
  596. case "A52002":
  597. return "生育医疗一档";
  598. break;
  599. case "C31001":
  600. return "一档医疗退休";
  601. break;
  602. case "C31002":
  603. return "二档医疗退休";
  604. break;
  605. }
  606. },
  607. },
  608. created() {
  609. this.getPrescriptionPrint();
  610. this.getAllDoctorList();
  611. this.getInitData();
  612. this.getHisPatientDetail();
  613. var xtuser = this.$store.getters.xt_user;
  614. this.orgname = xtuser.org.org_name;
  615. this.org_id = this.$store.getters.xt_user.org.id;
  616. },
  617. watch: {
  618. ids: function (val) {
  619. console.log("val1111111111111111111111111111", val);
  620. this.ids = val;
  621. this.getPrescriptionPrint();
  622. },
  623. },
  624. };
  625. </script>
  626. <style lang="scss" scoped>
  627. .prescription-print {
  628. -webkit-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
  629. 0 0 60px rgba(0, 0, 0, 0.06) inset;
  630. -moz-box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27),
  631. 0 0 40px rgba(0, 0, 0, 0.06) inset;
  632. box-shadow: 0 1px 4px rgba(0, 0, 0, 0.27), 0 0 40px rgba(0, 0, 0, 0.06) inset;
  633. margin-bottom: 20px;
  634. padding: 20px 10px;
  635. }
  636. .printTitle {
  637. font-size: 22px;
  638. text-align: center;
  639. font-weight: bold;
  640. margin-bottom: 10px;
  641. }
  642. .infoTitle {
  643. display: flex;
  644. margin-top: 10px;
  645. line-height: 24px;
  646. }
  647. .infoTitle div {
  648. width: 200px;
  649. }
  650. .infoMain {
  651. display: flex;
  652. flex-wrap: wrap;
  653. margin-top: 10px;
  654. }
  655. .infoMain div {
  656. width: 50%;
  657. line-height: 24px;
  658. }
  659. .prescriptionBox {
  660. padding: 0 10px;
  661. min-height: 400px;
  662. }
  663. .Rp {
  664. font-size: 22px;
  665. font-weight: bold;
  666. }
  667. .drugsBox {
  668. padding-left: 40px;
  669. margin-bottom: 10px;
  670. }
  671. .drugsBox div {
  672. line-height: 20px;
  673. }
  674. .drugsOne {
  675. line-height: 24px;
  676. }
  677. .drugsOne span {
  678. margin-right: 20px;
  679. }
  680. .doctorBox {
  681. display: flex;
  682. justify-content: space-between;
  683. padding: 0 10px;
  684. line-height: 24px;
  685. border-bottom: 2px solid #000;
  686. }
  687. .actionBar {
  688. display: flex;
  689. justify-content: space-between;
  690. line-height: 24px;
  691. padding: 0 10px;
  692. }
  693. .actionBar p {
  694. width: 150px;
  695. }
  696. .under_line {
  697. display: inline-block;
  698. border-bottom: 1px solid #000;
  699. flex: 1;
  700. }
  701. </style>