|
@@ -1,4 +1,92 @@
|
1
|
|
-
|
|
1
|
+<template>
|
|
2
|
+ <div>
|
|
3
|
+ <div>日期:2021-10-13 盘点人:赵强</div>
|
|
4
|
+ <el-collapse v-model="activeNames">
|
|
5
|
+ <el-collapse-item :name="index" v-for="(item,index) in 10" :key="index">
|
|
6
|
+ <template slot="title">
|
|
7
|
+ 一致性 Consistency <el-button type="warning" icon="el-icon-remove" style="margin-left:20px;">移除</el-button>
|
|
8
|
+ </template>
|
|
9
|
+ <el-table :data="tableData" border :header-cell-style="{ backgroundColor: 'rgb(245, 247, 250)' }" style="width:100%">
|
|
10
|
+ <el-table-column prop="date" label="药品名称" width="200" align="center">
|
|
11
|
+ <template slot-scope="scope">
|
|
12
|
+ {{scope.row.drug_name}}
|
|
13
|
+ </template>
|
|
14
|
+ </el-table-column>
|
|
15
|
+ <el-table-column prop="name" label="规格" width="100" align="center">
|
|
16
|
+ <template slot-scope="scope">
|
|
17
|
+ {{scope.row.specification_name}}
|
|
18
|
+ </template>
|
|
19
|
+ </el-table-column>
|
|
20
|
+ <el-table-column prop="name" label="单位" width="100" align="center">
|
|
21
|
+ <template slot-scope="scope">
|
|
22
|
+ {{scope.row.warehousing_unit}}
|
|
23
|
+ </template>
|
|
24
|
+ </el-table-column>
|
|
25
|
+ <el-table-column prop="name" label="库存数量" width="100" align="center">
|
|
26
|
+ <template slot-scope="scope">
|
|
27
|
+ {{scope.row.total}}
|
|
28
|
+ </template>
|
|
29
|
+ </el-table-column>
|
|
30
|
+ <el-table-column prop="name" label="进价" width="100" align="center">
|
|
31
|
+ <template slot-scope="scope">
|
|
32
|
+ {{scope.row.last_price}}
|
|
33
|
+ </template>
|
|
34
|
+ </el-table-column>
|
|
35
|
+ <el-table-column prop="name" label="零售价" width="100" align="center">
|
|
36
|
+ <template slot-scope="scope">
|
|
37
|
+ {{scope.row.retail_price}}
|
|
38
|
+ </template>
|
|
39
|
+ </el-table-column>
|
|
40
|
+ <el-table-column prop="name" label="零售总价" width="100" align="center">
|
|
41
|
+ <template slot-scope="scope">
|
|
42
|
+ {{scope.row.count * scope.row.retail_price}}
|
|
43
|
+ </template>
|
|
44
|
+ </el-table-column>
|
|
45
|
+ <el-table-column prop="name" label="产地" width="100" align="center">
|
|
46
|
+ <template slot-scope="scope">
|
|
47
|
+ {{scope.row.drug_origin_place}}
|
|
48
|
+ </template>
|
|
49
|
+ </el-table-column>
|
|
50
|
+ <el-table-column prop="name" label="生产厂商" width="100" align="center">
|
|
51
|
+ <template slot-scope="scope">
|
|
52
|
+ {{scope.row.manufacturer}}
|
|
53
|
+ </template>
|
|
54
|
+ </el-table-column>
|
|
55
|
+ <el-table-column prop="name" label="实盘点" width="100" align="center">
|
|
56
|
+ <template slot-scope="scope">
|
|
57
|
+ {{scope.row.count}}{{scope.row.warehousing_unit}} <span v-if="scope.row.min_count">{{scope.row.min_count}}{{scope.row.min_unit}}</span>
|
|
58
|
+ </template>
|
|
59
|
+ </el-table-column>
|
|
60
|
+ <!-- <el-table-column prop="name" label="亏损价格" width="100" align="center">
|
|
61
|
+ <template slot-scope="scope">
|
|
62
|
+
|
|
63
|
+ </template>
|
|
64
|
+ </el-table-column> -->
|
|
65
|
+ <el-table-column prop="name" label="生产日期" width="100" align="center">
|
|
66
|
+ <template slot-scope="scope">
|
|
67
|
+ {{getTime(scope.row.product_date)}}
|
|
68
|
+ </template>
|
|
69
|
+ </el-table-column>
|
|
70
|
+ <el-table-column prop="name" label="有效日期" width="100" align="center">
|
|
71
|
+ <template slot-scope="scope">
|
|
72
|
+ {{getTime(scope.row.expiry_date)}}
|
|
73
|
+ </template>
|
|
74
|
+ </el-table-column>
|
|
75
|
+ <!-- <el-table-column
|
|
76
|
+ fixed="right"
|
|
77
|
+ width="100"
|
|
78
|
+ label="操作">
|
|
79
|
+ <template slot-scope="scope">
|
|
80
|
+ <el-button type="text" size="small">删除</el-button>
|
|
81
|
+ <el-button type="text" size="small">编辑</el-button>
|
|
82
|
+ </template>
|
|
83
|
+ </el-table-column> -->
|
|
84
|
+ </el-table>
|
|
85
|
+ </el-collapse-item>
|
|
86
|
+ </el-collapse>
|
|
87
|
+ <el-input v-model="input" placeholder="请输入内容"></el-input>
|
|
88
|
+ </div>
|
|
89
|
+</template>
|
2
|
90
|
|
3
|
91
|
<script>
|
4
|
92
|
import { uParseTime } from '@/utils/tools'
|
|
@@ -14,7 +102,7 @@ export default {
|
14
|
102
|
value2:'',
|
15
|
103
|
tableData: [],
|
16
|
104
|
dialogVisible:false,
|
17
|
|
- form: {
|
|
105
|
+ form: {
|
18
|
106
|
id:"",
|
19
|
107
|
drug_name: '',
|
20
|
108
|
retail_price :'',
|
|
@@ -72,7 +160,8 @@ export default {
|
72
|
160
|
{id:3,name:"退货"},
|
73
|
161
|
{id:4,name:"人为损坏"},
|
74
|
162
|
{id:5,name:"不计入报损分析"},
|
75
|
|
- ]
|
|
163
|
+ ],
|
|
164
|
+ activeNames: [0]
|
76
|
165
|
}
|
77
|
166
|
},
|
78
|
167
|
methods:{
|