printThree.vue 22KB

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