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/mainPlan/platePlan/index.vue | 39 ++++++++++++++++++---------------------
1 files changed, 18 insertions(+), 21 deletions(-)
diff --git a/src/views/mainPlan/platePlan/index.vue b/src/views/mainPlan/platePlan/index.vue
index 04ed943..e35d530 100644
--- a/src/views/mainPlan/platePlan/index.vue
+++ b/src/views/mainPlan/platePlan/index.vue
@@ -9,13 +9,13 @@
label-position="left"
>
<el-row :gutter="20">
- <el-col :span="12">
+ <el-col :span="6">
<el-form-item
- :label-width="locale === 'zh' ? '90px' : '140px'"
:label="$t('plan.query.daterangePlanStartDay')"
+ :style="{ width: '100%' }"
>
+ <!-- locale === 'zh' ? '220px' : '240px' -->
<el-date-picker
- :style="{ width: locale === 'zh' ? '220px' : '240px' }"
v-model="daterangePlanStartDay"
value-format="YYYY-MM-DD"
type="daterange"
@@ -25,13 +25,12 @@
></el-date-picker>
</el-form-item>
</el-col>
- <el-col :span="12">
+ <el-col :span="6">
<el-form-item
- :label-width="locale === 'zh' ? '90px' : '140px'"
+ :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"
@@ -41,16 +40,13 @@
></el-date-picker>
</el-form-item>
</el-col>
- </el-row>
- <el-row :gutter="20">
- <el-col :span="12">
+ <el-col :span="6">
<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
@@ -58,10 +54,9 @@
/>
</el-form-item>
</el-col>
- <el-col :span="12">
- <el-form-item :label-width="locale === 'zh' ? '90px' : '140px'" :label="$t('plan.query.customer')" prop="customer">
+ <el-col :span="6">
+ <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
@@ -69,10 +64,8 @@
/>
</el-form-item>
</el-col>
- </el-row>
- <el-row>
- <el-col :span="24" style="text-align: right">
- <el-form-item>
+ <!-- <el-col :span="24" style="text-align: right">
+ <el-form-item class="column-with-margin">
<el-button type="primary" icon="Search" @click="handleQuery">{{
$t("common.common.query")
}}</el-button>
@@ -80,7 +73,7 @@
$t("common.common.reset")
}}</el-button>
</el-form-item>
- </el-col>
+ </el-col> -->
</el-row>
</el-form>
<!-- </el-row> -->
@@ -129,7 +122,8 @@
</el-col>
<right-toolbar
v-model:showSearch="showSearch"
- @queryTable="getList"
+ @queryTable="handleQuery"
+ @resetTable="resetQuery"
></right-toolbar>
</el-row>
@@ -288,7 +282,7 @@
const daterangePlanStartDay = ref([]);
const daterangePlanEndDay = ref([]);
-const height = ref(document.documentElement.clientHeight - 270 + "px;");
+const height = ref(document.documentElement.clientHeight - 220 + "px;");
const isVisible = ref(false);
const isError = ref(false);
const planned = ref(true);
@@ -1052,6 +1046,9 @@
getList();
</script>
<style lang="css" scoped>
+.column-with-margin {
+ margin-right: 0px;
+}
h4 {
font-weight: bold;
}
--
Gitblit v1.9.3