Explorar el Código

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

28169 hace 3 semanas
padre
commit
a9dfc4a3cf

+ 12 - 5
src/xt_pages/dialysis/details/index.vue Ver fichero

@@ -261,6 +261,7 @@
261 261
       :close-on-press-escape="false"
262 262
       :show-close="false"
263 263
       width="30%"
264
+      class="eldialog"
264 265
     >
265 266
       <el-button
266 267
         size="small"
@@ -273,14 +274,14 @@
273 274
       <div id="print_content">
274 275
       <div class="print_main_content">
275 276
         <div class="table_panel">
276
-            <div v-for="(main_collection,index) in printList" :key="index">
277
+            <div v-for="(main_collection,index) in printList" :key="index" style="margin: 0 10px;">
277 278
               <div class="signPrint" style="width: 360px;font-size:16px;">
278 279
                 <div  style="margin-left:50px;">姓名:
279 280
                   <span>{{main_collection.patient.name}} </span>
280 281
                   ({{ main_collection.patient.dialysis_no }},{{getNewAge(main_collection.patient.id_card_no)  }}岁)
281 282
                 </div>
282
-                <div class="printCell" style="display:flex;justify-content: space-around;" v-if="org_id ==10598 || org_id == 0">
283
-                  <div style="margin-left:-250px;">透析模式:
283
+                <div class="printCell" style="display:flex;" v-if="org_id ==10598 || org_id == 0">
284
+                  <div style="">透析模式:
284 285
                    <span>{{getModeName(main_collection.prescription.mode_id)  }}</span>
285 286
                   </div>
286 287
                 </div>
@@ -528,11 +529,11 @@
528 529
                   </span>
529 530
                 </div>
530 531
                 <div class="printCell" style="display:flex;justify-content: space-around;"  v-if="org_id==10598 || org_id == 0">
531
-                  <span style="display: block;margin-left: -30px;">目标脱水量:{{main_collection.prescription.target_ultrafiltration}}
532
+                  <span style="display: block;width: 50%;">目标脱水量:{{main_collection.prescription.target_ultrafiltration}}
532 533
                     <span v-if="$store.getters.xt_user.org.id == 10278 || $store.getters.xt_user.org.id == 10460">ml</span>
533 534
                      <span v-else>L</span>
534 535
                   </span> 
535
-                  <span>
536
+                  <span style="display: block;width: 50%;">
536 537
                     血流量:{{ main_collection.prescription.blood_flow_volume }} ml/min
537 538
                   </span>
538 539
                 </div>
@@ -2993,6 +2994,7 @@ export default {
2993 2994
           scanStyles: false
2994 2995
         })
2995 2996
       },
