spring
2026-05-07 1a013e951411c8dc8c98c71f7c6608d87897255e
src/views/productionManagement/workOrder/components/CopperPrintingForm.vue
@@ -31,6 +31,21 @@
  set: (value: boolean) => emits("update:isShow", value),
});
/** 工序展示名:工单为 processName,报工列表为 process,缺省与旧版一致为「印铜」 */
const processTitlePrefix = computed(() => {
  const row = props.row as Record<string, unknown> | null | undefined;
  if (!row) return "印铜";
  const name = row.processName ?? row.process;
  if (name != null && String(name).trim() !== "") {
    return String(name).trim();
  }
  return "印铜";
});
const dialogTitle = computed(() =>
  props.isEdit ? `${processTitlePrefix.value}报工` : `${processTitlePrefix.value}详情`
);
const formData = reactive({
  productProcessRouteItemId: undefined,
  workOrderId: undefined,
@@ -170,7 +185,7 @@
<template>
  <el-dialog v-model="visible"
             :title="isEdit? '印铜报工' : '详情'"
             :title="dialogTitle"
             width="90%">
    <el-form :model="formData">
      <table class="report-table">