spring
2026-05-25 0c4429a719f5c95a7690fae51efaaa799ef4e77d
src/views/productionManagement/productionRecords/index.vue
@@ -83,9 +83,11 @@
const { proxy } = getCurrentInstance();
const { parameter_tyep } = proxy.useDict("parameter_tyep");
/** 系统内置参数「投入重量」,不可编辑、删除 */
const isLockedParam = (row) =>
  String(row?.parameterItem ?? "").trim() === "投入重量";
/** 系统内置参数「投入重量/数量」,不可编辑、删除(兼容旧名「投入重量」) */
const isLockedParam = (row) => {
  const name = String(row?.parameterItem ?? "").trim();
  return name === "投入重量/数量" || name === "投入重量";
};
const tableColumn = ref([
  { label: "参数编码", prop: "code" },