2997
+      // 打印上机单弹窗数据源
2996 2998
     getInitPrintData(){
2997 2999
       const loading = this.$loading({
2998 3000
         lock: true,
@@ -3496,4 +3498,9 @@ export default {
3496 3498
       }
3497 3499
     }
3498 3500
 }
3501
+.eldialog{
3502
+  .el-dialog__body{
3503
+    padding: 30px 40px;
3504
+  }
3505
+}
3499 3506
 </style>

+ 161 - 39
src/xt_pages/outpatientDoctorStation/template/prineight.vue Ver fichero

@@ -15,12 +15,16 @@
15 15
           >
16 16
             {{ orgname }}处方笺
17 17
           </div>
18
+          <!-- v-if="prescriptions[index].med_type == '1112'" -->
18 19
           <div class="printTitle" v-else>
19
-            <span>{{ orgname }}处方笺</span>
20
-            <span style="font-size: 14px;font-weight: normal;color: red;" 
21
-              v-if="prescriptions[index].med_type == '1112'">(精)</span>
20
+            <div style="font-size: 14px;font-weight: normal;text-align: right;" 
21
+              v-if="prescriptions[index].med_type == '1112'">(精二)
22
+            </div>
23
+            <span>{{ orgname }}处方笺11111</span>
22 24
           </div>
23
-          <div  style="border-bottom: 1px solid black;border-top: 1px solid black;width: 100%;">
25
+          <!-- 非精神处方 -->
26
+          <div  style="border-bottom: 1px solid black;border-top: 1px solid black;width: 100%;" 
27
+            v-if="prescriptions[index].med_type != '1111' && prescriptions[index].med_type != '1112'">
24 28
             <div style="display: flex;margin: 10px 0;line-height: 24px;padding: 0 10px;">
25 29
               <div style="flex: 1;">
26 30
                 NO:
@@ -56,6 +60,38 @@
56 60
             </div>
57 61
             <div style="width: 100%;margin: 10px 0;padding: 0 10px;">地址:{{ item.patient.home_address }}</div>
58 62
           </div>
63
+          <!-- 精二 -->
64
+          <div style="border-bottom: 1px solid black;border-top: 1px solid black;width: 100%;"
65
+            v-if="prescriptions[index].med_type == '1112'">
66
+            <div style="display: flex;">
67
+              <div style="flex: 1;">处方编号:</div>
68
+              <div style="flex: 1;">日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</div>
69
+            </div>
70
+            
71
+            <div  style="display: flex;margin: 10px 0;line-height: 24px;padding: 0 10px;">
72
+              <p style="width: 200px;">姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
73
+              <p style="width: 200px;">
74
+                性别:
75
+                <span v-if="item.patient.gender == 1">男</span>
76
+                <span v-if="item.patient.gender == 2">女</span>
77
+              </p>
78
+              <p style="width: 200px;">年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>
79
+            </div>
80
+            <div style="display: flex;margin: 10px 0;">
81
+              <div style="flex: 1;">门诊号:{{ hisPatient.number ? hisPatient.number : "" }}</div>
82
+              <div style="flex: 1;">费别:居民医保/职工医保/自费</div>
83
+            </div>
84
+            <div style="display: flex;">
85
+              <div style="flex: 1;">临床诊断:{{ getDiagnosis(item.info.diagnosis) }}</div>
86
+              <div style="flex: 1;">身份证号:</div>
87
+            </div>
88
+            <div style="flex: 2;margin: 10px 0;">住址/电话:{{ item.patient.home_address }}&nbsp;<span>{{ item.patient.phone }}</span></div>
89
+            <div style="display: flex;">
90
+              <div style="flex: 1;">代办人姓名:{{  }}</div>
91
+              <div style="flex: 1;">身份证号(代办人):{{  }}</div>
92
+            </div>
93
+          </div>
94
+
59 95
           <div class="prescriptionBox" style="height: 300px;">
60 96
             <div class="Rp">Rp:</div>
61 97
             <div
@@ -64,38 +100,72 @@
64 100
               :style="{'page-break-after':index==yi&&item.advices.length>5? 'always':'auto'}"
65 101
             >
66 102
               <template v-if="index==yi+1&&item.advices.length>5">
67
-                <div style="margin: 20px 0px;">
68
-                  <div class="infoTitle">
69
-                    <p>姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
70
-                    <p>
103
+                <!-- 非精神处方 -->
104
+                <div style="margin: 20px 0px; border-bottom: 1px solid black;border-top: 1px solid black;" 
105
+                  v-if="prescriptions[index].med_type != '1111' && prescriptions[index].med_type != '1112'">
106
+                  <div style="display: flex;margin: 10px 0;line-height: 24px;padding: 0 10px;">
107
+                    <div style="flex: 1;">
108
+                      NO:
109
+                    </div>
110
+                    <div style="flex: 1;">
111
+                      开方时间:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
112
+                    </div>
113
+                  </div>
114
+                  <div style="display: flex;line-height: 24px;padding: 0 10px;">
115
+                    <div style="flex: 1;">
116
+                      透析号:{{ item.patient.dialysis_no }}
117
+                    </div>
118
+                    <div style="flex: 1;">
119
+                      费别:居民医保/职工医保/自费
120
+                    </div>
121
+                  </div>
122
+                  <div  style="display: flex;margin: 10px 0;line-height: 24px;padding: 0 10px;">
123
+                    <p style="width: 200px;">姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
124
+                    <p style="width: 200px;">
71 125
                       性别:
72 126
                       <span v-if="item.patient.gender == 1">男</span>
73 127
                       <span v-if="item.patient.gender == 2">女</span>
74 128
                     </p>
75
-                    <p>年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>
129
+                    <p style="width: 200px;">年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>
76 130
                   </div>
77
-                  <div class="infoMain">
78
-                    <div style="margin-bottom: 10px">
79
-                      门诊号:{{ hisPatient.number ? hisPatient.number : "" }}
80
-                    </div>
81
-                    <div style="margin-bottom: 10px">
82
-                      科室:{{ item.info ? getDepart(item.info.departments) : "" }}
83
-                    </div>
84
-                    <div style="margin-bottom: 10px">
85
-                      <!-- 医保卡号:{{ item.hisPatient.number ? item.hisPatient.number : "" }} -->
86
-                      费别:居民医保/职工医保/自费
87
-                    </div>
88
-                    <div style="margin-bottom: 10px" v-if="org_id != 10188">
89
-                      <!-- 电话:{{ item.patient.phone }} -->
90
-                      开方日期:{{ getTime(item.pre_time) ? getTime(item.pre_time) : "" }}
91
-                    </div>
92
-                    <div style="margin-bottom: 10px" v-else>
93
-                      日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}
94
-                    </div>
95
-                    <div style="width: 100%">地址:{{ item.patient.home_address }}</div>
96
-                    <div style="width: 100%">
131
+                  <div style="display: flex;line-height: 24px;padding: 0 10px;">
132
+                    <div style="flex: 1;">
97 133
                       临床诊断:{{ getDiagnosis(item.info.diagnosis) }}
