From af1c9e588f1de0240390648f9bb56aa486870aff Mon Sep 17 00:00:00 2001
From: chengxiangling <291105840@qq.com>
Date: 星期五, 16 五月 2025 17:40:18 +0800
Subject: [PATCH] 提交高度修改;

---
 src/views/basicData/materialStorageManagement/index.vue |   16 ++++++++++------
 1 files changed, 10 insertions(+), 6 deletions(-)

diff --git a/src/views/basicData/materialStorageManagement/index.vue b/src/views/basicData/materialStorageManagement/index.vue
index a9aef38..2c3c21b 100644
--- a/src/views/basicData/materialStorageManagement/index.vue
+++ b/src/views/basicData/materialStorageManagement/index.vue
@@ -1,6 +1,6 @@
 <template>
   <div class="app-container">
-    <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-width="68px">
+    <el-form :model="queryParams" ref="queryRef" :inline="true" v-show="showSearch" label-position="left" label-width="50px">
       <el-row :gutter="20">
         <el-col :span="6">
           <el-form-item label="鏂欏彿" prop="itemNumber">
@@ -12,17 +12,20 @@
             />
           </el-form-item>
         </el-col>
-        <el-col :span="18" style="text-align: right;">
+        <!-- <el-col :span="18" style="text-align: right;">
           <el-form-item>
               <el-button type="primary" icon="Search" @click="handleQuery">鎼滅储</el-button>
               <el-button icon="Refresh" @click="resetQuery">閲嶇疆</el-button>
             </el-form-item>
-        </el-col>
+        </el-col> -->
       </el-row>
     </el-form>
 
     <el-row :gutter="10" class="mb8">
-      <right-toolbar v-model:showSearch="showSearch" @queryTable="getList"></right-toolbar>
+      <right-toolbar v-model:showSearch="showSearch" 
+        @queryTable="handleQuery"
+        @resetTable="resetQuery"
+      ></right-toolbar>
     </el-row>
 
     <HxlhTable
@@ -55,7 +58,7 @@
 const single = ref(true);
 const multiple = ref(true);
 const title = ref("");
-const height = ref(document.documentElement.clientHeight - 230 + "px;")
+const height = ref(document.documentElement.clientHeight - 220 + "px;")
 const queryPlants = ref({status: 1});
 const plantList = ref([]);
 
@@ -159,6 +162,7 @@
 /** 鎼滅储鎸夐挳鎿嶄綔 */
 function handleQuery() {
   page.value.current = 1;
+  queryParams.value.pageNum = 1;
   getList();
 }
 
@@ -233,8 +237,8 @@
 }
 
 function changePageNo(currentPage) {
-  queryParams.value.pageNum = currentPage;
   page.value.current = currentPage;
+  queryParams.value.pageNum = currentPage;
   getList();
 }
 

--
Gitblit v1.9.3