diff --git a/src/views/application/components/winestorage/record.vue b/src/views/application/components/winestorage/record.vue
index 2ce76c4..4837e0b 100644
--- a/src/views/application/components/winestorage/record.vue
+++ b/src/views/application/components/winestorage/record.vue
@@ -55,8 +55,8 @@
- {{
- statusList.find(item => item.value == scope.row.status).label }}
+ {{
+ statusList.find(item => item.value === scope.row.status).label }}
@@ -93,6 +93,11 @@ export default {
data() {
return {
statusList: [
+ {
+ value: '',
+ label: '全部',
+ type: 'warning'
+ },
{
value: 0,
label: '已取完',
@@ -102,12 +107,17 @@ export default {
value: 1,
label: '存储中',
type: 'primary'
+ },
+ {
+ value: 2,
+ label: '已过期',
+ type: 'info'
}
],
query: {
name: "",
telphone: "",
- status: 1
+ status: ''
},
tableData: {
data: [],
@@ -127,7 +137,7 @@ export default {
this.tableData.page = 0
this.query.name = ''
this.query.telphone = ''
- this.query.status = 1
+ this.query.status = ''
this.getTableData()
},
// 分页回调