yq1 3 tygodni temu
rodzic
commit
e4e3f22af1

+ 12 - 5
src/xt_pages/dialysis/details/index.vue Wyświetl plik

@@ -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>

+ 11 - 3
src/xt_pages/stock/detail/cancelStockDetail.vue Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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 Wyświetl plik

@@ -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>