98 134
                     </div>
135
+                    <div style="flex: 1;">
136
+                      过敏史:
137
+                    </div>
138
+                  </div>
139
+                  <div style="width: 100%;margin: 10px 0;padding: 0 10px;">地址:{{ item.patient.home_address }}</div>
140
+                </div>
141
+                <!-- 精二 -->
142
+                <div style="margin: 20px 0px;border-bottom: 1px solid black;border-top: 1px solid black;width: 100%;"
143
+                  v-if="prescriptions[index].med_type == '1112'">
144
+                  <div style="display: flex;">
145
+                    <div style="flex: 1;">处方编号:</div>
146
+                    <div style="flex: 1;">日期:{{ getTime(item.ctime) ? getTime(item.ctime) : "" }}</div>
147
+                  </div>               
148
+                  <div  style="display: flex;margin: 10px 0;line-height: 24px;padding: 0 10px;">
149
+                    <p style="width: 200px;">姓名:{{ item.patient.name ? item.patient.name : "" }}</p>
150
+                    <p style="width: 200px;">
151
+                      性别:
152
+                      <span v-if="item.patient.gender == 1">男</span>
153
+                      <span v-if="item.patient.gender == 2">女</span>
154
+                    </p>
155
+                    <p style="width: 200px;">年龄:{{ getAge(item.patient) ? getAge(item.patient) : "" }}岁</p>
156
+                  </div>
157
+                  <div style="display: flex;margin: 10px 0;">
158
+                    <div style="flex: 1;">门诊号:{{ hisPatient.number ? hisPatient.number : "" }}</div>
159
+                    <div style="flex: 1;">费别:居民医保/职工医保/自费</div>
160
+                  </div>
161
+                  <div style="display: flex;">
162
+                    <div style="flex: 1;">临床诊断:{{ getDiagnosis(item.info.diagnosis) }}</div>
163
+                    <div style="flex: 1;">身份证号:</div>
164
+                  </div>
165
+                  <div style="flex: 2;margin: 10px 0;">住址/电话:{{ item.patient.home_address }}&nbsp;<span>{{ item.patient.phone }}</span></div>
166
+                  <div style="display: flex;">
167
+                    <div style="flex: 1;">代办人姓名:{{  }}</div>
168
+                    <div style="flex: 1;">身份证号(代办人):{{  }}</div>
99 169
                   </div>
