chengxiangling
2025-05-14 63f27f3c60e8c608f6bf9586444fa20f4ef16b42
src/views/mainPlan/platePlanList/index.vue
@@ -164,21 +164,27 @@
  columns.value = [
    /*  { type: 'seq', title: '序号', width: 60 },*/
    {
      title: t("plan.table.mainPartCustomer"),
      field: "customer",
      width: 150,
      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: 90,
      fixed: "left",
    },
    {
      title: t("plan.table.documentNumber"),
      field: "documentNumber",
      width: 160,
      width: 140,
      fixed: "left",
    },
    {
@@ -190,7 +196,7 @@
    {
      title: t("plan.table.documentStatus"),
      field: "documentStatus",
      width: 100,
      width: 70,
      fixed: "left",
    },
    {
@@ -253,10 +259,25 @@
      type: "html",
    },
    {
      title: t("plan.table.planworkOrderTime"),
      field: "planworkOrderTime",
      title: t("plan.table.workorderCreationTime"),
      field: "orderCreateTime",
      width: 200,
    },
    {
      title: t("plan.table.workOrderReviewTime"),
      field: "approveOn",
      width: 200,
    },
    {
      title: t("plan.table.workOrderStartTime"),
      field: "startWorkDate",
      width: 200,
    },
    // {
    //   title: t("plan.table.planworkOrderTime"),
    //   field: "planworkOrderTime",
    //   width: 200,
    // },
    {
      title: t("plan.table.planEndDay"),
      field: "planEndDay",
@@ -272,6 +293,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 +357,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
}