From 52e3605766d85b04f2952b537b3f6d8d6bd96a8b Mon Sep 17 00:00:00 2001
From: chengxiangling <291105840@qq.com>
Date: 星期四, 15 五月 2025 12:22:36 +0800
Subject: [PATCH] 提交计划运行的搜索样优化

---
 src/views/mainPlan/gasPiping/index.vue |   28 +++++++++++-----------------
 1 files changed, 11 insertions(+), 17 deletions(-)

diff --git a/src/views/mainPlan/gasPiping/index.vue b/src/views/mainPlan/gasPiping/index.vue
index 4f5d3dd..653d7e2 100644
--- a/src/views/mainPlan/gasPiping/index.vue
+++ b/src/views/mainPlan/gasPiping/index.vue
@@ -8,10 +8,9 @@
       label-position="left"
     >
       <el-row :gutter="20">
-        <el-col :span="locale === 'zh' ? 12 : 12">
-          <el-form-item :label-width="locale === 'zh' ? '90px' : '140px'" :label="$t('plan.query.daterangePlanStartDay')">
+        <el-col :span="8">
+          <el-form-item :style="{ width: '100%' }" :label="$t('plan.query.daterangePlanStartDay')">
             <el-date-picker
-              :style="{ width: locale === 'zh' ? '220px' : '240px' }"
               v-model="daterangePlanStartDay"
               value-format="YYYY-MM-DD"
               type="daterange"
@@ -21,10 +20,9 @@
             ></el-date-picker>
           </el-form-item>
         </el-col>
-        <el-col :span="locale === 'zh' ? 12 : 12">
-          <el-form-item :label-width="locale === 'zh' ? '90px' : '140px'" :label="$t('plan.query.daterangePlanEndDay')">
+        <el-col :span="8">
+          <el-form-item :style="{ width: '100%' }" :label="$t('plan.query.daterangePlanEndDay')">
             <el-date-picker
-              :style="{ width: locale === 'zh' ? '220px' : '240px' }"
               v-model="daterangePlanEndDay"
               value-format="YYYY-MM-DD"
               type="daterange"
@@ -34,16 +32,13 @@
             ></el-date-picker>
           </el-form-item>
         </el-col>
-      </el-row>
-      <el-row :gutter="20">
-        <el-col :span="locale === 'zh' ? 12 : 12">
+        <el-col :span="8">
           <el-form-item
-            :label-width="locale === 'zh' ? '90px' : '140px'"
+            :style="{ width: '100%' }" 
             :label="$t('plan.query.documentNumber')"
             prop="documentNumber"
           >
             <el-input
-              :style="{ width: locale === 'zh' ? '220px' : '240px' }"
               v-model="queryParams.documentNumber"
               :placeholder="$t('plan.placeholder.documentNumber')"
               clearable
@@ -51,10 +46,11 @@
             />
           </el-form-item>
         </el-col>
-        <el-col :span="locale === 'zh' ? 12 : 12">
-          <el-form-item :label-width="locale === 'zh' ? '90px' : '140px'" :label="$t('plan.query.customer')" prop="customer">
+      </el-row>
+      <el-row :gutter="20">
+        <el-col :span="8">
+          <el-form-item :style="{ width: '100%' }" :label="$t('plan.query.customer')" prop="customer">
             <el-input
-              :style="{ width: locale === 'zh' ? '220px' : '240px' }"
               v-model="queryParams.customer"
               :placeholder="$t('plan.placeholder.customer')"
               clearable
@@ -62,9 +58,7 @@
             />
           </el-form-item>
         </el-col>
-      </el-row>
-      <el-row>
-        <el-col :span="24" style="text-align: right">
+        <el-col :span="16" style="text-align: right">
           <el-form-item class="column-with-margin">
             <el-button type="primary" icon="Search" @click="handleQuery">{{
               $t("common.common.query")

--
Gitblit v1.9.3