100 170
                 </div>
101 171
               </template>
@@ -288,7 +358,8 @@
288 358
 
289 359
               </div>
290 360
               <template v-if="index==yi&&item.advices.length>5">
291
-                <div style="margin: 20px 0px;">
361
+                <div style="margin: 20px 0px;" 
362
+                  v-if="prescriptions[index].med_type != '1111' && prescriptions[index].med_type != '1112'">
292 363
                   <div style="display: flex;border-top: 1px solid #000;margin: 10px 0;">
293 364
                     <div style="flex: 1;">医师:{{ getAdminUser(item.creator)}}</div>
294 365
                     <div style="flex: 1;">金额:
@@ -302,6 +373,30 @@
302 373
                     <div style="flex: 1;">核/发药师:</div>
303 374
                   </div>
304 375
                 </div>
376
+                <div style="margin: 20px 0px;" v-if="prescriptions[index].med_type == '1112'">
377
+                  <div style="display: flex;border-top: 1px solid #000;margin: 10px 0;">
378
+                    <div style="flex: 1;">医师:{{ getAdminUser(item.creator)}}</div>
379
+                    <div style="flex: 1;">金额:
380
+                      {{ getTotalOne(item.id).toFixed(2)? getTotalOne(item.id).toFixed(2) : 0}}
381
+                    </div>
382
+                    <div style="flex: 1;">其他:</div>
383
+                  </div>
384
+                  <div style="display: flex;">
385
+                    <div style="flex: 1;">审核医师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
386
+                    <div style="flex: 1;">调配药师:</div>
387
+                    <div style="flex: 1;">核/发药师:</div>
388
+                  </div>
389
+                  <div style="display: flex;margin: 10px 0;"> 
390
+                    <div style="flex: 1;">取药人:</div>
391
+                    <div style="flex: 1;">执行人:</div>
392
+                    <div style="flex: 1;">弃去量:</div>
393
+                    <div style="flex: 1;">证明人:</div>
394
+                  </div>
395
+                  <div style="display: flex;"> 
396
+                    <div style="flex: 1;">收回空安瓿或废贴批号:</div>
397
+                    <div style="flex: 1;">发出药品批号:</div>
398
+                  </div>
399
+                </div>
305 400
               </template>
306 401
             </div>
307 402
 
@@ -353,17 +448,44 @@
353 448
             </div>
354 449
             <div style="text-align: center">(以下空白)</div>
355 450
           </div>
356
-          <div style="display: flex;border-top: 1px solid #000;margin: 10px 0;">
357
-            <div style="flex: 1;">医师:{{ getAdminUser(item.creator)}}</div>
358
-            <div style="flex: 1;">金额:
359
-              {{ getTotalOne(item.id).toFixed(2)? getTotalOne(item.id).toFixed(2) : 0}}
451
+
452
+          <div v-if="prescriptions[index].med_type != '1111' && prescriptions[index].med_type != '1112'">
453
+            <div style="display: flex;border-top: 1px solid #000;margin: 10px 0;">
454
+              <div style="flex: 1;">医师:{{ getAdminUser(item.creator)}}</div>
455
+              <div style="flex: 1;">金额:
456
+                {{ getTotalOne(item.id).toFixed(2)? getTotalOne(item.id).toFixed(2) : 0}}
457
+              </div>
458
+              <div style="flex: 1;">收费员:</div>
459
+            </div>
460
+            <div style="display: flex;">
461
+              <div style="flex: 1;">审核医师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
462
+              <div style="flex: 1;">调配药师:</div>
463
+              <div style="flex: 1;">核/发药师:</div>
360 464
             </div>
361
-            <div style="flex: 1;">收费员:</div>
362 465
           </div>
