|
@@ -178,14 +178,91 @@
|
178
|
178
|
<el-pagination
|
179
|
179
|
@size-change="handleSizeChange"
|
180
|
180
|
@current-change="handleCurrentChange"
|
181
|
|
- :page-sizes="[10, 50, 100]"
|
182
|
|
- :page-size="10"
|
|
181
|
+ :page-sizes="[5, 10, 50, 100]"
|
|
182
|
+ :page-size="5"
|
183
|
183
|
background
|
184
|
|
- style="margin-top:20px;float: right"
|
|
184
|
+ style="margin-top:20px;text-align: right"
|
185
|
185
|
layout="total, sizes, prev, pager, next, jumper"
|
186
|
186
|
:total="total"
|
187
|
187
|
>
|
188
|
188
|
</el-pagination>
|
|
189
|
+ <el-table
|
|
190
|
+ v-show="showOne"
|
|
191
|
+ :data="WarehouseInfo.warehouseInfoDate"
|
|
192
|
+ :class="signAndWeighBoxPatients"
|
|
193
|
+ style="width: 100%;margin-top:10px;"
|
|
194
|
+ border
|
|
195
|
+ highlight-current-row
|
|
196
|
+ v-loading="Warehouse.loading"
|
|
197
|
+ ref="multipleTable"
|
|
198
|
+ @selection-change="select"
|
|
199
|
+ :row-style="{ color: '#303133' }"
|
|
200
|
+ :header-cell-style="{
|
|
201
|
+ backgroundColor: 'rgb(245, 247, 250)',
|
|
202
|
+ color: '#606266'
|
|
203
|
+ }"
|
|
204
|
+ >
|
|
205
|
+ <el-table-column label="药品名称" align="center">
|
|
206
|
+ <template slot-scope="scope">
|
|
207
|
+ {{scope.row.drug.drug_name}}
|
|
208
|
+ </template>
|
|
209
|
+ </el-table-column>
|
|
210
|
+ <el-table-column label="药品类型" align="center">
|
|
211
|
+ <template slot-scope="scope">
|
|
212
|
+ {{getDrugType(scope.row.drug.drug_type)}}
|
|
213
|
+ </template>
|
|
214
|
+ </el-table-column>
|
|
215
|
+ <el-table-column label="规格&单位" align="center">
|
|
216
|
+ <template slot-scope="scope">
|
|
217
|
+ {{scope.row.drug.dose}} {{scope.row.drug.dose_unit}}*{{scope.row.drug.min_number}}{{scope.row.drug.min_unit}}/{{scope.row.drug.max_unit}}
|
|
218
|
+ </template>
|
|
219
|
+ </el-table-column>
|
|
220
|
+ <el-table-column label="批号" align="center">
|
|
221
|
+ <template slot-scope="scope">
|
|
222
|
+ {{scope.row.number}}
|
|
223
|
+ </template>
|
|
224
|
+ </el-table-column>
|
|
225
|
+ <el-table-column label="入库数量" align="center">
|
|
226
|
+ <template slot-scope="scope">
|
|
227
|
+ {{scope.row.warehousing_count}}
|
|
228
|
+ </template>
|
|
229
|
+ </el-table-column>
|
|
230
|
+ <el-table-column label="进货价" align="center">
|
|
231
|
+ <template slot-scope="scope">
|
|
232
|
+ {{scope.row.price}}
|
|
233
|
+ </template>
|
|
234
|
+ </el-table-column>
|
|
235
|
+ <el-table-column label="总价" align="center">
|
|
236
|
+ <template slot-scope="scope">
|
|
237
|
+ {{scope.row.total_price}}
|
|
238
|
+ </template>
|
|
239
|
+ </el-table-column>
|
|
240
|
+ <el-table-column label="生产厂家" align="center">
|
|
241
|
+ <template slot-scope="scope">
|
|
242
|
+ {{getManufacturer(scope.row.drug.manufacturer)}}
|
|
243
|
+ </template>
|
|
244
|
+ </el-table-column>
|
|
245
|
+ <el-table-column label="生产日期" align="center">
|
|
246
|
+ <template slot-scope="scope">
|
|
247
|
+ {{getTime(scope.row.product_date)}}
|
|
248
|
+ </template>
|
|
249
|
+ </el-table-column>
|
|
250
|
+ <el-table-column label="有效日期" align="center">
|
|
251
|
+ <template slot-scope="scope">
|
|
252
|
+ {{getTime(scope.row.expiry_date)}}
|
|
253
|
+ </template>
|
|
254
|
+ </el-table-column>
|
|
255
|
+ <el-table-column label="批准文号" align="center">
|
|
256
|
+ <template slot-scope="scope">
|
|
257
|
+ {{scope.row.number}}
|
|
258
|
+ </template>
|
|
259
|
+ </el-table-column>
|
|
260
|
+ <el-table-column label="备注" align="center">
|
|
261
|
+ <template slot-scope="scope">
|
|
262
|
+ {{scope.row.remark}}
|
|
263
|
+ </template>
|
|
264
|
+ </el-table-column>
|
|
265
|
+ </el-table>
|
189
|
266
|
</div>
|
190
|
267
|
|
191
|
268
|
|
|
@@ -287,104 +364,9 @@
|
287
|
364
|
|
288
|
365
|
|
289
|
366
|
|
290
|
|
- <el-table
|
291
|
|
- v-show="showOne"
|
292
|
|
- :data="WarehouseInfo.warehouseInfoDate"
|
293
|
|
- :class="signAndWeighBoxPatients"
|
294
|
|
- style="width: 100%"
|
295
|
|
- border
|
296
|
|
- highlight-current-row
|
297
|
|
- v-loading="Warehouse.loading"
|
298
|
|
- ref="multipleTable"
|
299
|
|
- @selection-change="select"
|
300
|
|
- :row-style="{ color: '#303133' }"
|
301
|
|
- :header-cell-style="{
|
302
|
|
- backgroundColor: 'rgb(245, 247, 250)',
|
303
|
|
- color: '#606266'
|
304
|
|
- }"
|
305
|
|
- >
|
306
|
|
- <el-table-column align="center" type="selection" width="55">
|
307
|
|
- </el-table-column>
|
308
|
|
-
|
309
|
|
- <el-table-column label="药品名称" align="center">
|
310
|
|
- <template slot-scope="scope">
|
311
|
|
- {{scope.row.drug.drug_name}}
|
312
|
|
- </template>
|
313
|
|
- </el-table-column>
|
314
|
|
-
|
315
|
|
- <el-table-column label="药品类型" align="center">
|
316
|
|
- <template slot-scope="scope">
|
317
|
|
- {{getDrugType(scope.row.drug.drug_type)}}
|
318
|
|
- </template>
|
319
|
|
- </el-table-column>
|
320
|
|
-
|
321
|
|
- <el-table-column label="规格&单位" align="center">
|
322
|
|
- <template slot-scope="scope">
|
323
|
|
- {{scope.row.drug.dose}} {{scope.row.drug.dose_unit}}*{{scope.row.drug.min_number}}{{scope.row.drug.min_unit}}/{{scope.row.drug.max_unit}}
|
324
|
|
- </template>
|
325
|
|
- </el-table-column>
|
326
|
|
-
|
327
|
|
- <el-table-column label="批号" align="center">
|
328
|
|
- <template slot-scope="scope">
|
329
|
|
- {{scope.row.number}}
|
330
|
|
- </template>
|
331
|
|
- </el-table-column>
|
332
|
|
-
|
333
|
|
- <el-table-column label="入库数量" align="center">
|
334
|
|
- <template slot-scope="scope">
|
335
|
|
- {{scope.row.warehousing_count}}
|
336
|
|
- </template>
|
337
|
|
- </el-table-column>
|
338
|
|
-
|
339
|
|
- <el-table-column label="进货价" align="center">
|
340
|
|
- <template slot-scope="scope">
|
341
|
|
- {{scope.row.price}}
|
342
|
|
- </template>
|
343
|
|
- </el-table-column>
|
344
|
|
-
|
345
|
|
-
|
346
|
|
- <el-table-column label="总价" align="center">
|
347
|
|
- <template slot-scope="scope">
|
348
|
|
- {{scope.row.total_price}}
|
349
|
|
- </template>
|
350
|
|
- </el-table-column>
|
351
|
367
|
|
352
|
368
|
|
353
|
|
- <el-table-column label="生产厂家" align="center">
|
354
|
|
- <template slot-scope="scope">
|
355
|
|
- {{getManufacturer(scope.row.drug.manufacturer)}}
|
356
|
|
- </template>
|
357
|
|
- </el-table-column>
|
358
|
|
-
|
359
|
|
-
|
360
|
|
- <el-table-column label="生产日期" align="center">
|
361
|
|
- <template slot-scope="scope">
|
362
|
|
- {{getTime(scope.row.product_date)}}
|
363
|
|
- </template>
|
364
|
|
- </el-table-column>
|
365
|
|
-
|
366
|
|
-
|
367
|
|
- <el-table-column label="有效日期" align="center">
|
368
|
|
- <template slot-scope="scope">
|
369
|
|
- {{getTime(scope.row.expiry_date)}}
|
370
|
|
- </template>
|
371
|
|
- </el-table-column>
|
372
|
|
-
|
373
|
|
- <el-table-column label="批准文号" align="center">
|
374
|
|
- <template slot-scope="scope">
|
375
|
|
- {{scope.row.number}}
|
376
|
|
- </template>
|
377
|
|
- </el-table-column>
|
378
|
|
-
|
379
|
|
-
|
380
|
|
- <el-table-column label="备注" align="center">
|
381
|
|
- <template slot-scope="scope">
|
382
|
|
- {{scope.row.remark}}
|
383
|
|
- </template>
|
384
|
|
- </el-table-column>
|
385
|
|
- </el-table>
|
386
|
|
-
|
387
|
|
- <el-pagination
|
|
369
|
+ <!-- <el-pagination
|
388
|
370
|
@size-change="handleSizeChange"
|
389
|
371
|
@current-change="handleCurrentChange"
|
390
|
372
|
:page-sizes="[10, 50, 100]"
|
|
@@ -394,7 +376,7 @@
|
394
|
376
|
layout="total, sizes, prev, pager, next, jumper"
|
395
|
377
|
:total="total"
|
396
|
378
|
>
|
397
|
|
- </el-pagination>
|
|
379
|
+ </el-pagination> -->
|
398
|
380
|
|
399
|
381
|
</div>
|
400
|
382
|
</template>
|
|
@@ -452,7 +434,7 @@ export default {
|
452
|
434
|
searchKey: "",
|
453
|
435
|
type: 1,
|
454
|
436
|
page: 1,
|
455
|
|
- limit: 10,
|
|
437
|
+ limit: 5,
|
456
|
438
|
checked: false,
|
457
|
439
|
total: 0,
|
458
|
440
|
pageTotal: 0,
|