Browse Source

fix: [基础修改] 存储条件设置为多选

ouqian
memorylkf 1 month ago
parent
commit
b1ca795feb
43 changed files with 222 additions and 185 deletions
  1. +1
    -0
      src/views/business/comps/template/comps/gsp/DMYPPZJLB.vue
  2. +1
    -0
      src/views/business/comps/template/comps/gsp/GSP001.vue
  3. +1
    -0
      src/views/business/comps/template/comps/gsp/GSP002.vue
  4. +1
    -0
      src/views/business/comps/template/comps/gsp/GSP003.vue
  5. +1
    -0
      src/views/business/comps/template/comps/gsp/GSP004.vue
  6. +2
    -0
      src/views/business/comps/template/comps/gsp/GSP005.vue
  7. +1
    -0
      src/views/business/comps/template/comps/gsp/GSP010.vue
  8. +1
    -0
      src/views/business/comps/template/comps/lba/LBA008.vue
  9. +2
    -0
      src/views/business/comps/template/comps/pcr/PCR002.vue
  10. +2
    -0
      src/views/business/comps/template/comps/pcr/PCR003.vue
  11. +2
    -0
      src/views/business/comps/template/comps/pcr/PCR004.vue
  12. +1
    -0
      src/views/business/comps/template/comps/pcr/PCR005.vue
  13. +1
    -0
      src/views/business/comps/template/comps/pcr/PCR007.vue
  14. +1
    -0
      src/views/business/comps/template/comps/pcr/PCR008.vue
  15. +1
    -0
      src/views/business/comps/template/comps/pcr/PCR009.vue
  16. +1
    -0
      src/views/business/comps/template/comps/pcr/PCR010.vue
  17. +1
    -0
      src/views/business/comps/template/comps/pcr/PCR011.vue
  18. +1
    -0
      src/views/business/comps/template/comps/pcr/PCR012.vue
  19. +1
    -0
      src/views/business/comps/template/comps/sp/SP001.vue
  20. +2
    -0
      src/views/business/comps/template/comps/sp/SP003.vue
  21. +1
    -0
      src/views/business/comps/template/comps/sp/SP008.vue
  22. +1
    -0
      src/views/business/comps/template/comps/sp/SP009.vue
  23. +54
    -56
      src/views/business/comps/template/formConfig/PCRTableConfig.js
  24. +121
    -110
      src/views/business/comps/template/formConfig/paralleAndLadderConfig.js
  25. +1
    -0
      src/views/business/comps/template/formConfig/sp/SP007.js
  26. +1
    -1
      src/views/business/resource/gsp/comps/gsp/Bj.vue
  27. +1
    -1
      src/views/business/resource/gsp/comps/gsp/Xz.vue
  28. +1
    -1
      src/views/business/resource/gsp/comps/rkjl/Bj.vue
  29. +1
    -1
      src/views/business/resource/gsp/comps/rkjl/Xz.vue
  30. +1
    -1
      src/views/business/resource/gyzj/comps/gyzj/Bj.vue
  31. +1
    -1
      src/views/business/resource/gyzj/comps/gyzj/Cc.vue
  32. +1
    -1
      src/views/business/resource/gyzj/comps/gyzj/Gh.vue
  33. +1
    -1
      src/views/business/resource/gyzj/comps/gyzj/Rk.vue
  34. +1
    -1
      src/views/business/resource/gyzj/comps/gyzj/Sqgh.vue
  35. +1
    -1
      src/views/business/resource/gyzj/comps/gyzj/Sqrk.vue
  36. +1
    -1
      src/views/business/resource/mjy/comps/mjy/Bj.vue
  37. +1
    -1
      src/views/business/resource/mjy/comps/mjy/Cc.vue
  38. +1
    -1
      src/views/business/resource/mjy/comps/mjy/Gh.vue
  39. +1
    -1
      src/views/business/resource/mjy/comps/mjy/Rk.vue
  40. +1
    -1
      src/views/business/resource/sj/comps/Bj.vue
  41. +1
    -1
      src/views/business/resource/yq/list.vue
  42. +1
    -1
      src/views/business/storageLocation/list.vue
  43. +2
    -2
      src/views/business/study/comp/tbbd/Bj.vue

+ 1
- 0
src/views/business/comps/template/comps/gsp/DMYPPZJLB.vue View File

@ -83,6 +83,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }

+ 1
- 0
src/views/business/comps/template/comps/gsp/GSP001.vue View File

@ -82,6 +82,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }

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

@ -227,6 +227,7 @@ export default {
type: 'select', type: 'select',
fillType: 'preFill', fillType: 'preFill',
options: this.getDictOptions('business_cctj'), options: this.getDictOptions('business_cctj'),
multiple: true,
otherCode: 'paralleStepStorageConditionOther' otherCode: 'paralleStepStorageConditionOther'
} }
} }

+ 1
- 0
src/views/business/comps/template/comps/gsp/GSP003.vue View File

@ -105,6 +105,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }

+ 1
- 0
src/views/business/comps/template/comps/gsp/GSP004.vue View File

@ -249,6 +249,7 @@ export default {
type: 'select', type: 'select',
fillType: 'preFill', fillType: 'preFill',
options: this.getDictOptions('business_cctj'), options: this.getDictOptions('business_cctj'),
multiple: true,
otherCode: 'paralleStepStorageConditionOther' otherCode: 'paralleStepStorageConditionOther'
} }
} }

+ 2
- 0
src/views/business/comps/template/comps/gsp/GSP005.vue View File

@ -300,6 +300,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
sywzbhph: { sywzbhph: {
@ -493,6 +494,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
yrybhph: { yrybhph: {

+ 1
- 0
src/views/business/comps/template/comps/gsp/GSP010.vue View File

@ -240,6 +240,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }

+ 1
- 0
src/views/business/comps/template/comps/lba/LBA008.vue View File

@ -102,6 +102,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }

+ 2
- 0
src/views/business/comps/template/comps/pcr/PCR002.vue View File

@ -91,6 +91,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }
@ -219,6 +220,7 @@ export default {
type: 'select', type: 'select',
fillType: 'preFill', fillType: 'preFill',
options: this.getDictOptions('business_cctj'), options: this.getDictOptions('business_cctj'),
multiple: true,
otherCode: 'stepStorageConditionOther' otherCode: 'stepStorageConditionOther'
}, },

+ 2
- 0
src/views/business/comps/template/comps/pcr/PCR003.vue View File

@ -92,6 +92,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }
@ -220,6 +221,7 @@ export default {
type: 'select', type: 'select',
fillType: 'preFill', fillType: 'preFill',
options: this.getDictOptions('business_cctj'), options: this.getDictOptions('business_cctj'),
multiple: true,
otherCode: 'stepStorageConditionOther' otherCode: 'stepStorageConditionOther'
}, },

+ 2
- 0
src/views/business/comps/template/comps/pcr/PCR004.vue View File

@ -92,6 +92,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }
@ -220,6 +221,7 @@ export default {
type: 'select', type: 'select',
fillType: 'preFill', fillType: 'preFill',
options: this.getDictOptions('business_cctj'), options: this.getDictOptions('business_cctj'),
multiple: true,
otherCode: 'stepStorageConditionOther' otherCode: 'stepStorageConditionOther'
}, },

+ 1
- 0
src/views/business/comps/template/comps/pcr/PCR005.vue View File

@ -106,6 +106,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }

+ 1
- 0
src/views/business/comps/template/comps/pcr/PCR007.vue View File

@ -103,6 +103,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }

+ 1
- 0
src/views/business/comps/template/comps/pcr/PCR008.vue View File

@ -85,6 +85,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }

+ 1
- 0
src/views/business/comps/template/comps/pcr/PCR009.vue View File

@ -102,6 +102,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }

+ 1
- 0
src/views/business/comps/template/comps/pcr/PCR010.vue View File

@ -87,6 +87,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }

+ 1
- 0
src/views/business/comps/template/comps/pcr/PCR011.vue View File

@ -87,6 +87,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }

+ 1
- 0
src/views/business/comps/template/comps/pcr/PCR012.vue View File

@ -73,6 +73,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }

+ 1
- 0
src/views/business/comps/template/comps/sp/SP001.vue View File

@ -68,6 +68,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }

+ 2
- 0
src/views/business/comps/template/comps/sp/SP003.vue View File

@ -80,6 +80,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions('business_cctj'), options: this.getDictOptions('business_cctj'),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
@ -245,6 +246,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions('business_cctj'), options: this.getDictOptions('business_cctj'),
multiple: true,
otherCode: "stepStorageConditionOther", otherCode: "stepStorageConditionOther",
}, },

+ 1
- 0
src/views/business/comps/template/comps/sp/SP008.vue View File

@ -90,6 +90,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },

+ 1
- 0
src/views/business/comps/template/comps/sp/SP009.vue View File

@ -95,6 +95,7 @@ export default {
type: "select", type: "select",
fillType: "preFill", fillType: "preFill",
options: this.getDictOptions("business_cctj"), options: this.getDictOptions("business_cctj"),
multiple: true,
otherCode: "storageConditionOther", otherCode: "storageConditionOther",
}, },
} }

+ 54
- 56
src/views/business/comps/template/formConfig/PCRTableConfig.js View File