363
-          <div style="display: flex;">
364
-            <div style="flex: 1;">审核医师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
365
-            <div style="flex: 1;">调配药师:</div>
366
-            <div style="flex: 1;">核/发药师:</div>
466
+          <div v-if="prescriptions[index].med_type == '1112'">
467
+            <div style="display: flex;border-top: 1px solid #000;margin: 10px 0;">
468
+              <div style="flex: 1;">医师:{{ getAdminUser(item.creator)}}</div>
469
+              <div style="flex: 1;">金额:
470
+                {{ getTotalOne(item.id).toFixed(2)? getTotalOne(item.id).toFixed(2) : 0}}
471
+              </div>
472
+              <div style="flex: 1;">其他:</div>
473
+            </div>
474
+            <div style="display: flex;">
475
+              <div style="flex: 1;">审核医师:{{getDoctor(item.advices[0].checker)?getDoctor(item.advices[0].checker):""}}</div>
476
+              <div style="flex: 1;">调配药师:</div>
477
+              <div style="flex: 1;">核/发药师:</div>
478
+            </div>
479
+            <div style="display: flex;margin: 10px 0;"> 
480
+              <div style="flex: 1;">取药人:</div>
481
+              <div style="flex: 1;">执行人:</div>
482
+              <div style="flex: 1;">弃去量:</div>
483
+              <div style="flex: 1;">证明人:</div>
484
+            </div>
485
+            <div style="display: flex;"> 
486
+              <div style="flex: 1;">收回空安瓿或废贴批号:</div>
487
+              <div style="flex: 1;">发出药品批号:</div>
488
+            </div>
367 489
           </div>
368 490
       </div>
369 491
     </div>

+ 11 - 3
src/xt_pages/stock/detail/cancelStockDetail.vue Ver fichero

@@ -80,8 +80,8 @@
80 80
     </div>
81 81
 
82 82
 
83
-    <el-row :gutter="12" style="margin-top: 10px">
84
-      <el-table
83
+    <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
84
+      <el-table class="table"
85 85
         :data="cancelStockDate"
86 86
         :class="signAndWeighBoxPatients"
87 87
         border
@@ -93,6 +93,7 @@
93 93
           backgroundColor: 'rgb(245, 247, 250)',
94 94
           color: '#606266'
95 95
         }"
96
+        max-height="calc(100vh - 300px)"
96 97
       >
97 98
         <el-table-column label="单据编号" align="center" width="200">
98 99
           <template slot-scope="scope">
@@ -181,7 +182,7 @@
181 182
         :total="total"
182 183
       >
183 184
       </el-pagination>
184
-    </el-row>
185
+    <!-- </el-row> -->
185 186
   </div>
186 187
 </template>
187 188
 
@@ -792,6 +793,13 @@ export default {
792 793
     border-bottom: 1px #dcdfe6 solid;
793 794
     margin: 0px 0 20px 0;
794 795
   }
796
+  .table{
797
+    display: flex;
798
+    flex-direction: column;
799
+    .el-table__header-wrapper {
800
+      height: 70px !important; 
801
+    }
802
+  }
795 803
 }
796 804
 
