Browse Source

feat:[模板管理][update]

luojie
luojie 6 days ago
parent
commit
0c99ab4e1e
1 changed files with 8 additions and 2 deletions
  1. +8
    -2
      src/views/business/comps/template/formConfig/paralleAndLadderConfig.js

+ 8
- 2
src/views/business/comps/template/formConfig/paralleAndLadderConfig.js View File

@ -34,8 +34,8 @@ const explainConfig = {
} }
} }
} }
const config1 = {
//gsp004 配制说明
const gsp4config1 = {
sfxyzjfx: { sfxyzjfx: {
label: 'template.gsp.GSP003.sfxyzjfx', label: 'template.gsp.GSP003.sfxyzjfx',
type: "select", type: "select",
@ -45,6 +45,10 @@ const config1 = {
{ label: '否', value: '否' } { label: '否', value: '否' }
] ]
}, },
blank: {
label: '',
type: 'span'
}
} }
//编号对应的数据字典code //编号对应的数据字典code
@ -541,6 +545,8 @@ export const getLadderFormConfig = ($this) => {
] ]
if (sn === 'LBA007' || sn === 'ADA007') { if (sn === 'LBA007' || sn === 'ADA007') {
defaultConfig.unshift(explainConfig) defaultConfig.unshift(explainConfig)
}else if (sn === 'GSP004') {
defaultConfig[0].config = {...gsp4config1,...defaultConfig[0].config, }
} }
return defaultConfig return defaultConfig
} }

Loading…
Cancel
Save