Browse Source

fix:[模板管理]GPS002

ouqian
15881625488@163.com 1 month ago
parent
commit
438d539576
1 changed files with 8 additions and 8 deletions
  1. +8
    -8
      src/views/business/comps/template/comps/gsp/GSP002.vue

+ 8
- 8
src/views/business/comps/template/comps/gsp/GSP002.vue View File

@ -269,7 +269,7 @@ export default {
headerSelectKey: 'actSolutionConcentrationUnit', headerSelectKey: 'actSolutionConcentrationUnit',
fillType: 'preFill', fillType: 'preFill',
headerOptions: this.getDictOptions('business_nddw'), headerOptions: this.getDictOptions('business_nddw'),
bodyDisabled: true,
bodyDisabled: this.fillType !== 'actFill',
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodySubType: 'inputNumber', bodySubType: 'inputNumber',
bodySubKey: 'actSolutionConcentrationPrecision', bodySubKey: 'actSolutionConcentrationPrecision',
@ -302,7 +302,7 @@ export default {
headerSelectKey: 'actSolutionVolumeUnit', headerSelectKey: 'actSolutionVolumeUnit',
fillType: 'preFill', fillType: 'preFill',
headerOptions: this.getDictOptions('business_tjdw'), headerOptions: this.getDictOptions('business_tjdw'),
bodyDisabled: true,
bodyDisabled: this.fillType !== 'actFill',
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodySubType: 'inputNumber', bodySubType: 'inputNumber',
bodySubKey: 'actSolutionVolumePrecision', bodySubKey: 'actSolutionVolumePrecision',
@ -374,7 +374,7 @@ export default {
showWidth: 120, showWidth: 120,
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'actFill', bodyFillType: 'actFill',
bodyDisabled: true,
bodyDisabled: this.fillType !== 'actFill',
compareTo: 'targetStartSolutionConcentration', // compareTo: 'targetStartSolutionConcentration', //
}, },
{ {
@ -383,7 +383,7 @@ export default {
headerSelectKey: 'targetStartSolutionVolumeUnit', headerSelectKey: 'targetStartSolutionVolumeUnit',
fillType: 'preFill', fillType: 'preFill',
headerOptions: this.getDictOptions('business_tjdw'), headerOptions: this.getDictOptions('business_tjdw'),
width: 280,
width: 360,
showWidth: 120, showWidth: 120,
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'preFill', bodyFillType: 'preFill',
@ -394,8 +394,7 @@ export default {
bodyPrecisionKey: 'targetStartSolutionVolumePrecision', bodyPrecisionKey: 'targetStartSolutionVolumePrecision',
bodyMaxlength: 10, bodyMaxlength: 10,
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
bodyDisabled: true,
showBodySub: true,
bodyDisabled: this.fillType !== 'preFill',
showBodySub: this.fillType === 'preFill', showBodySub: this.fillType === 'preFill',
headerSelectTo: "actStartSolutionVolumeUnit", headerSelectTo: "actStartSolutionVolumeUnit",
}, },
@ -421,7 +420,7 @@ export default {
headerSelectKey: 'preDiluentVolumeUnit', headerSelectKey: 'preDiluentVolumeUnit',
fillType: 'preFill', fillType: 'preFill',
headerOptions: this.getDictOptions('business_tjdw'), headerOptions: this.getDictOptions('business_tjdw'),
width: 280,
width: 340,
showWidth: 120, showWidth: 120,
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'preFill', bodyFillType: 'preFill',
@ -431,7 +430,7 @@ export default {
bodyMaxlength: 10, bodyMaxlength: 10,
bodyPrecisionKey: 'targetDiluentVolumePrecision', bodyPrecisionKey: 'targetDiluentVolumePrecision',
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
bodyDisabled: true,
bodyDisabled: this.fillType !== 'preFill',
showBodySub: this.fillType === 'preFill', showBodySub: this.fillType === 'preFill',
headerSelectTo: "actDiluentVolumeUnit", headerSelectTo: "actDiluentVolumeUnit",
}, },
@ -725,6 +724,7 @@ export default {
const { selectInfo, key } = data; const { selectInfo, key } = data;
const { row } = selectInfo; const { row } = selectInfo;
if (key) { if (key) {
debugger
const packageRef = this.$refs[`paralleStepFormPackageRef_${rowIndex}`][0]; const packageRef = this.$refs[`paralleStepFormPackageRef_${rowIndex}`][0];
if (key === "subStartSolution") { if (key === "subStartSolution") {
packageRef.updateFormData("targetAcSolution", row.nd); packageRef.updateFormData("targetAcSolution", row.nd);

Loading…
Cancel
Save