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/platePlanList/index.vue | 80 +++++++++++++++++++++++++--------------
1 files changed, 51 insertions(+), 29 deletions(-)
diff --git a/src/views/mainPlan/platePlanList/index.vue b/src/views/mainPlan/platePlanList/index.vue
index 67e83c4..be15403 100644
--- a/src/views/mainPlan/platePlanList/index.vue
+++ b/src/views/mainPlan/platePlanList/index.vue
@@ -164,103 +164,123 @@
columns.value = [
/* { type: 'seq', title: '搴忓彿', width: 60 },*/
{
+ title: t("plan.table.mainPartCustomer"),
+ field: "customer",
+ width: "200",
+ fixed: "left",
+ },
+ {
title: t("plan.table.mainPartNumber"),
field: "mainPartNumber",
- width: 150,
+ width: "120",
fixed: "left",
},
{
title: t("plan.table.businessType"),
field: "businessType",
- width: 120,
+ width: "auto",
fixed: "left",
},
{
title: t("plan.table.documentNumber"),
field: "documentNumber",
- width: 160,
+ width: "180",
fixed: "left",
},
{
title: t("plan.table.requirementType"),
field: "requirementType",
- width: 100,
+ width: "auto",
fixed: "left",
},
{
title: t("plan.table.documentStatus"),
field: "documentStatus",
- width: 100,
+ width: "auto",
fixed: "left",
},
- {
- title: t("plan.table.updateBy"),
- field: "updateBy",
- width: 100,
- },
+ // {
+ // title: t("plan.table.updateBy"),
+ // field: "updateBy",
+ // width: "auto",
+ // },
{
title: t("plan.table.workCenter"),
field: "workCenter",
- width: 200,
+ width: "180",
},
{
title: t("plan.table.department"),
field: "department",
- width: 200,
+ width: "auto",
},
{
title: t("plan.table.opStatus"),
field: "opStatus",
- width: 200,
+ width: "auto",
},
{
title: t("plan.table.nextOpName"),
field: "nextOpName",
- width: 100,
+ width: "auto",
},
{
title: t("plan.table.nextProcessDeparment"),
field: "nextProcessDeparment",
- width: 200,
+ width: "auto",
},
{
title: t("plan.table.itemNumber"),
field: "itemNumber",
- width: 150,
type: "html",
},
{
title: t("plan.table.drawingNo"),
field: "drawingNo",
- width: 150,
+ width: "auto",
// format: 'YYYY-MM-DD'
},
{
title: t("plan.table.versionNumber"),
field: "versionNumber",
- width: 100,
+ width: "auto",
type: "html",
},
{
title: t("plan.table.cheaperCode"),
field: "cheaperCode",
- width: 100,
+ width: "auto",
},
{
title: t("plan.table.productionQuantity"),
field: "productionQuantity",
- width: 100,
+ width: "auto",
type: "html",
},
{
- title: t("plan.table.planworkOrderTime"),
- field: "planworkOrderTime",
- width: 200,
+ title: t("plan.table.workorderCreationTime"),
+ field: "orderCreateTime",
+ width: "160",
},
+ {
+ title: t("plan.table.workOrderReviewTime"),
+ field: "approveOn",
+ width: "160",
+ },
+ {
+ title: t("plan.table.workOrderStartTime"),
+ field: "startWorkDate",
+ width: "auto",
+ },
+ // {
+ // title: t("plan.table.planworkOrderTime"),
+ // field: "planworkOrderTime",
+ // width: 200,
+ // },
{
title: t("plan.table.planEndDay"),
field: "planEndDay",
- width: 150,
+ width: "auto",
format: "YYYY-MM-DD hh:mm:ss",
},
]
@@ -272,6 +292,7 @@
let listValue = response.data;
dynamicList.value = response.shopNames;
aps_plate_process_statList.value = listValue;
+ console.log(aps_plate_process_statList.value,"aps_plate_process_statList")
total.value = response.total;
loading.value = false;
await nextTick();
@@ -335,17 +356,18 @@
},
},
]);
- newArray.splice(2, 0, {
- title: "鐒婃帴浠堕綈濂楀紑濮嬫椂闂�",
- field: "hanjie_startDate",
- width: 140,
- });
+ // newArray.splice(2, 0, {
+ // title: "鐒婃帴浠堕綈濂楀紑濮嬫椂闂�",
+ // field: "hanjie_startDate",
+ // width: 140,
+ // });
columns.value = [
...columns.value,
...newArray.filter(
(item) => !columns.value.some((col) => col.field === item.field)
),
];
+
// columns.value = columns.value
}
--
Gitblit v1.9.3