yq1 9 months ago
parent
commit
32f5cd4566
1 changed files with 6 additions and 9 deletions
  1. 6 9
      src/xt_pages/outpatientDoctorStation/template/prinSeven.vue

+ 6 - 9
src/xt_pages/outpatientDoctorStation/template/prinSeven.vue View File

99
                 </div>
99
                 </div>
100
               </template>
100
               </template>
101
               <div style="position: relative;">
101
               <div style="position: relative;">
102
-                <!-- :style="{'border-right':item.arr.length>0 && (item.arr[0][0].groupno==it.groupno) ? '1px solid black': 'none','width':'80%'}" -->
103
-                <!-- <div class="drugsOne" >
102
+                <!--  -->
103
+                <div class="drugsOne" :style="{'border-right':item.arr.length>0 && (item.arr[0][0].groupno==it.groupno) ? '1px solid black': 'none','width':'80%'}">
104
                   <span style="font-weight: bold" >
104
                   <span style="font-weight: bold" >
105
                     {{ index + 1 + "."}}
105
                     {{ index + 1 + "."}}
106
                   </span>
106
                   </span>
155
                     <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" v-if="item.arr.length>0&&item.arr[0][0].groupno==it.groupno">
155
                     <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" v-if="item.arr.length>0&&item.arr[0][0].groupno==it.groupno">
156
                       &nbsp;共{{ it.single_dose }}{{ it.single_dose_unit }}
156
                       &nbsp;共{{ it.single_dose }}{{ it.single_dose_unit }}
157
                     </div>
157
                     </div>
158
-                </template> -->
158
+                </template>
159
                 <!-- --------------------------------------------------------------------- -->
159
                 <!-- --------------------------------------------------------------------- -->
160
-                <template>
160
+                <!-- <template>
161
                   <div v-for="(ite,indexs) in item.arr" :key="indexs">
161
                   <div v-for="(ite,indexs) in item.arr" :key="indexs">
162
                     <div class="drugsOne" :style="{'border-right':item.arr.length>0 && (ite[0].groupno==it.groupno) ? '1px solid black': 'none','width':'80%'}">
162
                     <div class="drugsOne" :style="{'border-right':item.arr.length>0 && (ite[0].groupno==it.groupno) ? '1px solid black': 'none','width':'80%'}">
163
                     <span style="font-weight: bold" >
163
                     <span style="font-weight: bold" >
179
                         </div>
179
                         </div>
180
                         <div style="display: inline-block;position: absolute;left:85%;top:20px;margin-left: 5px;" >
180
                         <div style="display: inline-block;position: absolute;left:85%;top:20px;margin-left: 5px;" >
181
                           &nbsp;共{{ ite[0].single_dose }}{{ ite[0].single_dose_unit }}
181
                           &nbsp;共{{ ite[0].single_dose }}{{ ite[0].single_dose_unit }}
182
-                          <!-- 共{{ it.prescribing_number}}{{ it.prescribing_number_unit }} -->
183
                         </div>
182
                         </div>
184
                       </template>
183
                       </template>
185
                     </div>
184
                     </div>
194
                     <div style="margin-left: 70px" v-if="it.remark !=''">
193
                     <div style="margin-left: 70px" v-if="it.remark !=''">
195
                       备注:<span > {{ it.remark }}</span>
194
                       备注:<span > {{ it.remark }}</span>
196
                     </div>
195
                     </div>
197
-                      <!-- 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',-->
198
                     </div>
196
                     </div>
199
                     <div style="display: inline-block;position: absolute;left:80%;bottom:30px;margin-left: 5px;" >
197
                     <div style="display: inline-block;position: absolute;left:80%;bottom:30px;margin-left: 5px;" >
200
                       ×&nbsp;{{ it.prescribing_number}}
198
                       ×&nbsp;{{ it.prescribing_number}}
207
                       </template>
205
                       </template>
208
                     </div>
206
                     </div>
209
                     <template>
207
                     <template>
210
-                      <!-- <div v-for="(ite,indexs) in item.arr" :key="indexs"> -->
211
                         <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" v-if="(item.arr.length>0&&item.arr[0][0].groupno!=it.groupno) || item.arr.length==0">
208
                         <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" v-if="(item.arr.length>0&&item.arr[0][0].groupno!=it.groupno) || item.arr.length==0">
212
                           &nbsp;共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
209
                           &nbsp;共{{ it.prescribing_number}}{{ it.prescribing_number_unit }}
213
                         </div>
210
                         </div>
215
                         <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" v-if="item.arr.length>0&&item.arr[0][0].groupno==it.groupno">
212
                         <div style="display: inline-block;position: absolute;left:85%;top:0px;margin-left: 5px;" v-if="item.arr.length>0&&item.arr[0][0].groupno==it.groupno">
216
                           &nbsp;共{{ it.single_dose }}{{ it.single_dose_unit }}
213
                           &nbsp;共{{ it.single_dose }}{{ it.single_dose_unit }}
217
                         </div>
214
                         </div>
218
-                      <!-- </div> -->
215
+                  
219
                     </template>
216
                     </template>
220
                   </div>
217
                   </div>
221
 
218
 
222
-                </template>
219
+                </template> -->
223
 
220
 
224
               </div>
221
               </div>
225
               <template v-if="index==yi&&item.advices.length>5">
222
               <template v-if="index==yi&&item.advices.length>5">