瀏覽代碼

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

XMLWAN 3 年之前
父節點
當前提交
a5738c7ed4
共有 1 個文件被更改,包括 3 次插入3 次删除
  1. 3 3
      src/xt_pages/outpatientDoctorStation/template/printOne.vue

+ 3 - 3
src/xt_pages/outpatientDoctorStation/template/printOne.vue 查看文件

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>