Browse Source

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

28169 1 year ago
parent
commit
9800e00e86
1 changed files with 8 additions and 7 deletions
  1. 8 7
      src/xt_pages/outpatientDoctorStation/template/prinSeven.vue

+ 8 - 7
src/xt_pages/outpatientDoctorStation/template/prinSeven.vue View File

@@ -103,14 +103,13 @@
103 103
               <div style="position: relative;">
104 104
                 <div class="drugsOne" :style="{'border-right':item.arr.length>0 && item.arr[0][0].groupno==it.groupno ? '1px solid black': 'none','width':'80%'}">
105 105
                   <span style="font-weight: bold" >
106
-                    {{ index + 1 + "." }}
106
+                    {{ index + 1 + "."}}
107 107
                   </span>
108 108
                   {{ it.advice_name ? it.advice_name : "" }}&nbsp;&nbsp;
109 109
                   <span v-if="it.drug.min_unit != it.drug.dose_unit">
110 110
                     {{ it.drug.dose }}{{ it.drug.dose_unit }}&nbsp;* {{ it.drug.min_number }}{{ it.drug.min_unit }}/
111 111
                     {{it.drug.max_unit}}
112 112
                   </span>&nbsp;
113
-
114 113
                   <div>
115 114
                     <template v-if="item.arr.length>0 && item.arr[0][0].groupno==it.groupno">
116 115
                       <div >
@@ -134,16 +133,18 @@
134 133
                     &nbsp;&nbsp;<span>
135 134
                       {{ it.execution_frequency }}&nbsp;{{
136 135
                         it.delivery_way
137
-                      }}&nbsp;</span>&nbsp;&nbsp;<span>{{ it.advice_desc }}</span>
136
+                      }}&nbsp;</span>&nbsp;&nbsp;<span>{{ it.advice_desc}}</span>
137
+                  </div>
138
+                  <div style="margin-left: 70px" v-if="it.remark !=''">
139
+                    备注:<span > {{ it.remark }}</span>
138 140
                   </div>
139 141
                   <!-- v-if="arr.length>0 && arr[0][0].groupno==it.groupno" 'border-right':arr.length>0 && arr[0][0].groupno==it.groupno ? '1px solid black' :'none',-->
140 142
                 </div>
141 143
                 <div style="display: inline-block;position: absolute;left:80%;bottom:0px;margin-left: 10px;" >
142 144
                   ×&nbsp;{{ it.prescribing_number}}
143 145
                 </div>
144
-                <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 10px;" v-if="item.arr.length>0&&item.arr[0][0].groupno!=it.groupno">
146
+                <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 10px;" v-if="(item.arr.length>0&&item.arr[0][0].groupno!=it.groupno) || item.arr.length==0">
145 147
                   &nbsp;共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
146
-                  <!-- &nbsp;共{{ it.single_dose }}{{ it.single_dose_unit }} -->
147 148
                 </div>
148 149
                 <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 10px;" v-if="item.arr.length>0&&item.arr[0][0].groupno==it.groupno">
149 150
                   <!-- &nbsp;共{{ it.prescribing_number}}{{ it.prescribing_number_unit }} -->
@@ -208,8 +209,8 @@
208 209
               :key="index"
209 210
             >
210 211
               <div class="drugsOne">
211
-                <span style="font-weight: bold">{{ index + 1 + "." }}</span
212
-                >{{
212
+                <span style="font-weight: bold">{{ index + 1 + "." }}</span>
213
+                {{
213 214
                   it.type == 2
214 215
                     ? getProjectName(it.project_id)
215 216
                       ? getProjectName(it.project_id)