From 3cbed291123734288d5b25f5789673e472bd1b90 Mon Sep 17 00:00:00 2001 From: "15881625488@163.com" <15881625488@163.com> Date: Wed, 28 Jan 2026 15:49:45 +0800 Subject: [PATCH] =?UTF-8?q?fix=EF=BC=9A[=E6=A8=A1=E6=9D=BF=E7=AE=A1?= =?UTF-8?q?=E7=90=86]=E7=BF=BB=E8=AF=91?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- src/lang/en/template/sp.js | 31 +++++++- src/lang/zh/template/sp.js | 29 ++++++- .../comps/template/comps/sp/SWYPNBGZYZBB.vue | 18 ++--- .../template/formConfig/paralleAndLadderConfig.js | 90 +++++++++++----------- 4 files changed, 109 insertions(+), 59 deletions(-) diff --git a/src/lang/en/template/sp.js b/src/lang/en/template/sp.js index 5142d8f..ef69318 100644 --- a/src/lang/en/template/sp.js +++ b/src/lang/en/template/sp.js @@ -15,10 +15,35 @@ export default { title: '生物样品标曲工作液制备表', }, - // 生物样品内标工作液制备表 - sp004:{ + // 生物样品内标工作液制备表 + sp00456:{ title: '生物样品内标工作液制备表', - + mbrybh:'Target Solution ID', + qsrybh:'Source Solution ID', + ysqsrytj:'Expected Volume of Source Solution', + sjqsrytj:'Actual Source Solution Volume', + ysxsytj:'Expected Volume of Diluent', + sjxsytj:'Actual Volume of Diluent', + ysmbrynd:'Expected Concentration of Target Solution', + sjmbrynd:'Actual Concentration of Target Solution', + ysmbrytj:'Expected Volume of Target Solution', + sjmbrytj:'Actual Volume of Target Solution', + mbryyxzq:'Validity Period of Target Solution', + mbrysxr:'Expiration Date of Target Solution', + ysysrybh:'预设原始溶液编号', + sjysrybh:'实际原始溶液编号', + ysysrynd:'预设原始溶液浓度', + sjysrynd:'实际原始溶液浓度', + ysysrytj:'预设原始溶液体积', + sjysrytj:'实际原始溶液体积', + yjxsytj:'Expected Volume of Diluent', + sjxsytj:'Actual Volume of Diluent', + qsyry:'Source Solution', + ysqsyrynd:'Expected Concentration of Source Solution', + sjqsyrynd:'Actual Concentration of Source Solution', + xsy:'Diluent', + rqcz: 'Container Material', + cctj:'Storage Condition', }, // 生物样品分析方法学样品制备表-准确度与精密度 sp008: { diff --git a/src/lang/zh/template/sp.js b/src/lang/zh/template/sp.js index a5abe39..e94b5c5 100644 --- a/src/lang/zh/template/sp.js +++ b/src/lang/zh/template/sp.js @@ -16,9 +16,34 @@ export default { }, // 生物样品内标工作液制备表 - sp004:{ + sp00456:{ title: '生物样品内标工作液制备表', - + mbrybh:'目标溶液编号', + qsrybh:'起始溶液编号', + ysqsrytj:'预设起始溶液体积', + sjqsrytj:'实际起始溶液体积', + ysxsytj:'预设稀释液体积', + sjxsytj:'实际稀释液体积', + ysmbrynd:'预设目标溶液浓度', + sjmbrynd:'实际目标溶液浓度', + ysmbrytj:'预设目标溶液体积', + sjmbrytj:'实际目标溶液体积', + mbryyxzq:'目标溶液有效周期', + mbrysxr:'目标溶液失效日', + ysysrybh:'预设原始溶液编号', + sjysrybh:'实际原始溶液编号', + ysysrynd:'预设原始溶液浓度', + sjysrynd:'实际原始溶液浓度', + ysysrytj:'预设原始溶液体积', + sjysrytj:'实际原始溶液体积', + yjxsytj:'预计稀释液体积', + sjxsytj:'实际稀释液体积', + qsyry:'起始源溶液', + ysqsyrynd:'预设起始源溶液浓度', + sjqsyrynd:'实际起始源溶液浓度', + xsy:'稀释液', + rqcz: '容器材质', + cctj:'存储条件', }, // 生物样品分析方法学样品制备表-准确度与精密度 sp008: { diff --git a/src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue b/src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue index 64b2de9..cd5e1ef 100644 --- a/src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue +++ b/src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue @@ -6,13 +6,13 @@ }}
- + + + - - - - +
新增平行配制 新增阶梯配制 @@ -86,7 +86,7 @@ :prefixKey="'paralle' + paralleIndex">
- +
@@ -578,7 +578,7 @@ export default { let stepTableFormData = ladderConfigs.stepTableFormData for (let j = 0; j < stepTableFormData.length; j++) { //计算实际目标溶液体积(实际起始溶液体积+实际稀释液体积) - const { total, unit } = addTj([stepTableFormData[j].actStartSolutionVolume, stepTableFormData[j].actDiluentVolume], [ladderConfigs.headerSelectFields.actStartSolutionVolumeUnit, ladderConfigs.headerSelectFields.actDiluentVolumeUnit]) + const { total, unit } = addTj([stepTableFormData[j].actStartSolutionVolume, stepTableFormData[j].actDiluentVolume], [ladderConfigs.headerSelectFields.actStartSolutionVolumeUnit, ladderConfigs.headerSelectFields.actDiluentVolumeUnit]) tmpResource.push({ mc: null, bh: stepTableFormData[j].targetSolutionCode + stepTableFormData[j].subTargetSolutionCode, @@ -625,7 +625,7 @@ export default { let paralleConfigs = content.paralleConfigs[i] let stepTableFormData = paralleConfigs.stepTableFormData for (let j = 0; j < stepTableFormData.length; j++) { - const { total, unit } = addTj([stepTableFormData[j].actSolutionVolume, stepTableFormData[j].actDiluentVolume], [paralleConfigs.headerSelectFields.actSolutionVolumeUnit, paralleConfigs.headerSelectFields.actDiluentVolumeUnit]) + const { total, unit } = addTj([stepTableFormData[j].actSolutionVolume, stepTableFormData[j].actDiluentVolume], [paralleConfigs.headerSelectFields.actSolutionVolumeUnit, paralleConfigs.headerSelectFields.actDiluentVolumeUnit]) tmpResource.push({ mc: null, bh: stepTableFormData[j].targetSolutionCode + stepTableFormData[j].subTargetSolutionCode, diff --git a/src/views/business/comps/template/formConfig/paralleAndLadderConfig.js b/src/views/business/comps/template/formConfig/paralleAndLadderConfig.js index 7b4ba27..00e60e0 100644 --- a/src/views/business/comps/template/formConfig/paralleAndLadderConfig.js +++ b/src/views/business/comps/template/formConfig/paralleAndLadderConfig.js @@ -2,7 +2,7 @@ export const getLadderColumnsConfig = ($this) => { return [ { - label: '目标溶液编号', + label: 'template.sp.sp00456.mbrybh', prop: 'targetSolutionCode', bodyType: 'input', bodySubType: 'span', @@ -14,7 +14,7 @@ export const getLadderColumnsConfig = ($this) => { maxVolumeFieldUnit: "actSolutionVolumeUnit",//分装的最大量单位字段 }, { - label: '起始溶液编号', + label: 'template.sp.sp00456.qsrybh', prop: 'startSolutionCode', width: 280, bodyType: 'input', @@ -22,7 +22,7 @@ export const getLadderColumnsConfig = ($this) => { bodyMaxlength: 10 }, { - label: '预设起始溶液体积', + label: 'template.sp.sp00456.ysqsrytj', prop: 'targetStartSolutionVolume', width: 280, headerSelectKey: 'targetStartSolutionVolumeUnit', @@ -40,7 +40,7 @@ export const getLadderColumnsConfig = ($this) => { bodySubPlaceholder: '请输入保留小数位数' }, { - label: '实际起始溶液体积', + label: 'template.sp.sp00456.sjqsrytj', prop: 'actStartSolutionVolume', width: 280, headerSelectKey: 'actStartSolutionVolumeUnit', @@ -53,7 +53,7 @@ export const getLadderColumnsConfig = ($this) => { compareTo: 'targetStartSolutionVolume' //比较哪个字段 }, { - label: '预设稀释液体积', + label: 'template.sp.sp00456.ysxsytj', prop: 'targetDiluentVolume', width: 280, headerSelectKey: 'targetDiluentVolumeUnit', @@ -72,7 +72,7 @@ export const getLadderColumnsConfig = ($this) => { bodySubPlaceholder: '请输入保留小数位数' }, { - label: '实际稀释液体积', + label: 'template.sp.sp00456.sjxsytj', prop: 'actDiluentVolume', width: 280, headerSelectKey: 'actDiluentVolumeUnit', @@ -85,7 +85,7 @@ export const getLadderColumnsConfig = ($this) => { compareTo: 'targetDiluentVolume', //比较哪个字段 }, { - label: '预设目标溶液浓度', + label: 'template.sp.sp00456.ysmbrynd', prop: 'targetSolutionConcentration', width: 280, headerSelectKey: 'targetSolutionConcentrationUnit', @@ -96,7 +96,7 @@ export const getLadderColumnsConfig = ($this) => { bodyMaxlength: 10 }, { - label: '实际目标溶液浓度', + label: 'template.sp.sp00456.sjmbrynd', prop: 'actSolutionConcentration', width: 280, headerSelectKey: 'actSolutionConcentrationUnit', @@ -116,7 +116,7 @@ export const getLadderColumnsConfig = ($this) => { compareTo: 'targetSolutionConcentration', //比较哪个字段 }, { - label: '预设目标溶液体积', + label: 'template.sp.sp00456.ysmbrytj', prop: 'targetSolutionVolume', width: 280, headerSelectKey: 'targetSolutionVolumeUnit', @@ -127,7 +127,7 @@ export const getLadderColumnsConfig = ($this) => { bodyMaxlength: 10 }, { - label: '实际目标溶液体积', + label: 'template.sp.sp00456.sjmbrytj', prop: 'actSolutionVolume', width: 280, headerSelectKey: 'actSolutionVolumeUnit', @@ -159,7 +159,7 @@ export const getParallelColumnsConfig = ($this) => { } return [ { - label: '目标溶液编号', + label: 'template.sp.sp00456.mbrybh', prop: 'targetSolutionCode', bodyType: 'select', bodyOptions: $this.getDictOptions(o[sn]), @@ -172,7 +172,7 @@ export const getParallelColumnsConfig = ($this) => { width: 280 }, { - label: '预设目标溶液浓度', + label: 'template.sp.sp00456.ysmbrynd', prop: 'targetSolutionConcentration', width: 280, headerSelectKey: 'targetSolutionConcentrationUnit', @@ -183,7 +183,7 @@ export const getParallelColumnsConfig = ($this) => { bodyMaxlength: 10 }, { - label: '实际目标溶液浓度', + label: 'template.sp.sp00456.sjmbrynd', prop: 'actSolutionConcentration', width: 280, headerSelectKey: 'actSolutionConcentrationUnit', @@ -202,7 +202,7 @@ export const getParallelColumnsConfig = ($this) => { compareTo: 'targetSolutionConcentration', //比较哪个字段 }, { - label: '预设目标溶液体积', + label: 'template.sp.sp00456.ysmbrytj', prop: 'targetSolutionVolume', width: 280, headerSelectKey: 'targetSolutionVolumeUnit', @@ -213,7 +213,7 @@ export const getParallelColumnsConfig = ($this) => { bodyMaxlength: 10 }, { - label: '实际目标溶液体积', + label: 'template.sp.sp00456.sjmbrytj', prop: 'actSolutionVolume', width: 280, headerSelectKey: 'actSolutionVolumeUnit', @@ -232,7 +232,7 @@ export const getParallelColumnsConfig = ($this) => { compareTo: 'targetSolutionVolume', //比较哪个字段 }, { - label: '目标溶液有效周期', + label: 'template.sp.sp00456.mbryyxzq', prop: 'targetSolutionCycle', width: 280, fillType: 'preFill', @@ -246,20 +246,20 @@ export const getParallelColumnsConfig = ($this) => { bodyMaxlength: 10 }, { - label: '目标溶液失效日', + label: 'template.sp.sp00456.mbrysxr', prop: 'targetSolutionExpirationDate', width: 180, bodyType: 'span' }, { - label: '预设原始溶液编号', + label: 'template.sp.sp00456.ysysrybh', prop: 'startSolutionCode', width: 280, bodyType: 'input', bodyFillType: 'preFill' }, { - label: '实际原始溶液编号', + label: 'template.sp.sp00456.sjysrybh', prop: 'actStartSolutionCode', width: 280, bodyType: 'clickable', @@ -267,7 +267,7 @@ export const getParallelColumnsConfig = ($this) => { compareTo: 'startSolutionCode', //比较哪个字段 }, { - label: '预设原始溶液浓度', + label: 'template.sp.sp00456.ysysrynd', prop: 'targetStartSolutionConcentration', width: 280, bodyType: 'inputNumber', @@ -280,7 +280,7 @@ export const getParallelColumnsConfig = ($this) => { showBodySub: true }, { - label: '实际原始溶液浓度', + label: 'template.sp.sp00456.sjysrynd', prop: 'targetAcSolution', width: 280, bodyType: 'inputNumber', @@ -289,7 +289,7 @@ export const getParallelColumnsConfig = ($this) => { compareTo: 'targetStartSolutionConcentration', //比较哪个字段 }, { - label: '预设原始溶液体积', + label: 'template.sp.sp00456.ysysrytj', prop: 'targetStartSolutionVolume', headerSelectKey: 'targetStartSolutionVolumeUnit', fillType: 'preFill', @@ -310,7 +310,7 @@ export const getParallelColumnsConfig = ($this) => { }, { - label: '实际原始溶液体积', + label: 'template.sp.sp00456.sjysrytj', prop: 'actStartSolutionVolume', headerSelectKey: 'actStartSolutionVolumeUnit', fillType: 'preFill', @@ -324,7 +324,7 @@ export const getParallelColumnsConfig = ($this) => { }, { - label: '预计稀释液体积', + label: 'template.sp.sp00456.yjxsytj', prop: 'targetDiluentVolume', headerSelectKey: 'preDiluentVolumeUnit', fillType: 'preFill', @@ -342,7 +342,7 @@ export const getParallelColumnsConfig = ($this) => { showBodySub: $this.fillType === 'preFill' }, { - label: '实际稀释液体积', + label: 'template.sp.sp00456.sjxsytj', prop: 'actDiluentVolume', headerSelectKey: 'actDiluentVolumeUnit', fillType: 'preFill', @@ -363,7 +363,7 @@ export const getLadderFormConfig = ($this) => { type: 'step', config: { startSolution: { - label: '起始源溶液', + label: 'template.sp.sp00456.qsyry', type: 'input', fillType: 'preFill', subType: 'clickable', @@ -372,7 +372,7 @@ export const getLadderFormConfig = ($this) => { maxlength: 20 }, targetStartSolution: { - label: '预设起始源溶液浓度', + label: 'template.sp.sp00456.ysqsyrynd', type: 'inputNumber', subType: 'select', fillType: 'preFill', @@ -381,7 +381,7 @@ export const getLadderFormConfig = ($this) => { maxlength: 10 }, targetAcSolution: { - label: '实际起始源溶液浓度', + label: 'template.sp.sp00456.sjqsyrynd', type: 'input', fillType: 'actFill', disabled: true, @@ -389,7 +389,7 @@ export const getLadderFormConfig = ($this) => { compareTo: 'targetStartSolution', //比较哪个字段 }, solution: { - label: '稀释液', + label: 'template.sp.sp00456.xsy', type: 'input', fillType: 'preFill', subType: 'clickable', @@ -398,7 +398,7 @@ export const getLadderFormConfig = ($this) => { maxlength: 20 }, stepStorageCondition: { - label: '存储条件', + label: 'template.sp.sp00456.cctj', type: 'select', fillType: 'preFill', options: $this.getDictOptions('business_cctj'), @@ -406,7 +406,7 @@ export const getLadderFormConfig = ($this) => { }, effectivePeriod: { - label: '目标溶液有效周期', + label: 'template.sp.sp00456.mbryyxzq', type: 'input', subType: 'select', subKey: 'effectivePeriodUnit', @@ -414,7 +414,7 @@ export const getLadderFormConfig = ($this) => { subOptions: $this.getDictOptions('business_yxqdw') }, expireDate: { - label: '目标溶液失效日', + label: 'template.sp.sp00456.mbrysxr', type: 'input' } } @@ -429,23 +429,23 @@ export const getBaseInfoFormConfig = ($this) => { type: 'cardItem', config: { studyMc: { - label: '试验名称', + label: 'template.common.testName', type: 'input', disabled: true }, studySn: { - label: '试验编号', + label: 'template.common.testNumber', type: 'input', disabled: true }, methodCode: { - label: '方法编号', + label: 'template.common.methodCode', type: 'input', fillType: 'preFill', maxlength: 50 }, versionNum: { - label: '版本号', + label: 'template.common.versionNumber', type: 'inputNumber', fillType: 'actFill', prepend: 'V', @@ -455,10 +455,10 @@ export const getBaseInfoFormConfig = ($this) => { }, { type: 'conditionItem', - label: '试验配制条件', + label: 'template.common.testConfigurationConditions', config: { pre: { - label: '预填', + label: 'template.common.preFill', type: 'select', multiple: true, fillType: 'preFill', @@ -466,7 +466,7 @@ export const getBaseInfoFormConfig = ($this) => { otherCode: 'preOther' }, act: { - label: '实际', + label: 'template.common.actualFill', type: 'select', fillType: 'actFill', otherCode: 'actOther', @@ -477,10 +477,10 @@ export const getBaseInfoFormConfig = ($this) => { }, { type: 'conditionItem', - label: '容器材质', + label: 'template.sp.sp00456.rqcz', config: { containerMaterial: { - label: '容器材质', + label: 'template.sp.sp00456.rqcz', type: 'select', options: $this.getDictOptions('business_rqcz'), fillType: 'actFill', @@ -491,14 +491,14 @@ export const getBaseInfoFormConfig = ($this) => { }, { type: 'cellItem', - label: '处理时间', + label: 'template.common.configurationTime', config: { startDate: { - label: '开始时间', + label: 'template.common.startTime', type: 'input' }, endDate: { - label: '结束时间', + label: 'template.common.endTime', type: 'input' } } @@ -533,7 +533,7 @@ export const getStorageConditionFormConfig = ($this) => { type: 'conditionItem', config: { storageCondition: { - label: '存储条件', + label: 'template.sp.sp00456.cctj', type: 'select', fillType: 'preFill', options: $this.getDictOptions('business_cctj'),