浏览代码

修改航班查询运单查询bug

chenrui  2 年之前
父节点
当前提交
75745bc89e
共有 1 个文件被更改,包括 2 次插入1 次删除
  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>