fixbug
This commit is contained in:
parent
93006d3f30
commit
a0b1f3b595
@ -8,7 +8,7 @@
|
||||
style="width: 390px; margin-right: 60px; margin-left: 20px"
|
||||
v-model:value="orderNum"
|
||||
type="text"
|
||||
@keydown.enter="getCostList"
|
||||
@keydown.enter="search"
|
||||
placeholder="请输入订单号"
|
||||
/>
|
||||
消费时间
|
||||
@ -106,6 +106,10 @@ const pageChange = (val) => {
|
||||
page.value = val;
|
||||
getCostList();
|
||||
};
|
||||
const search = () => {
|
||||
page.value = 1;
|
||||
getCostList();
|
||||
};
|
||||
// 获取消费积分列表
|
||||
const getCostList = async () => {
|
||||
loading.value = true;
|
||||
@ -136,6 +140,7 @@ const handleDateChange = (val, formattedValue) => {
|
||||
createdAtStart.value = "";
|
||||
createdAtEnd.value = "";
|
||||
}
|
||||
page.value = 1;
|
||||
getCostList();
|
||||
};
|
||||
onBeforeMount(() => {
|
||||
|
@ -153,6 +153,7 @@ const sorter = (sort) => {
|
||||
};
|
||||
const changeType = (val) => {
|
||||
type.value = val;
|
||||
page.value = 1;
|
||||
getCostList();
|
||||
};
|
||||
const pageChange = (val) => {
|
||||
@ -193,6 +194,7 @@ const handleDateChange = (val, formattedValue) => {
|
||||
createdAtStart.value = "";
|
||||
createdAtEnd.value = "";
|
||||
}
|
||||
page.value = 1;
|
||||
getCostList();
|
||||
};
|
||||
const handleExDateChange = (val, formattedValue) => {
|
||||
@ -203,6 +205,7 @@ const handleExDateChange = (val, formattedValue) => {
|
||||
expireAtStart.value = "";
|
||||
expireAtEnd.value = "";
|
||||
}
|
||||
page.value = 1;
|
||||
getCostList();
|
||||
};
|
||||
onBeforeMount(() => {
|
||||
|
Loading…
Reference in New Issue
Block a user