From db6e95062dfb57bcd1fb1cacdbb3cb4372c576b0 Mon Sep 17 00:00:00 2001
From: chengxiangling <291105840@qq.com>
Date: 星期三, 14 五月 2025 17:34:00 +0800
Subject: [PATCH] 钣金页面表格样式;
---
src/views/mainPlan/sheetMetalRedundantReport/index.vue | 61 +++++++++++++++---------------
1 files changed, 30 insertions(+), 31 deletions(-)
diff --git a/src/views/mainPlan/sheetMetalRedundantReport/index.vue b/src/views/mainPlan/sheetMetalRedundantReport/index.vue
index a6062c5..b5c295a 100644
--- a/src/views/mainPlan/sheetMetalRedundantReport/index.vue
+++ b/src/views/mainPlan/sheetMetalRedundantReport/index.vue
@@ -6,28 +6,14 @@
ref="queryRef"
:inline="true"
v-show="showSearch"
- :label-width="locale === 'zh' ? '90px' : '200px'"
+ label-position="left"
>
<el-row type="flex" justify="left">
- <el-col :span="locale === 'zh' ? 5 : 10">
- <el-form-item :label="$t('plan.query.itemNumber')" prop="itemNumber">
+ <el-col :span="locale === 'zh' ? 6 : 8">
+ <el-form-item :label-width="locale === 'zh' ? '48px' : '100px'" :label="$t('plan.query.itemNumber')" prop="itemNumber">
<el-input
- :style="{ width: locale === 'zh' ? '140px' : '300px' }"
+ :style="{ width: locale === 'zh' ? '180px' : '210px' }"
v-model="queryParams.itemNumber"
- :placeholder="`${$t('plan.placeholder.requireTraceID')}`"
- clearable
- @keyup.enter="handleQuery"
- />
- </el-form-item>
- </el-col>
- <el-col :span="locale === 'zh' ? 8 : 9">
- <el-form-item
- :label="$t('plan.query.workOrderNo')"
- prop="documentNumber"
- >
- <el-input
- :style="{ width: locale === 'zh' ? '140px' : '210px' }"
- v-model="queryParams.documentNumber"
:placeholder="`${$t('common.common.placeholder')}${$t(
'plan.query.itemNumber'
)}`"
@@ -36,7 +22,23 @@
/>
</el-form-item>
</el-col>
- <el-col :span="locale === 'zh' ? 11 : 5" style="text-align: right">
+ <el-col :span="locale === 'zh' ? 6 : 8">
+ <el-form-item
+ :label="$t('plan.query.workOrderNo')"
+ prop="documentNumber"
+ >
+ <el-input
+ :style="{ width: locale === 'zh' ? '180px' : '280px' }"
+ v-model="queryParams.documentNumber"
+ :placeholder="`${$t('common.common.placeholder')}${$t(
+ 'plan.query.workOrderNo'
+ )}`"
+ clearable
+ @keyup.enter="handleQuery"
+ />
+ </el-form-item>
+ </el-col>
+ <el-col :span="locale === 'zh' ? 12 : 8" style="text-align: right">
<el-form-item class="column-with-margin">
<el-button type="primary" icon="Search" @click="handleQuery">{{
$t("common.common.query")
@@ -76,13 +78,12 @@
@changePageNo="changePageNo"
@changePageSize="changePageSize"
@on-checkbox="handleCheckboxChange"
- class="auto-height-grid"
>
</HxlhTable>
</div>
</template>
-<script setup name="Calendar">
+<script setup name="SheetMetalRedundantReport">
import HxlhTable from "@/components/HxlhTable";
import { redundantOrderList } from "@/api/basicData/sheetMetalConfig/sheetMetalConfig";
import { listAll_plant } from "@/api/basicData/plant";
@@ -119,31 +120,29 @@
{
title: t("plan.table.workOrderNo"),
field: "documentNumber",
- width: 150,
align: "center",
},
{
- title: t("plan.table.subItemPartNumber"),
+ title: t("plan.table.itemNumber"),
field: "itemNumber",
- width: 200,
align: "center",
},
{
title: t("plan.table.productionQuantity"),
field: "productionQuantity",
- width: 200,
+ width: "80",
align: "center",
},
{
title: t("plan.table.mismatchedProductionQuantity"),
field: "unmatchedQuantity",
- width: 200,
+ width: "auto",
align: "center",
},
{
title: t("plan.table.applicableFactories"),
field: "plant",
- width: 200,
+ width: "100",
align: "center",
formatter: ({ cellValue, row, column }) => {
if (cellValue) {
@@ -158,25 +157,25 @@
{
title: t("plan.table.productionBase"),
field: "productionBase",
- width: 200,
+ width: "100",
align: "center",
},
{
title: t("plan.table.planStartDay"),
field: "planStartDay",
- width: 200,
+ width: "120",
align: "center",
},
{
title: t("plan.table.planEndDayDate"),
field: "planEndDay",
- width: 100,
+ width: "120",
align: "center",
},
{
title: t("plan.table.workorderCreationTime"),
field: "orderCreateTime",
- width: 100,
+ width: "150",
align: "center",
},
];
--
Gitblit v1.9.3