Browse Source

fix:[模板管理]色谱03,04,05,06

lkf
15881625488@163.com 2 months ago
parent
commit
28c68c75bf
3 changed files with 15 additions and 12 deletions
  1. +5
    -4
      src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue
  2. +9
    -7
      src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue
  3. +1
    -1
      src/views/business/study/comp/tbbd/Qrfz.vue

+ 5
- 4
src/views/business/comps/template/comps/sp/SWYPBQGZYZBB.vue View File

@ -553,6 +553,8 @@ export default {
if (tableList && tableList.length > 0) { if (tableList && tableList.length > 0) {
for (let i = 0; i < tableList.length; i++) { for (let i = 0; i < tableList.length; i++) {
let item = tableList[i] let item = tableList[i]
//(+)
const { total, unit } = addTj([item.actStartSolutionVolume, item.actDiluentVolumeUnit], [content.headerSelectFields.actStartSolutionVolumeUnit, content.headerSelectFields.actDiluentVolumeUnit])
tmpResource.push({ tmpResource.push({
mc: null, mc: null,
bh: item.targetSolutionCode + item.subTargetSolutionCode, bh: item.targetSolutionCode + item.subTargetSolutionCode,
@ -562,10 +564,10 @@ export default {
sxrq: content.expireDate, sxrq: content.expireDate,
ndz: item.actSolutionConcentration, ndz: item.actSolutionConcentration,
nddw: content.headerSelectFields.actSolutionConcentrationUnit, nddw: content.headerSelectFields.actSolutionConcentrationUnit,
kc: item.actStartSolutionVolume n class="o">+ item.actDiluentVolume,//todo -
kcdw: content.headerSelectFields.actStartSolutionVolumeUnit || content.headerSelectFields.actDiluentVolumeUnit,//todo --
kc: total,
kcdw: unit,
syl: null, syl: null,
syldw: content.headerSelectFields.actStartSolutionVolumeUnit || content.headerSelectFields.actDiluentVolumeUnit,//todo --,
syldw: unit,
yxzq: content.effectivePeriod, yxzq: content.effectivePeriod,
yxzqdw: content.effectivePeriodUnit, yxzqdw: content.effectivePeriodUnit,
}) })
@ -591,7 +593,6 @@ export default {
} }
} }
} }
debugger
this.resourceTmp = tmpResource this.resourceTmp = tmpResource
return content; return content;

+ 9
- 7
src/views/business/comps/template/comps/sp/SWYPNBGZYZBB.vue View File

@ -577,6 +577,8 @@ export default {
let ladderConfigs = content.ladderConfigs[i] let ladderConfigs = content.ladderConfigs[i]
let stepTableFormData = ladderConfigs.stepTableFormData let stepTableFormData = ladderConfigs.stepTableFormData
for (let j = 0; j < stepTableFormData.length; j++) { for (let j = 0; j < stepTableFormData.length; j++) {
//(+)
const { total, unit } = addTj([stepTableFormData[j].actStartSolutionVolume, stepTableFormData[j].actDiluentVolume], [ladderConfigs.headerSelectFields.actStartSolutionVolumeUnit, ladderConfigs.headerSelectFields.actDiluentVolumeUnit])
tmpResource.push({ tmpResource.push({
mc: null, mc: null,
bh: stepTableFormData[j].targetSolutionCode + stepTableFormData[j].subTargetSolutionCode, bh: stepTableFormData[j].targetSolutionCode + stepTableFormData[j].subTargetSolutionCode,
@ -586,10 +588,10 @@ export default {
sxrq: ladderConfigs.expireDate, sxrq: ladderConfigs.expireDate,
ndz: stepTableFormData[j].actSolutionConcentration, ndz: stepTableFormData[j].actSolutionConcentration,
nddw: ladderConfigs.headerSelectFields.actSolutionConcentrationUnit, nddw: ladderConfigs.headerSelectFields.actSolutionConcentrationUnit,
kc: stepTableFormData[j].actSolutionVolume,
kcdw: ladderConfigs.headerSelectFields.actSolutionVolumeUnit,
kc: total,
kcdw: unit,
syl: null, syl: null,
syldw: ladderConfigs.headerSelectFields.actSolutionVolumeUnit,
syldw: unit,
yxzq: ladderConfigs.effectivePeriod, yxzq: ladderConfigs.effectivePeriod,
yxzqdw: ladderConfigs.effectivePeriodUnit, yxzqdw: ladderConfigs.effectivePeriodUnit,
}) })
@ -623,6 +625,7 @@ export default {
let paralleConfigs = content.paralleConfigs[i] let paralleConfigs = content.paralleConfigs[i]
let stepTableFormData = paralleConfigs.stepTableFormData let stepTableFormData = paralleConfigs.stepTableFormData
for (let j = 0; j < stepTableFormData.length; j++) { for (let j = 0; j < stepTableFormData.length; j++) {
const { total, unit } = addTj([stepTableFormData[j].actSolutionVolume, stepTableFormData[j].actDiluentVolume], [paralleConfigs.headerSelectFields.actSolutionVolumeUnit, paralleConfigs.headerSelectFields.actDiluentVolumeUnit])
tmpResource.push({ tmpResource.push({
mc: null, mc: null,
bh: stepTableFormData[j].targetSolutionCode + stepTableFormData[j].subTargetSolutionCode, bh: stepTableFormData[j].targetSolutionCode + stepTableFormData[j].subTargetSolutionCode,
@ -632,10 +635,10 @@ export default {
sxrq: stepTableFormData[j].targetSolutionExpirationDate, sxrq: stepTableFormData[j].targetSolutionExpirationDate,
ndz: stepTableFormData[j].actSolutionConcentration, ndz: stepTableFormData[j].actSolutionConcentration,
nddw: paralleConfigs.headerSelectFields.actSolutionConcentrationUnit, nddw: paralleConfigs.headerSelectFields.actSolutionConcentrationUnit,
kc: stepTableFormData[j].actSolutionVolume,
kcdw: paralleConfigs.headerSelectFields.actSolutionVolumeUnit,
kc: total,
kcdw: unit,
syl: null, syl: null,
syldw: paralleConfigs.headerSelectFields.actSolutionVolumeUnit,
syldw: unit,
yxzq: stepTableFormData[j].targetSolutionCycle, yxzq: stepTableFormData[j].targetSolutionCycle,
yxzqdw: stepTableFormData[j].targetSolutionCyclePrecision, yxzqdw: stepTableFormData[j].targetSolutionCyclePrecision,
}) })
@ -663,7 +666,6 @@ export default {
} }
} }
} }
debugger
this.resourceTmp = tmpResource this.resourceTmp = tmpResource
return content; return content;
}, },

+ 1
- 1
src/views/business/study/comp/tbbd/Qrfz.vue View File

@ -88,7 +88,7 @@ export default {
reset() { reset() {
this.form = { this.form = {
id: null, id: null,
qmyymc: $t('page.business.study.studyFormFill.fztgjj'),
qmyymc: this.$t('page.business.study.studyFormFill.fztgjj'),
qmyy: null, qmyy: null,
remark: null, remark: null,
qmrmm: null qmrmm: null

Loading…
Cancel
Save