From 65f86f41dedbbbb7030e2f37ce3e001bbca4923a Mon Sep 17 00:00:00 2001 From: chengxiangling <291105840@qq.com> Date: 星期四, 15 五月 2025 13:03:25 +0800 Subject: [PATCH] 查询日历带适用工厂 --- src/views/mainPlan/pipeProduceStatics/index.vue | 17 +++++++---------- 1 files changed, 7 insertions(+), 10 deletions(-) diff --git a/src/views/mainPlan/pipeProduceStatics/index.vue b/src/views/mainPlan/pipeProduceStatics/index.vue index 894df8b..d99e07c 100644 --- a/src/views/mainPlan/pipeProduceStatics/index.vue +++ b/src/views/mainPlan/pipeProduceStatics/index.vue @@ -6,14 +6,13 @@ ref="queryRef" :inline="true" v-show="showSearch" - :label-width="locale === 'zh' ? '68px' : '134px'" + label-position="left" > - <el-row type="flex" justify="left"> - <el-col :span="locale === 'zh' ? 5 : 7"> - <el-form-item :label="$t('plan.query.statistical')"> + <el-row :gutter="20"> + <el-col :span="8"> + <el-form-item :label="$t('plan.query.statistical')" :style="{ width: '100%' }"> <el-select v-model="queryParams.searchType" - :style="{ width: locale === 'zh' ? '120px' : '160px' }" placeholder="Select" @change="handleChangeSelectType" > @@ -26,11 +25,10 @@ </el-select> </el-form-item> </el-col> - <el-col :span="locale === 'zh' ? 5 : 8"> - <el-form-item :label="$t('plan.query.selectDateRange')"> + <el-col :span="8"> + <el-form-item :label="$t('plan.query.selectDateRange')" :style="{ width: '100%' }"> <div v-if="!dayCom"> <el-date-picker - :style="{ width: locale === 'zh' ? '200px' : '220px' }" v-model="queryParams.monthRange" type="monthrange" :range-separator="$t('plan.placeholder.to')" @@ -40,7 +38,6 @@ </div> <div v-else> <el-date-picker - :style="{ width: locale === 'zh' ? '200px' : '220px' }" v-model="queryParams.monthDays" type="month" :placeholder="$t('plan.placeholder.selectMonth')" @@ -48,7 +45,7 @@ </div> </el-form-item> </el-col> - <el-col :span="locale === 'zh' ? 14 : 9" style="text-align: right"> + <el-col :span="8" 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