797 805
 .edit_separater {

+ 88 - 77
src/xt_pages/stock/detail/stockInDetail.vue Ver fichero

@@ -64,6 +64,7 @@
64 64
           format="yyyy-MM-dd"
65 65
           value-format="yyyy-MM-dd"
66 66
           @change="startTimeChange"
67
+          
67 68
         ></el-date-picker>
68 69
         <span class="cellLine"> - </span>
69 70
         <el-date-picker
@@ -82,82 +83,84 @@
82 83
 
83 84
     </div>
84 85
 
85
-    <el-row :gutter="12" style="margin-top: 10px">
86
-      <el-table
87
-        :data="cancelStockDate"
88
-        :class="signAndWeighBoxPatients"
89
-        border
90
-        highlight-current-row
91
-        ref="multipleTable"
92
-        @selection-change="select"
93
-        :row-style="{ color: '#303133' }"
94
-        :header-cell-style="{
95
-          backgroundColor: 'rgb(245, 247, 250)',
96
-          color: '#606266'
97
-        }"
98
-      >
99
-        <el-table-column label="单据编号" align="center" width="200">
100
-          <template slot-scope="scope">
101
-            {{ scope.row.warehousing_order }}
102
-          </template>
103
-        </el-table-column>
104
-
105
-        <el-table-column label="耗材类型" align="center">
106
-          <template slot-scope="scope">
107
-            {{ typeName(scope.row.good_type_id) }}
108
-          </template>
109
-        </el-table-column>
110
-
111
-        <el-table-column label="耗材名称" align="center">
112
-          <template slot-scope="scope">
113
-            {{ typeNameOne(scope.row.good_id) }}
114
-
115
-          </template>
116
-        </el-table-column>
117
-
118
-        <el-table-column label="规格型号" align="center">
119
-          <template slot-scope="scope">
120
-            {{ specificationName(scope.row.good_id) }}
121
-
122
-          </template>
123
-        </el-table-column>
124
-
125
-
126
-        <el-table-column label="操作时间" align="center">
127
-          <template slot-scope="scope">
128
-            {{ getTime(scope.row.Warehousing.warehousing_time) }}
129
-          </template>
130
-        </el-table-column>
131
-        <el-table-column label="制单人" align="center">
132
-          <template slot-scope="scope">
133
-            {{ getXuserName(scope.row.Warehousing.creater) }}
134
-          </template>
135
-        </el-table-column>
136
-        <el-table-column label="仓库名称" align="center">
137
-          <template slot-scope="scope">
138
-            {{getStorehouseName(scope.row.storehouse_id) }}
139
-          </template>
140
-        </el-table-column>
141
-        <el-table-column label="进货价" align="center">
142
-          <template slot-scope="scope">
143
-            {{ scope.row.price }}
144
-          </template>
145
-        </el-table-column>
146
-        <el-table-column label="数量" align="center">
147
-          <template slot-scope="scope">
148
-            {{ scope.row.warehousing_count }}
149
-          </template>
150
-        </el-table-column>
151
-        <el-table-column label="总价" align="center">
152
-          <template slot-scope="scope">
153
-            <span v-if="scope.row.is_total == 0">{{
154
-              getTotal(scope.row.price, scope.row.warehousing_count)
155
-            }}</span>
156
-            <span v-else>{{ scope.row.total }}</span>
157
-          </template>
158
-        </el-table-column>
159
-      </el-table>
160
-
86
+    <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
87
+      <div style="width: 100%;">
88
+        <el-table
89
+          class="table"
90
+          :data="cancelStockDate"
91
+          :class="signAndWeighBoxPatients"
92
+          border
93
+          highlight-current-row
94
+          ref="multipleTable"
95
+          max-height="calc(100vh - 300px)"
96
+          @selection-change="select"
97
+          :row-style="{ color: '#303133' }"
98
+          :header-cell-style="{
99
+            backgroundColor: 'rgb(245, 247, 250)',
100
+            color: '#606266'
101
+          }"
102
+        >
103
+          <el-table-column label="单据编号" align="center" width="200">
104
+            <template slot-scope="scope">
105
+              {{ scope.row.warehousing_order }}
106
+            </template>
107
+          </el-table-column>
108
+
109
+          <el-table-column label="耗材类型" align="center">
110
+            <template slot-scope="scope">
111
+              {{ typeName(scope.row.good_type_id) }}
112
+            </template>
113
+          </el-table-column>
114
+
115
+          <el-table-column label="耗材名称" align="center">
116
+            <template slot-scope="scope">
117
+              {{ typeNameOne(scope.row.good_id) }}
118
+
119
+            </template>
120
+          </el-table-column>
121
+
122
+          <el-table-column label="规格型号" align="center">
123
+            <template slot-scope="scope">
124
+              {{ specificationName(scope.row.good_id) }}
125
+
126
+            </template>
127
+          </el-table-column>
128
+
129
+          <el-table-column label="操作时间" align="center">
130
+            <template slot-scope="scope">
131
+              {{ getTime(scope.row.Warehousing.warehousing_time) }}
132
+            </template>
133
+          </el-table-column>
134
+          <el-table-column label="制单人" align="center">
135
+            <template slot-scope="scope">
136
+              {{ getXuserName(scope.row.Warehousing.creater) }}
137
+            </template>
138
+          </el-table-column>
139
+          <el-table-column label="仓库名称" align="center">
140
+            <template slot-scope="scope">
141
+              {{getStorehouseName(scope.row.storehouse_id) }}
142
+            </template>
143
+          </el-table-column>
144
+          <el-table-column label="进货价" align="center">
145
+            <template slot-scope="scope">
146
+              {{ scope.row.price }}
147
+            </template>
148
+          </el-table-column>
149
+          <el-table-column label="数量" align="center">
150
+            <template slot-scope="scope">
151
+              {{ scope.row.warehousing_count }}
152
+            </template>
153
+          </el-table-column>
154
+          <el-table-column label="总价" align="center">
155
+            <template slot-scope="scope">
156
+              <span v-if="scope.row.is_total == 0">{{
157
+                getTotal(scope.row.price, scope.row.warehousing_count)
158
+              }}</span>
159
+              <span v-else>{{ scope.row.total }}</span>
160
+            </template>
161
+          </el-table-column>
162
+        </el-table>
163
+      </div>
161 164
       <el-pagination
