chenrui  vor 2 Jahren
Ursprung
Commit
fa3d04204f

+ 2 - 1
src/views/dataQuery/flightQuery/index.vue

@@ -238,7 +238,7 @@ const getQuery = async (data) => {
   try {
     const { code, returnData } = await Query({
       id: DATACONTENT_ID.flightTabId,
-      needPage: ++page.value,
+      needPage: 1,
       dataContent: data,
     });
     if (code === "0") {
@@ -270,6 +270,7 @@ const getQuery = async (data) => {
   }
 };
 const searchForm = (data) => {
+  tableData.value = [];
   getQuery(data);
 };
 </script>

+ 2 - 1
src/views/dataQuery/waybillQuery/index.vue

@@ -79,7 +79,7 @@ const getQuery = async (data) => {
   try {
     const { code, returnData } = await Query({
       id: DATACONTENT_ID.waybillTabId,
-      needPage: ++page.value,
+      needPage: 1,
       dataContent: data,
     });
     if (code === "0") {
@@ -111,6 +111,7 @@ const getQuery = async (data) => {
   }
 };
 const searchForm = (data) => {
+  tableData.value = [];
   getQuery(data);
 };
 </script>