From 56477f87b5aaa23197bc9f0d6810f1f442397f2b Mon Sep 17 00:00:00 2001
From: gyq <875626088@qq.com>
Date: Tue, 11 Jun 2024 18:25:52 +0800
Subject: [PATCH] =?UTF-8?q?=E4=BC=98=E5=8C=96?=
MIME-Version: 1.0
Content-Type: text/plain; charset=UTF-8
Content-Transfer-Encoding: 8bit
---
.../components/winestorage/record.vue | 18 ++++++++++++++----
1 file changed, 14 insertions(+), 4 deletions(-)
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()
},
// 分页回调