162 165
         @size-change="handleSizeChange"
163 166
         @current-change="handleCurrentChange"
@@ -169,7 +172,7 @@
169 172
         :total="total"
170 173
       >
171 174
       </el-pagination>
172
-    </el-row>
175
+    <!-- </el-row> -->
173 176
   </div>
174 177
 </template>
175 178
 
@@ -914,6 +917,13 @@ export default {
914 917
   margin-top: 15px;
915 918
   margin-bottom: 15px;
916 919
 }
920
+.table{
921
+  display: flex;
922
+  flex-direction: column;
923
+  .el-table__header-wrapper {
924
+    height: 70px !important; 
925
+  }
926
+}
917 927
 </style>
918 928
 
919 929
 <style>
@@ -939,4 +949,5 @@ export default {
939 949
 .el-table::before {
940 950
   background-color: #d0d3da;
941 951
 }
952
+
942 953
 </style>

+ 11 - 3
src/xt_pages/stock/detail/stockOutDetail.vue Ver fichero

@@ -90,8 +90,8 @@
90 90
 
91 91
     </div>
92 92
 
93
-    <el-row :gutter="12" style="margin-top: 10px">
94
-      <el-table
93
+    <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
94
+      <el-table class="table"
95 95
         :data="cancelStockDate"
96 96
         :class="signAndWeighBoxPatients"
97 97
         border
@@ -103,6 +103,7 @@
103 103
           backgroundColor: 'rgb(245, 247, 250)',
104 104
           color: '#606266'
105 105
         }"
106
+        max-height="calc(100vh - 300px)"
106 107
       >
107 108
         <el-table-column label="单据编号" align="center" width="200">
108 109
           <template slot-scope="scope">
@@ -202,7 +203,7 @@
202 203
         :total="total"
203 204
       >
204 205
       </el-pagination>
205
-    </el-row>
206
+    <!-- </el-row> -->
206 207
   </div>
207 208
 </template>
208 209
 
@@ -1148,6 +1149,13 @@ export default {
1148 1149
   margin-top: 15px;
1149 1150
   margin-bottom: 15px;
1150 1151
 }
1152
+.table{
1153
+  display: flex;
1154
+  flex-direction: column;
1155
+  .el-table__header-wrapper {
1156
+    height: 70px !important; 
1157
+  }
1158
+}
1151 1159
 </style>
1152 1160
 
1153 1161
 <style>

+ 11 - 3
src/xt_pages/stock/drugs/components/drugCancelDetail.vue Ver fichero

@@ -70,8 +70,8 @@
70 70
       </div>
71 71
     </div>
72 72
 
73
-    <el-row :gutter="12" style="margin-top: 10px">
74
-      <el-table
73
+    <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
74
+      <el-table class="eltable"
75 75
         :data="tableData"
76 76
         :class="signAndWeighBoxPatients"
