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" },