@ -11,9 +11,9 @@ export const getLadderColumnsConfig = ($this, selectKey) => {
bodySubKey: 'subTargetSolutionCode', bodySubKey: 'subTargetSolutionCode',
bodyFillType: 'preFill', bodyFillType: 'preFill',
width: 280, width: 280,
myCodeFields: ["targetSolutionCode", "bhOther", "subTargetSolutionCode"],//分装的母液编号字段
maxVolumeField: "actSolutionVolume",//分装的最大量字段
maxVolumeFieldUnit: "actSolutionVolumeUnit",//分装的最大量单位字段
myCodeFields: ['targetSolutionCode', 'bhOther', 'subTargetSolutionCode'], //分装的母液编号字段
maxVolumeField: 'actSolutionVolume', //分装的最大量字段
maxVolumeFieldUnit: 'actSolutionVolumeUnit' //分装的最大量单位字段
}, },
{ {
label: 'template.pcr.pcr002.qsrybh', label: 'template.pcr.pcr002.qsrybh',
@ -42,7 +42,7 @@ export const getLadderColumnsConfig = ($this, selectKey) => {
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: true, bodyDisabled: true,
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
headerSelectTo:"actStartSolutionVolumeUnit",
headerSelectTo: 'actStartSolutionVolumeUnit'
}, },
{ {
label: 'template.pcr.pcr002.sjqsrytj', label: 'template.pcr.pcr002.sjqsrytj',
@ -74,7 +74,7 @@ export const getLadderColumnsConfig = ($this, selectKey) => {
bodyPrecisionKey: 'targetDiluentVolumePrecision', bodyPrecisionKey: 'targetDiluentVolumePrecision',
bodyMaxlength: 10, bodyMaxlength: 10,
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
headerSelectTo:"actDiluentVolumeUnit",
headerSelectTo: 'actDiluentVolumeUnit'
}, },
{ {
label: 'template.pcr.pcr002.sjxsytj', label: 'template.pcr.pcr002.sjxsytj',
@ -87,7 +87,7 @@ export const getLadderColumnsConfig = ($this, selectKey) => {
bodyFillType: 'actFill', bodyFillType: 'actFill',
bodyMaxlength: 10, bodyMaxlength: 10,
copyFrom: 'targetDiluentVolume', //复制哪个字段 copyFrom: 'targetDiluentVolume', //复制哪个字段
compareTo: 'targetDiluentVolume', //比较哪个字段
compareTo: 'targetDiluentVolume' //比较哪个字段
}, },
{ {
label: 'template.pcr.pcr002.ysmbrynd', label: 'template.pcr.pcr002.ysmbrynd',
@ -99,7 +99,7 @@ export const getLadderColumnsConfig = ($this, selectKey) => {
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'preFill', bodyFillType: 'preFill',
bodyMaxlength: 10, bodyMaxlength: 10,
headerSelectTo:"actSolutionConcentrationUnit",
headerSelectTo: 'actSolutionConcentrationUnit'
}, },
{ {
label: 'template.pcr.pcr002.sjmbrynd', label: 'template.pcr.pcr002.sjmbrynd',
@ -118,7 +118,7 @@ export const getLadderColumnsConfig = ($this, selectKey) => {
bodyPrecisionKey: 'actSolutionConcentrationPrecision', bodyPrecisionKey: 'actSolutionConcentrationPrecision',
bodyMaxlength: 10, bodyMaxlength: 10,
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
compareTo: 'targetSolutionConcentration', //比较哪个字段
compareTo: 'targetSolutionConcentration' //比较哪个字段
}, },
{ {
label: 'template.pcr.pcr002.ysmbrytj', label: 'template.pcr.pcr002.ysmbrytj',
@ -149,17 +149,17 @@ export const getLadderColumnsConfig = ($this, selectKey) => {
bodyMaxlength: 10, bodyMaxlength: 10,
// copyFrom: 'targetSolutionVolume', //复制哪个字段 // copyFrom: 'targetSolutionVolume', //复制哪个字段
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
compareTo: 'targetSolutionVolume', //比较哪个字段
compareTo: 'targetSolutionVolume' //比较哪个字段
} }
] ]
} }
// 平行配置表格列配置 // 平行配置表格列配置
export const getParallelColumnsConfig = ($this) => { export const getParallelColumnsConfig = ($this) => {
const sn = $this.sn;
const sn = $this.sn
let o = { let o = {
"SP004":"business_sp_nbgzy",
"SP005":"business_sp_zkgzy",
"SP006":"business_sp_bzqxzkypzbb",
SP004: 'business_sp_nbgzy',
SP005: 'business_sp_zkgzy',
SP006: 'business_sp_bzqxzkypzbb'
} }
return [ return [
{ {
@ -170,9 +170,9 @@ export const getParallelColumnsConfig = ($this) => {
bodySubType: 'span', bodySubType: 'span',
bodySubKey: 'subTargetSolutionCode', bodySubKey: 'subTargetSolutionCode',
bodyFillType: 'preFill', bodyFillType: 'preFill',
myCodeFields: ["targetSolutionCode", "subTargetSolutionCode"],//分装的母液编号字段
maxVolumeField: "actSolutionVolume",//分装的最大量字段
maxVolumeFieldUnit: "actSolutionVolumeUnit",//分装的最大量单位字段
myCodeFields: ['targetSolutionCode', 'subTargetSolutionCode'], //分装的母液编号字段
maxVolumeField: 'actSolutionVolume', //分装的最大量字段
maxVolumeFieldUnit: 'actSolutionVolumeUnit', //分装的最大量单位字段
width: 280 width: 280
}, },
{ {
@ -203,7 +203,7 @@ export const getParallelColumnsConfig = ($this) => {
bodyPrecisionKey: 'actSolutionConcentrationPrecision', bodyPrecisionKey: 'actSolutionConcentrationPrecision',
bodyMaxlength: 10, bodyMaxlength: 10,
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
compareTo: 'targetSolutionConcentration', //比较哪个字段
compareTo: 'targetSolutionConcentration' //比较哪个字段
}, },
{ {
label: 'template.sp.sp00456.ysmbrytj', label: 'template.sp.sp00456.ysmbrytj',
@ -215,7 +215,7 @@ export const getParallelColumnsConfig = ($this) => {
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'preFill', bodyFillType: 'preFill',
bodyMaxlength: 10, bodyMaxlength: 10,
headerSelectTo:"actSolutionVolumeUnit",
headerSelectTo: 'actSolutionVolumeUnit'
}, },
{ {
label: 'template.sp.sp00456.sjmbrytj', label: 'template.sp.sp00456.sjmbrytj',
@ -234,7 +234,7 @@ export const getParallelColumnsConfig = ($this) => {
bodyPrecisionKey: 'actSolutionVolumePrecision', bodyPrecisionKey: 'actSolutionVolumePrecision',
bodyMaxlength: 10, bodyMaxlength: 10,
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
compareTo: 'targetSolutionVolume', //比较哪个字段
compareTo: 'targetSolutionVolume' //比较哪个字段
}, },
{ {
label: 'template.sp.sp00456.mbryyxzq', label: 'template.sp.sp00456.mbryyxzq',
@ -269,7 +269,7 @@ export const getParallelColumnsConfig = ($this) => {
width: 280, width: 280,
bodyType: 'clickable', bodyType: 'clickable',
bodyFillType: 'actFill', bodyFillType: 'actFill',
compareTo: 'startSolutionCode', //比较哪个字段
compareTo: 'startSolutionCode' //比较哪个字段
}, },
{ {
label: 'template.sp.sp00456.ysysrynd', label: 'template.sp.sp00456.ysysrynd',
@ -291,7 +291,7 @@ export const getParallelColumnsConfig = ($this) => {
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'actFill', bodyFillType: 'actFill',
bodyDisabled: true, bodyDisabled: true,
compareTo: 'targetStartSolutionConcentration', //比较哪个字段
compareTo: 'targetStartSolutionConcentration' //比较哪个字段
}, },
{ {
label: 'template.sp.sp00456.ysysrytj', label: 'template.sp.sp00456.ysysrytj',
@ -356,7 +356,7 @@ export const getParallelColumnsConfig = ($this) => {
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'actFill', bodyFillType: 'actFill',
bodyMaxlength: 10, bodyMaxlength: 10,
copyFrom:"targetDiluentVolume",
copyFrom: 'targetDiluentVolume',
compareTo: 'targetDiluentVolume' //比较哪个字段 compareTo: 'targetDiluentVolume' //比较哪个字段
} }
] ]
@ -392,7 +392,7 @@ export const getLadderFormConfig = ($this) => {
fillType: 'actFill', fillType: 'actFill',
disabled: true, disabled: true,
maxlength: 10, maxlength: 10,
compareTo: 'targetStartSolution', //比较哪个字段
compareTo: 'targetStartSolution' //比较哪个字段
}, },
solution: { solution: {
label: 'template.sp.sp00456.xsy', label: 'template.sp.sp00456.xsy',
@ -408,6 +408,7 @@ export const getLadderFormConfig = ($this) => {
type: 'select', type: 'select',
fillType: 'preFill', fillType: 'preFill',
options: $this.getDictOptions('business_cctj'), options: $this.getDictOptions('business_cctj'),
multiple: true,
otherCode: 'stepStorageConditionOther' otherCode: 'stepStorageConditionOther'
}, },
@ -544,6 +545,7 @@ export const getStorageConditionFormConfig = ($this) => {
type: 'select', type: 'select',
fillType: 'preFill', fillType: 'preFill',
options: $this.getDictOptions('business_cctj'), options: $this.getDictOptions('business_cctj'),
multiple: true,
otherCode: 'othersSorageCondition' otherCode: 'othersSorageCondition'
} }
} }
@ -571,6 +573,7 @@ export const getParalleStepFormConfig = ($this) => {
type: 'select', type: 'select',
fillType: 'preFill', fillType: 'preFill',
options: $this.getDictOptions('business_cctj'), options: $this.getDictOptions('business_cctj'),
multiple: true,
otherCode: 'paralleStepStorageConditionOther' otherCode: 'paralleStepStorageConditionOther'
} }
} }
@ -588,7 +591,7 @@ export const getPCR005Config = ($this) => {
bodyType: 'input', bodyType: 'input',
fillType: 'preFill', fillType: 'preFill',
otherCode: 'bhOther', otherCode: 'bhOther',
bodyFillType: 'preFill',
bodyFillType: 'preFill'
}, },
{ {
label: 'template.pcr.pcr005.ypcsnd', label: 'template.pcr.pcr005.ypcsnd',
@ -600,7 +603,7 @@ export const getPCR005Config = ($this) => {
headerOptions: $this.getDictOptions('business_nddw'), headerOptions: $this.getDictOptions('business_nddw'),
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'preFill', bodyFillType: 'preFill',
bodyMaxlength: 10,
bodyMaxlength: 10
}, },
{ {
label: 'template.pcr.pcr005.sxbs', label: 'template.pcr.pcr005.sxbs',
@ -610,7 +613,7 @@ export const getPCR005Config = ($this) => {
fillType: 'preFill', fillType: 'preFill',
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'preFill', bodyFillType: 'preFill',
bodyMaxlength: 10,
bodyMaxlength: 10
}, },
{ {
label: 'template.pcr.pcr005.ysypxytj', label: 'template.pcr.pcr005.ysypxytj',
@ -622,7 +625,7 @@ export const getPCR005Config = ($this) => {
headerOptions: $this.getDictOptions('business_tjdw'), headerOptions: $this.getDictOptions('business_tjdw'),
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'preFill', bodyFillType: 'preFill',
bodyMaxlength: 10,
bodyMaxlength: 10
}, },
{ {
label: 'template.pcr.pcr005.sjypxytj', label: 'template.pcr.pcr005.sjypxytj',
@ -635,7 +638,7 @@ export const getPCR005Config = ($this) => {
copyFrom: 'ysypxytj', //复制哪个字段 copyFrom: 'ysypxytj', //复制哪个字段
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'actFill', bodyFillType: 'actFill',
bodyMaxlength: 10,
bodyMaxlength: 10
}, },
{ {
label: 'template.pcr.pcr005.ysxsyxytj', label: 'template.pcr.pcr005.ysxsyxytj',
@ -657,7 +660,7 @@ export const getPCR005Config = ($this) => {
showBodySub: $this.fillType === 'preFill', showBodySub: $this.fillType === 'preFill',
bodyPrecisionKey: 0, bodyPrecisionKey: 0,
bodyMaxlength: 10, bodyMaxlength: 10,
bodySubPlaceholder: 'template.common.xswsPlaceholder',
bodySubPlaceholder: 'template.common.xswsPlaceholder'
}, },
{ {
label: 'template.pcr.pcr005.sjxsyxytj', label: 'template.pcr.pcr005.sjxsyxytj',
@ -670,7 +673,7 @@ export const getPCR005Config = ($this) => {
copyFrom: 'ysxsyxytj', //复制哪个字段 copyFrom: 'ysxsyxytj', //复制哪个字段
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'actFill', bodyFillType: 'actFill',
bodyMaxlength: 10,
bodyMaxlength: 10
}, },
{ {
label: 'template.pcr.pcr005.ypznd', label: 'template.pcr.pcr005.ypznd',
@ -691,12 +694,11 @@ export const getPCR005Config = ($this) => {
subPrecision: 0, subPrecision: 0,
showBodySub: $this.fillType === 'preFill', showBodySub: $this.fillType === 'preFill',
bodyMaxlength: 10, bodyMaxlength: 10,
bodySubPlaceholder: 'template.common.xswsPlaceholder',
},
bodySubPlaceholder: 'template.common.xswsPlaceholder'
}
] ]
} }
// PCR007 // PCR007
export const getPCR007Config = ($this) => { export const getPCR007Config = ($this) => {
return [ return [
@ -707,7 +709,7 @@ export const getPCR007Config = ($this) => {
bodyType: 'input', bodyType: 'input',
fillType: 'preFill', fillType: 'preFill',
otherCode: 'bhOther', otherCode: 'bhOther',
bodyFillType: 'preFill',
bodyFillType: 'preFill'
}, },
{ {
label: 'template.pcr.pcr007.cyqypgsjyjtjtj', label: 'template.pcr.pcr007.cyqypgsjyjtjtj',
@ -719,7 +721,7 @@ export const getPCR007Config = ($this) => {
headerOptions: $this.getDictOptions('business_tjdw'), headerOptions: $this.getDictOptions('business_tjdw'),
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'preFill', bodyFillType: 'preFill',
bodyMaxlength: 10,
bodyMaxlength: 10
}, },
{ {
label: 'template.pcr.pcr007.cyqypgsjsjtjtj', label: 'template.pcr.pcr007.cyqypgsjsjtjtj',
@ -732,7 +734,7 @@ export const getPCR007Config = ($this) => {
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'actFill', bodyFillType: 'actFill',
copyFrom: 'cyqypgsjyjtjtj', //复制哪个字段 copyFrom: 'cyqypgsjyjtjtj', //复制哪个字段
bodyMaxlength: 10,
bodyMaxlength: 10
}, },
{ {
label: 'template.pcr.pcr007.cjgzl', label: 'template.pcr.pcr007.cjgzl',
@ -753,12 +755,11 @@ export const getPCR007Config = ($this) => {
subPrecision: 0, subPrecision: 0,
showBodySub: $this.fillType === 'actFill', showBodySub: $this.fillType === 'actFill',
bodyMaxlength: 10, bodyMaxlength: 10,
bodySubPlaceholder: 'template.common.xswsPlaceholder',
bodySubPlaceholder: 'template.common.xswsPlaceholder'
} }
] ]
} }
// PCR008 // PCR008
export const getPCR008Config = ($this) => { export const getPCR008Config = ($this) => {
return [ return [
@ -769,7 +770,7 @@ export const getPCR008Config = ($this) => {
bodyType: 'input', bodyType: 'input',
fillType: 'preFill', fillType: 'preFill',
otherCode: 'bhOther', otherCode: 'bhOther',
bodyFillType: 'preFill',
bodyFillType: 'preFill'
}, },
{ {
label: 'template.pcr.pcr008.cjgz', label: 'template.pcr.pcr008.cjgz',
@ -781,7 +782,7 @@ export const getPCR008Config = ($this) => {
headerOptions: $this.getDictOptions('business_tjdw'), headerOptions: $this.getDictOptions('business_tjdw'),
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'preFill', bodyFillType: 'preFill',
bodyMaxlength: 10,
bodyMaxlength: 10
}, },
{ {
label: 'template.pcr.pcr008.lzzcz', label: 'template.pcr.pcr008.lzzcz',
@ -798,7 +799,7 @@ export const getPCR008Config = ($this) => {
bodySubType: 'button', bodySubType: 'button',
bodySubButtonName: 'form.hqz', bodySubButtonName: 'form.hqz',
bodySubFillType: 'actFill', bodySubFillType: 'actFill',
showBodySub: $this.fillType === 'actFill',
showBodySub: $this.fillType === 'actFill'
}, },
{ {
label: 'template.pcr.pcr008.zzzl', label: 'template.pcr.pcr008.zzzl',
@ -819,7 +820,7 @@ export const getPCR008Config = ($this) => {
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: $this.fillType === 'preFill', bodyDisabled: $this.fillType === 'preFill',
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
headerSelectTo:"actStartSolutionVolumeUnit",
headerSelectTo: 'actStartSolutionVolumeUnit'
}, },
{ {
label: 'template.pcr.pcr008.ysyjrybjrl', label: 'template.pcr.pcr008.ysyjrybjrl',
@ -840,7 +841,7 @@ export const getPCR008Config = ($this) => {
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: $this.fillType === 'preFill', bodyDisabled: $this.fillType === 'preFill',
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
headerSelectTo:"actStartSolutionVolumeUnit",
headerSelectTo: 'actStartSolutionVolumeUnit'
}, },
{ {
label: 'template.pcr.pcr008.sjyjrybjrl', label: 'template.pcr.pcr008.sjyjrybjrl',
@ -853,13 +854,11 @@ export const getPCR008Config = ($this) => {
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'actFill', bodyFillType: 'actFill',
copyFrom: 'ysyjrybjrl', //复制哪个字段 copyFrom: 'ysyjrybjrl', //复制哪个字段
bodyMaxlength: 10,
bodyMaxlength: 10
} }
] ]
} }
// PCR009 // PCR009
export const getPCR009Config = ($this) => { export const getPCR009Config = ($this) => {
return [ return [
@ -870,7 +869,7 @@ export const getPCR009Config = ($this) => {
bodyType: 'input', bodyType: 'input',
fillType: 'preFill', fillType: 'preFill',
otherCode: 'bhOther', otherCode: 'bhOther',
bodyFillType: 'preFill',
bodyFillType: 'preFill'
}, },
{ {
label: 'template.pcr.pcr009.zzz', label: 'template.pcr.pcr009.zzz',
@ -882,7 +881,7 @@ export const getPCR009Config = ($this) => {
headerOptions: $this.getDictOptions('business_tjdw'), headerOptions: $this.getDictOptions('business_tjdw'),
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'preFill', bodyFillType: 'preFill',
bodyMaxlength: 10,
bodyMaxlength: 10
}, },
{ {
label: 'template.pcr.pcr009.ysyjrybjrl', label: 'template.pcr.pcr009.ysyjrybjrl',
@ -903,7 +902,7 @@ export const getPCR009Config = ($this) => {
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: $this.fillType === 'preFill', bodyDisabled: $this.fillType === 'preFill',
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
headerSelectTo:"actStartSolutionVolumeUnit",
headerSelectTo: 'actStartSolutionVolumeUnit'
}, },
{ {
label: 'template.pcr.pcr009.sjyjrybjrl', label: 'template.pcr.pcr009.sjyjrybjrl',
@ -916,12 +915,11 @@ export const getPCR009Config = ($this) => {
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'actFill', bodyFillType: 'actFill',
copyFrom: 'ysyjrybjrl', //复制哪个字段 copyFrom: 'ysyjrybjrl', //复制哪个字段
bodyMaxlength: 10,
bodyMaxlength: 10
} }
] ]
} }
// PCR010 // PCR010
export const getPCR010Config = ($this) => { export const getPCR010Config = ($this) => {
return [ return [
@ -932,7 +930,7 @@ export const getPCR010Config = ($this) => {
bodyType: 'input', bodyType: 'input',
fillType: 'preFill', fillType: 'preFill',
otherCode: 'bhOther', otherCode: 'bhOther',
bodyFillType: 'preFill',
bodyFillType: 'preFill'
}, },
{ {
label: 'template.pcr.pcr010.cqzl', label: 'template.pcr.pcr010.cqzl',
@ -953,7 +951,7 @@ export const getPCR010Config = ($this) => {
subPrecision: 0, subPrecision: 0,
showBodySub: $this.fillType === 'actFill', showBodySub: $this.fillType === 'actFill',
bodyMaxlength: 10, bodyMaxlength: 10,
bodySubPlaceholder: 'template.common.xswsPlaceholder',
bodySubPlaceholder: 'template.common.xswsPlaceholder'
}, },
{ {
label: 'template.pcr.pcr009.ysyjrybjrl', label: 'template.pcr.pcr009.ysyjrybjrl',
@ -974,7 +972,7 @@ export const getPCR010Config = ($this) => {
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: $this.fillType === 'preFill', bodyDisabled: $this.fillType === 'preFill',
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
headerSelectTo:"actStartSolutionVolumeUnit",
headerSelectTo: 'actStartSolutionVolumeUnit'
}, },
{ {
label: 'template.pcr.pcr009.sjyjrybjrl', label: 'template.pcr.pcr009.sjyjrybjrl',
@ -987,7 +985,7 @@ export const getPCR010Config = ($this) => {
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'actFill', bodyFillType: 'actFill',
copyFrom: 'ysyjrybjrl', //复制哪个字段 copyFrom: 'ysyjrybjrl', //复制哪个字段
bodyMaxlength: 10,
bodyMaxlength: 10
} }
] ]
}
}

+ 121
- 110
src/views/business/comps/template/formConfig/paralleAndLadderConfig.js View File

@ -1,40 +1,39 @@
const explainConfig = { const explainConfig = {
type: 'explainItem',
config: {
text1: {
label: '配制说明:配制',
type: 'span',
},
yb: {
type: "input",
fillType: 'preFill',
maxlength: 100,
formWidth: 280
},
text2:{
label:"样本,分别配制",
type: 'span',
},
ybs: {
type: "inputNumber",
fillType: 'preFill',
precision: 0,
},
text3:{
label:"套, 序列号为:",
type: 'span',
},
ybh: {
type: "input",
fillType: 'preFill',
},
text4:{
label:",单套配制过程如下:",
type: 'span',
},
}
type: 'explainItem',
config: {
text1: {
label: '配制说明:配制',
type: 'span'
},
yb: {
type: 'input',
fillType: 'preFill',
maxlength: 100,
formWidth: 280
},
text2: {
label: '样本,分别配制',
type: 'span'
},
ybs: {
type: 'inputNumber',
fillType: 'preFill',
precision: 0
},
text3: {
label: '套, 序列号为:',
type: 'span'
},
ybh: {
type: 'input',
fillType: 'preFill'
},
text4: {
label: ',单套配制过程如下:',
type: 'span'
} }
}
}
// 阶梯配置表格列配置 // 阶梯配置表格列配置
export const getLadderColumnsConfig = ($this) => { export const getLadderColumnsConfig = ($this) => {
return [ return [
@ -47,9 +46,9 @@ export const getLadderColumnsConfig = ($this) => {
bodyFillType: 'preFill', bodyFillType: 'preFill',
width: 280, width: 280,
showWidth: 180, showWidth: 180,
myCodeFields: ["targetSolutionCode", "subTargetSolutionCode"],//分装的母液编号字段
maxVolumeField: "actSolutionVolume",//分装的最大量字段
maxVolumeFieldUnit: "actSolutionVolumeUnit",//分装的最大量单位字段
myCodeFields: ['targetSolutionCode', 'subTargetSolutionCode'], //分装的母液编号字段
maxVolumeField: 'actSolutionVolume', //分装的最大量字段
maxVolumeFieldUnit: 'actSolutionVolumeUnit' //分装的最大量单位字段
}, },
{ {
label: 'template.sp.sp00456.qsrybh', label: 'template.sp.sp00456.qsrybh',
@ -58,7 +57,7 @@ export const getLadderColumnsConfig = ($this) => {
showWidth: 180, showWidth: 180,
bodyType: 'input', bodyType: 'input',
bodyFillType: 'actFill', bodyFillType: 'actFill',
bodyDisabled: true,
bodyDisabled: true
}, },
{ {
label: 'template.sp.sp00456.ysqsrytj', label: 'template.sp.sp00456.ysqsrytj',
@ -79,7 +78,7 @@ export const getLadderColumnsConfig = ($this) => {
bodyMaxlength: 10, bodyMaxlength: 10,
bodyDisabled: true, bodyDisabled: true,
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
headerSelectTo: "actStartSolutionVolumeUnit",
headerSelectTo: 'actStartSolutionVolumeUnit'
}, },
{ {
label: 'template.sp.sp00456.sjqsrytj', label: 'template.sp.sp00456.sjqsrytj',
@ -115,7 +114,7 @@ export const getLadderColumnsConfig = ($this) => {
subPrecision: 0, subPrecision: 0,
bodyMaxlength: 10, bodyMaxlength: 10,
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
headerSelectTo: "actDiluentVolumeUnit",
headerSelectTo: 'actDiluentVolumeUnit'
}, },
{ {
label: 'template.sp.sp00456.sjxsytj', label: 'template.sp.sp00456.sjxsytj',
@ -129,7 +128,7 @@ export const getLadderColumnsConfig = ($this) => {
bodyFillType: 'actFill', bodyFillType: 'actFill',
bodyMaxlength: 10, bodyMaxlength: 10,
copyFrom: 'targetDiluentVolume', //复制哪个字段 copyFrom: 'targetDiluentVolume', //复制哪个字段
compareTo: 'targetDiluentVolume', //比较哪个字段
compareTo: 'targetDiluentVolume' //比较哪个字段
}, },
{ {
label: 'template.sp.sp00456.ysmbrynd', label: 'template.sp.sp00456.ysmbrynd',
@ -142,7 +141,7 @@ export const getLadderColumnsConfig = ($this) => {
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'preFill', bodyFillType: 'preFill',
bodyMaxlength: 10, bodyMaxlength: 10,
headerSelectTo: "actSolutionConcentrationUnit",
headerSelectTo: 'actSolutionConcentrationUnit'
}, },
{ {
label: 'template.sp.sp00456.sjmbrynd', label: 'template.sp.sp00456.sjmbrynd',
@ -164,7 +163,7 @@ export const getLadderColumnsConfig = ($this) => {
subPrecision: 0, subPrecision: 0,
bodyMaxlength: 10, bodyMaxlength: 10,
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
compareTo: 'targetSolutionConcentration', //比较哪个字段
compareTo: 'targetSolutionConcentration' //比较哪个字段
}, },
{ {
label: 'template.sp.sp00456.ysmbrytj', label: 'template.sp.sp00456.ysmbrytj',
@ -177,7 +176,7 @@ export const getLadderColumnsConfig = ($this) => {
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'preFill', bodyFillType: 'preFill',
bodyMaxlength: 10, bodyMaxlength: 10,
headerSelectTo: "actSolutionVolumeUnit",
headerSelectTo: 'actSolutionVolumeUnit'
}, },
{ {
label: 'template.sp.sp00456.sjmbrytj', label: 'template.sp.sp00456.sjmbrytj',
@ -200,19 +199,19 @@ export const getLadderColumnsConfig = ($this) => {
bodyMaxlength: 10, bodyMaxlength: 10,
// copyFrom: 'targetSolutionVolume', //复制哪个字段 // copyFrom: 'targetSolutionVolume', //复制哪个字段
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
compareTo: 'targetSolutionVolume', //比较哪个字段
compareTo: 'targetSolutionVolume' //比较哪个字段
} }
] ]
} }
// 平行配置表格列配置 // 平行配置表格列配置
export const getParallelColumnsConfig = ($this) => { export const getParallelColumnsConfig = ($this) => {
const sn = $this.sn;
const sn = $this.sn
let o = { let o = {
"SP004": "business_sp_nbgzy",
"SP005": "business_sp_zkgzy",
"SP006": "business_sp_bzqxzkypzbb",
SP004: 'business_sp_nbgzy',
SP005: 'business_sp_zkgzy',
SP006: 'business_sp_bzqxzkypzbb'
} }
const dic = o[sn] || 'business_sp_nbgzy';
const dic = o[sn] || 'business_sp_nbgzy'
return [ return [
{ {
label: 'template.sp.sp00456.mbrybh', label: 'template.sp.sp00456.mbrybh',
@ -222,9 +221,9 @@ export const getParallelColumnsConfig = ($this) => {
bodySubType: 'span', bodySubType: 'span',
bodySubKey: 'subTargetSolutionCode', bodySubKey: 'subTargetSolutionCode',
bodyFillType: 'preFill', bodyFillType: 'preFill',
myCodeFields: ["targetSolutionCode", "subTargetSolutionCode"],//分装的母液编号字段
maxVolumeField: "actSolutionVolume",//分装的最大量字段
maxVolumeFieldUnit: "actSolutionVolumeUnit",//分装的最大量单位字段
myCodeFields: ['targetSolutionCode', 'subTargetSolutionCode'], //分装的母液编号字段
maxVolumeField: 'actSolutionVolume', //分装的最大量字段
maxVolumeFieldUnit: 'actSolutionVolumeUnit', //分装的最大量单位字段
showWidth: 180, showWidth: 180,
width: 280 width: 280
}, },
@ -239,7 +238,7 @@ export const getParallelColumnsConfig = ($this) => {
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'preFill', bodyFillType: 'preFill',
bodyMaxlength: 10, bodyMaxlength: 10,
headerSelectTo: "actSolutionConcentrationUnit",
headerSelectTo: 'actSolutionConcentrationUnit'
}, },
{ {
label: 'template.sp.sp00456.sjmbrynd', label: 'template.sp.sp00456.sjmbrynd',
@ -260,7 +259,7 @@ export const getParallelColumnsConfig = ($this) => {
subPrecision: 0, subPrecision: 0,
bodyMaxlength: 10, bodyMaxlength: 10,
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
compareTo: 'targetSolutionConcentration', //比较哪个字段
compareTo: 'targetSolutionConcentration' //比较哪个字段
}, },
{ {
label: 'template.sp.sp00456.ysmbrytj', label: 'template.sp.sp00456.ysmbrytj',
@ -273,7 +272,7 @@ export const getParallelColumnsConfig = ($this) => {
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'preFill', bodyFillType: 'preFill',
bodyMaxlength: 10, bodyMaxlength: 10,
headerSelectTo: "actSolutionVolumeUnit",
headerSelectTo: 'actSolutionVolumeUnit'
}, },
{ {
label: 'template.sp.sp00456.sjmbrytj', label: 'template.sp.sp00456.sjmbrytj',
@ -294,7 +293,7 @@ export const getParallelColumnsConfig = ($this) => {
subPrecision: 0, subPrecision: 0,
bodyMaxlength: 10, bodyMaxlength: 10,
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
compareTo: 'targetSolutionVolume', //比较哪个字段
compareTo: 'targetSolutionVolume' //比较哪个字段
}, },
{ {
label: 'template.sp.sp00456.mbryyxzq', label: 'template.sp.sp00456.mbryyxzq',
@ -333,7 +332,7 @@ export const getParallelColumnsConfig = ($this) => {
showWidth: 180, showWidth: 180,
bodyType: 'sj', bodyType: 'sj',
bodyFillType: 'actFill', bodyFillType: 'actFill',
compareTo: 'startSolutionCode', //比较哪个字段
compareTo: 'startSolutionCode' //比较哪个字段
}, },
{ {
label: 'template.sp.sp00456.ysysrynd', label: 'template.sp.sp00456.ysysrynd',
@ -347,7 +346,7 @@ export const getParallelColumnsConfig = ($this) => {
bodySubOptions: $this.getDictOptions('business_nddw'), bodySubOptions: $this.getDictOptions('business_nddw'),
bodySubFillType: 'preFill', bodySubFillType: 'preFill',
bodyMaxlength: 10, bodyMaxlength: 10,
showBodySub: true,
showBodySub: true
}, },
{ {
label: 'template.sp.sp00456.sjysrynd', label: 'template.sp.sp00456.sjysrynd',
@ -357,12 +356,12 @@ export const getParallelColumnsConfig = ($this) => {
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'actFill', bodyFillType: 'actFill',
bodyDisabled: true, bodyDisabled: true,
compareTo: 'targetStartSolutionConcentration', //比较哪个字段
compareTo: 'targetStartSolutionConcentration', //比较哪个字段
bodySubKey: 'subTargetAcSolutionUnit', bodySubKey: 'subTargetAcSolutionUnit',
bodySubType: "input",
bodySubCompareTo: "targetStartSolutionConcentrationPrecision",
bodySubFillType: "actFill",
bodySubDisabled: true,
bodySubType: 'input',
bodySubCompareTo: 'targetStartSolutionConcentrationPrecision',
bodySubFillType: 'actFill',
bodySubDisabled: true
}, },
{ {
label: 'template.sp.sp00456.ysysrytj', label: 'template.sp.sp00456.ysysrytj',
@ -385,7 +384,7 @@ export const getParallelColumnsConfig = ($this) => {
bodyDisabled: true, bodyDisabled: true,
showBodySub: true, showBodySub: true,
showBodySub: $this.fillType === 'preFill', showBodySub: $this.fillType === 'preFill',
headerSelectTo: "actStartSolutionVolumeUnit",
headerSelectTo: 'actStartSolutionVolumeUnit'
}, },
{ {
@ -422,7 +421,7 @@ export const getParallelColumnsConfig = ($this) => {
bodySubPlaceholder: 'template.common.xswsPlaceholder', bodySubPlaceholder: 'template.common.xswsPlaceholder',
bodyDisabled: true, bodyDisabled: true,
showBodySub: $this.fillType === 'preFill', showBodySub: $this.fillType === 'preFill',
headerSelectTo: "actDiluentVolumeUnit",
headerSelectTo: 'actDiluentVolumeUnit'
}, },
{ {
label: 'template.sp.sp00456.sjxsytj', label: 'template.sp.sp00456.sjxsytj',
@ -435,7 +434,7 @@ export const getParallelColumnsConfig = ($this) => {
bodyType: 'inputNumber', bodyType: 'inputNumber',
bodyFillType: 'actFill', bodyFillType: 'actFill',
bodyMaxlength: 10, bodyMaxlength: 10,
copyFrom: "targetDiluentVolume",
copyFrom: 'targetDiluentVolume',
compareTo: 'targetDiluentVolume' //比较哪个字段 compareTo: 'targetDiluentVolume' //比较哪个字段
} }
] ]
@ -443,7 +442,7 @@ export const getParallelColumnsConfig = ($this) => {
//阶梯配置 //阶梯配置
export const getLadderFormConfig = ($this) => { export const getLadderFormConfig = ($this) => {
const sn = $this.sn;
const sn = $this.sn
const defaultConfig = [ const defaultConfig = [
{ {
type: 'step', type: 'step',
@ -473,10 +472,10 @@ export const getLadderFormConfig = ($this) => {
disabled: true, disabled: true,
maxlength: 10, maxlength: 10,
compareTo: 'targetStartSolution', //比较哪个字段 compareTo: 'targetStartSolution', //比较哪个字段
subKey: "subTargetAcSolutionUnit",
subType: "input",
subKey: 'subTargetAcSolutionUnit',
subType: 'input',
subDisabled: true, subDisabled: true,
subCompareTo: "subTargetStartSolution",
subCompareTo: 'subTargetStartSolution'
}, },
solution: { solution: {
label: 'template.sp.sp00456.xsy', label: 'template.sp.sp00456.xsy',
@ -492,6 +491,7 @@ export const getLadderFormConfig = ($this) => {
type: 'select', type: 'select',
fillType: 'preFill', fillType: 'preFill',
options: $this.getDictOptions('business_cctj'), options: $this.getDictOptions('business_cctj'),
multiple: true,
otherCode: 'stepStorageConditionOther' otherCode: 'stepStorageConditionOther'
}, },
@ -510,7 +510,7 @@ export const getLadderFormConfig = ($this) => {
} }
} }
] ]
if (sn === "LBA007") {
if (sn === 'LBA007') {
defaultConfig.unshift(explainConfig) defaultConfig.unshift(explainConfig)
} }
return defaultConfig return defaultConfig
@ -518,9 +518,9 @@ export const getLadderFormConfig = ($this) => {
//试验基本信息 //试验基本信息
export const getBaseInfoFormConfig = ($this) => { export const getBaseInfoFormConfig = ($this) => {
const sn = $this.sn;
const labArr = ["LBA005", "LBA007"]
const isLba = labArr.includes(sn);
const sn = $this.sn
const labArr = ['LBA005', 'LBA007']
const isLba = labArr.includes(sn)
return [ return [
{ {
type: 'cardItem', type: 'cardItem',
@ -552,7 +552,9 @@ export const getBaseInfoFormConfig = ($this) => {
}, },
{ {
type: 'conditionItem', type: 'conditionItem',
label: isLba ? 'template.lba.lba002.cztj' : 'template.common.testConfigurationConditions',
label: isLba
? 'template.lba.lba002.cztj'
: 'template.common.testConfigurationConditions',
config: { config: {
pre: { pre: {
label: 'template.common.preFill', label: 'template.common.preFill',
@ -573,23 +575,27 @@ export const getBaseInfoFormConfig = ($this) => {
} }
} }
}, },
isLba ? {} : {
type: 'conditionItem',
label: 'template.sp.sp00456.rqcz',
config: {
containerMaterial: {
isLba
? {}
: {
type: 'conditionItem',
label: 'template.sp.sp00456.rqcz', label: 'template.sp.sp00456.rqcz',
type: 'select',
options: $this.getDictOptions('business_rqcz'),
fillType: 'actFill',
multiple: true,
otherCode: 'containerMaterialOther'
}
}
},
config: {
containerMaterial: {
label: 'template.sp.sp00456.rqcz',
type: 'select',
options: $this.getDictOptions('business_rqcz'),
fillType: 'actFill',
multiple: true,
otherCode: 'containerMaterialOther'
}
}
},
{ {
type: 'cellItem', type: 'cellItem',
label: isLba ? 'template.lba.lba002.czsj' : 'template.common.configurationTime',
label: isLba
? 'template.lba.lba002.czsj'
: 'template.common.configurationTime',
config: { config: {
startDate: { startDate: {
label: 'template.common.startTime', label: 'template.common.startTime',
@ -635,6 +641,7 @@ export const getStorageConditionFormConfig = ($this) => {
type: 'select', type: 'select',
fillType: 'preFill', fillType: 'preFill',
options: $this.getDictOptions('business_cctj'), options: $this.getDictOptions('business_cctj'),
multiple: true,
otherCode: 'othersSorageCondition' otherCode: 'othersSorageCondition'
} }
} }
@ -650,7 +657,7 @@ export const getParalleStepFormConfig = ($this) => {
config: { config: {
solution: { solution: {
label: 'template.sp.sp00456.xsy', label: 'template.sp.sp00456.xsy',
labelWidth:80,
labelWidth: 80,
type: 'input', type: 'input',
fillType: 'preFill', fillType: 'preFill',
subType: 'sj', subType: 'sj',
@ -660,17 +667,18 @@ export const getParalleStepFormConfig = ($this) => {
}, },
paralleStepStorageCondition: { paralleStepStorageCondition: {
label: 'template.sp.sp00456.cctj', label: 'template.sp.sp00456.cctj',
labelWidth:80,
labelWidth: 80,
type: 'select', type: 'select',
fillType: 'preFill', fillType: 'preFill',
options: $this.getDictOptions('business_cctj'), options: $this.getDictOptions('business_cctj'),
multiple: true,
otherCode: 'paralleStepStorageConditionOther' otherCode: 'paralleStepStorageConditionOther'
} }
} }
} }
] ]
const sn = $this.sn;
if(sn === "LBA007"){
const sn = $this.sn
if (sn === 'LBA007') {
defaultConfig.unshift(explainConfig) defaultConfig.unshift(explainConfig)
} }
return defaultConfig return defaultConfig
@ -678,18 +686,21 @@ export const getParalleStepFormConfig = ($this) => {
//选板信息; //选板信息;
export const getJcbColumnsConfig = ($this) => { export const getJcbColumnsConfig = ($this) => {
return [{
label: 'template.lba.lba002.jcbmc',
prop: 'jcb',
bodyType: 'input',
bodyFillType: 'preFill',
width: 280,
bodyMaxlength: 20
}, {
label: '',
prop: 'jcbBh',
bodyType: 'jcb',
bodyFillType: 'actFill',
width: 280
}]
}
return [
{
label: 'template.lba.lba002.jcbmc',
prop: 'jcb',
bodyType: 'input',
bodyFillType: 'preFill',
width: 280,
bodyMaxlength: 20
},
{
label: '',
prop: 'jcbBh',
bodyType: 'jcb',
bodyFillType: 'actFill',
width: 280
}
]
}

+ 1
- 0
src/views/business/comps/template/formConfig/sp/SP007.js View File

@ -135,6 +135,7 @@ export const getStorageFormConfig = ($this) => {
type: 'select', type: 'select',
fillType: 'preFill', fillType: 'preFill',
options: $this.getDictOptions('business_cctj'), options: $this.getDictOptions('business_cctj'),
multiple: true,
otherCode: 'storageConditionOther' otherCode: 'storageConditionOther'
} }
} }

+ 1
- 1
src/views/business/resource/gsp/comps/gsp/Bj.vue View File

@ -49,7 +49,7 @@
<!-- 存储条件 --> <!-- 存储条件 -->
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.gsp.cctj')" prop="cctj"> <el-form-item :label="$t('page.business.resource.gsp.cctj')" prop="cctj">
<BusinessSelect v-model="form.cctj" dictType="system_business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.cctj" dictType="system_business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

+ 1
- 1
src/views/business/resource/gsp/comps/gsp/Xz.vue View File

@ -61,7 +61,7 @@
<!-- 存储条件 --> <!-- 存储条件 -->
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.gsp.cctj')" prop="cctj"> <el-form-item :label="$t('page.business.resource.gsp.cctj')" prop="cctj">
<BusinessSelect v-model="form.cctj" dictType="system_business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.cctj" dictType="system_business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
<!-- 接收日期 --> <!-- 接收日期 -->

+ 1
- 1
src/views/business/resource/gsp/comps/rkjl/Bj.vue View File

@ -63,7 +63,7 @@
<!-- 存储条件 --> <!-- 存储条件 -->
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.gsp.cctj')" prop="cctj"> <el-form-item :label="$t('page.business.resource.gsp.cctj')" prop="cctj">
<BusinessSelect v-model="form.cctj" dictType="business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.cctj" dictType="business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

+ 1
- 1
src/views/business/resource/gsp/comps/rkjl/Xz.vue View File

@ -64,7 +64,7 @@
<!-- 存储条件 --> <!-- 存储条件 -->
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.gsp.cctj')" prop="cctj"> <el-form-item :label="$t('page.business.resource.gsp.cctj')" prop="cctj">
<BusinessSelect v-model="form.cctj" dictType="business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.cctj" dictType="business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

+ 1
- 1
src/views/business/resource/gyzj/comps/gyzj/Bj.vue View File

@ -46,7 +46,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.cctj')" prop="cctj"> <el-form-item :label="$t('page.business.resource.gyzj.cctj')" prop="cctj">
<BusinessSelect v-model="form.cctj" dictType="business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.cctj" dictType="business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

+ 1
- 1
src/views/business/resource/gyzj/comps/gyzj/Cc.vue View File

@ -25,7 +25,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.mjy.cctj')" prop="cctj"> <el-form-item :label="$t('page.business.resource.mjy.cctj')" prop="cctj">
<BusinessSelect v-model="form.cctj" dictType="business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.cctj" dictType="business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

+ 1
- 1
src/views/business/resource/gyzj/comps/gyzj/Gh.vue View File

@ -80,7 +80,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.rktj')" prop="rktj"> <el-form-item :label="$t('page.business.resource.gyzj.rktj')" prop="rktj">
<BusinessSelect v-model="form.rktj" dictType="business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.rktj" dictType="business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

+ 1
- 1
src/views/business/resource/gyzj/comps/gyzj/Rk.vue View File

@ -46,7 +46,7 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.rktj')" prop="rktj"> <el-form-item :label="$t('page.business.resource.gyzj.rktj')" prop="rktj">
<BusinessSelect v-model="form.rktj" dictType="business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.rktj" dictType="business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">

+ 1
- 1
src/views/business/resource/gyzj/comps/gyzj/Sqgh.vue View File

@ -80,7 +80,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.rktj')" prop="rktj"> <el-form-item :label="$t('page.business.resource.gyzj.rktj')" prop="rktj">
<BusinessSelect v-model="form.rktj" dictType="business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.rktj" dictType="business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

+ 1
- 1
src/views/business/resource/gyzj/comps/gyzj/Sqrk.vue View File

@ -47,7 +47,7 @@
<el-row> <el-row>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.gyzj.rktj')" prop="rktj"> <el-form-item :label="$t('page.business.resource.gyzj.rktj')" prop="rktj">
<BusinessSelect v-model="form.rktj" dictType="business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.rktj" dictType="business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

+ 1
- 1
src/views/business/resource/mjy/comps/mjy/Bj.vue View File

@ -46,7 +46,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.mjy.cctj')" prop="cctj"> <el-form-item :label="$t('page.business.resource.mjy.cctj')" prop="cctj">
<BusinessSelect v-model="form.cctj" dictType="business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.cctj" dictType="business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>

+ 1
- 1
src/views/business/resource/mjy/comps/mjy/Cc.vue View File

@ -25,7 +25,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.mjy.cctj')" prop="cctj"> <el-form-item :label="$t('page.business.resource.mjy.cctj')" prop="cctj">
<BusinessSelect v-model="form.cctj" dictType="business_cctj" ></BusinessSelect>
<BusinessSelect v-model="form.cctj" dictType="business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

+ 1
- 1
src/views/business/resource/mjy/comps/mjy/Gh.vue View File

@ -83,7 +83,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.mjy.rktj')" prop="rktj"> <el-form-item :label="$t('page.business.resource.mjy.rktj')" prop="rktj">
<BusinessSelect v-model="form.rktj" dictType="business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.rktj" dictType="business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

+ 1
- 1
src/views/business/resource/mjy/comps/mjy/Rk.vue View File

@ -52,7 +52,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.business.resource.mjy.rktj')" prop="rktj"> <el-form-item :label="$t('page.business.resource.mjy.rktj')" prop="rktj">
<BusinessSelect v-model="form.rktj" dictType="business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.rktj" dictType="business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

+ 1
- 1
src/views/business/resource/sj/comps/Bj.vue View File

@ -49,7 +49,7 @@
<el-col :span="12"> <el-col :span="12">
<!-- 存储条件 --> <!-- 存储条件 -->
<el-form-item :label="$t('page.business.resource.sj.cctj')" prop="cctj"> <el-form-item :label="$t('page.business.resource.sj.cctj')" prop="cctj">
<BusinessSelect dictType="business_cctj" v-model="form.cctj" />
<BusinessSelect dictType="business_cctj" v-model="form.cctj" :multiple="true" />
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

+ 1
- 1
src/views/business/resource/yq/list.vue View File

@ -115,7 +115,7 @@
</el-col> </el-col>
<el-col :span="12" v-if="form.ccwz == 10"> <el-col :span="12" v-if="form.ccwz == 10">
<el-form-item :label="$t('page.business.resource.yq.wc')" prop="wc"> <el-form-item :label="$t('page.business.resource.yq.wc')" prop="wc">
<BusinessSelect v-model="form.wc" dictType="business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.wc" dictType="business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

+ 1
- 1
src/views/business/storageLocation/list.vue View File

@ -79,7 +79,7 @@
</el-col> </el-col>
<el-col :span="12"> <el-col :span="12">
<el-form-item :label="$t('page.system.storageLocation.wc')" prop="compartment"> <el-form-item :label="$t('page.system.storageLocation.wc')" prop="compartment">
<BusinessSelect v-model="form.compartment" dictType="business_cctj"></BusinessSelect>
<BusinessSelect v-model="form.compartment" dictType="business_cctj" :multiple="true"></BusinessSelect>
</el-form-item> </el-form-item>
</el-col> </el-col>
</el-row> </el-row>

+ 2
- 2
src/views/business/study/comp/tbbd/Bj.vue View File

@ -150,7 +150,7 @@
<div style="display: flex; margin-left: 10px;"> <div style="display: flex; margin-left: 10px;">
<div> 存储条件</div> <div> 存储条件</div>
<div> <div>
<BusinessSelect v-model="citem.cctj" dictType="business_cctj" style="width: 200px;">
<BusinessSelect v-model="citem.cctj" dictType="business_cctj" :multiple="true" style="width: 200px;">
</BusinessSelect> </BusinessSelect>
</div> </div>
</div> </div>
@ -263,7 +263,7 @@
<div style="display: flex; margin-left: 10px;"> <div style="display: flex; margin-left: 10px;">
<div> 存储条件</div> <div> 存储条件</div>
<div> <div>
<BusinessSelect v-model="citem.cctj" dictType="business_cctj" style="width: 200px;">
<BusinessSelect v-model="citem.cctj" dictType="business_cctj" :multiple="true" style="width: 200px;">
</BusinessSelect> </BusinessSelect>
</div> </div>
</div> </div>

Loading…
Cancel
Save