Browse Source

修改航班查询运单查询bug

chenrui  2 năm trước cách đây
mục cha
commit
75745bc89e
1 tập tin đã thay đổi với 2 bổ sung1 xóa
  1. 2 1
      src/views/dataQuery/freightInquiry/index.vue

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

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