77 77
         border
@@ -83,6 +83,7 @@
83 83
           backgroundColor: 'rgb(245, 247, 250)',
84 84
           color: '#606266'
85 85
         }"
86
+        max-height="calc(100vh - 300px)"
86 87
       >
87 88
         <el-table-column label="单据编号" align="center" width="200">
88 89
           <template slot-scope="scope">
@@ -166,7 +167,7 @@
166 167
         :total="total"
167 168
       >
168 169
       </el-pagination>
169
-    </el-row>
170
+    <!-- </el-row> -->
170 171
   </div>
171 172
 </template>
172 173
 
@@ -561,6 +562,13 @@ export default {
561 562
   margin-top: 15px;
562 563
   margin-bottom: 15px;
563 564
 }
565
+.eltable{
566
+  display: flex;
567
+  flex-direction: column;
568
+  .el-table__header-wrapper {
569
+    height: 70px !important; 
570
+  }
571
+}
564 572
 </style>
565 573
 
566 574
 <style>

+ 11 - 3
src/xt_pages/stock/drugs/components/drugInOrder.vue Ver fichero

@@ -80,8 +80,8 @@
80 80
         ></el-date-picker>
81 81
     </div>
82 82
 
83
-    <el-row :gutter="12" style="margin-top: 10px">
84
-      <el-table
83
+    <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
84
+      <el-table class="eltable"
85 85
         :data="cancelStockDate"
86 86
         :class="signAndWeighBoxPatients"
87 87
         border
@@ -93,6 +93,7 @@
93 93
           backgroundColor: 'rgb(245, 247, 250)',
94 94
           color: '#606266'
95 95
         }"
96
+        max-height="calc(100vh - 300px)"
96 97
       >
97 98
         <el-table-column label="单据编号" align="center" width="200">
98 99
           <template slot-scope="scope">
@@ -169,7 +170,7 @@
169 170
         :total="total"
170 171
       >
171 172
       </el-pagination>
172
-    </el-row>
173
+    <!-- </el-row> -->
173 174
   </div>
174 175
 </template>
175 176
 
@@ -607,6 +608,13 @@ export default {
607 608
   margin-top: 15px;
608 609
   margin-bottom: 15px;
609 610
 }
611
+.eltable{
612
+  display: flex;
613
+  flex-direction: column;
614
+  .el-table__header-wrapper {
615
+    height: 70px !important; 
616
+  }
617
+}
610 618
 </style>
611 619
 
612 620
 <style>

+ 11 - 3
src/xt_pages/stock/drugs/components/drugOutDetail.vue Ver fichero

@@ -97,8 +97,8 @@
97 97
     </div>
98 98
 
99 99
 
100
-    <el-row :gutter="12" style="margin-top: 10px">
101
-      <el-table
100
+    <!-- <el-row :gutter="12" style="margin-top: 10px"> -->
101
+      <el-table class="eltable"
102 102
         :data="tableData"
103 103
         :class="signAndWeighBoxPatients"
104 104
         border
@@ -110,6 +110,7 @@
110 110
           backgroundColor: 'rgb(245, 247, 250)',
111 111
           color: '#606266'
112 112
         }"
113
+        max-height="calc(100vh - 300px)"
113 114
       >
114 115
         <el-table-column label="单据编号" align="center" width="200">
115 116
           <template slot-scope="scope">
@@ -212,7 +213,7 @@
212 213
         :total="total"
213 214
       >
214 215
       </el-pagination>
215
-    </el-row>
216
+    <!-- </el-row> -->
216 217
   </div>
217 218
 </template>
218 219
 
@@ -1151,6 +1152,13 @@ export default {
1151 1152
   margin-top: 15px;
1152 1153
   margin-bottom: 15px;
1153 1154
 }
1155
+.eltable{
1156
+  display: flex;
1157
+  flex-direction: column;
1158
+  .el-table__header-wrapper {
1159
+    height: 70px !important; 
1160
+  }
1161
+}
1154 1162
 </style>
1155 1163
 
1156 1164
 <style>