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