Browse Source

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

csx 3 years ago
parent
commit
a9b5704d75
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/xt_pages/outpatientDoctorStation/template/printOne.vue

+ 3 - 3
src/xt_pages/outpatientDoctorStation/template/printOne.vue View File

2
   <div id='prescriptionPrint'>
2
   <div id='prescriptionPrint'>
3
     <div v-for="(item,index) in advicePrint" :key="index">
3
     <div v-for="(item,index) in advicePrint" :key="index">
4
       <div id='prescription-print' class="prescription-print" style="page-break-after: always;">
4
       <div id='prescription-print' class="prescription-print" style="page-break-after: always;">
5
-          <div class="printTitle" v-if="prescriptions[0].med_type == '1111'">{{orgname}}第一类精神处方笺</div>
6
-          <div class="printTitle"  v-if="prescriptions[0].med_type == '1112'">{{orgname}}第二类精神处方笺</div>
7
-          <div class="printTitle" v-if="prescriptions[0].med_type != '1111' && prescriptions[0].med_type != '1112'">{{orgname}}处方笺</div>
5
+          <div class="printTitle" v-if="item.med_type == '1111'">{{orgname}}第一类精神处方笺</div>
6
+          <div class="printTitle"  v-if="item.med_type == '1112'">{{orgname}}第二类精神处方笺</div>
7
+          <div class="printTitle" v-if="item.med_type != '1111' && item.med_type != '1112'">{{orgname}}处方笺</div>
8
           <!--<div class="printTitle">{{orgname}}处方笺</div>-->
8
           <!--<div class="printTitle">{{orgname}}处方笺</div>-->
9
           <div class="infoTitle">
9
           <div class="infoTitle">
10
               <p>姓名:{{item.patient.name?item.patient.name:""}}</p>
10
               <p>姓名:{{item.patient.name?item.patient.name:""}}</p>