king
2023-03-09 c7e0b8b1049f422e87e3c0d0ed252784aa69eb29
src/templates/zshare/formconfig.jsx
@@ -2388,7 +2388,7 @@
 * @param {*} linkableFields  // 可关联表单
 * @param {*} linksupFields   // 上级表单
 */
export function getModalForm (card, inputfields = [], tabfields = [], linkableFields, linksupFields, columns = []) {
export function getModalForm (card, inputfields = [], tabfields = [], linkableFields, linksupFields, allFields = [], columns = []) {
  let appType = sessionStorage.getItem('appType')
  let roleList = sessionStorage.getItem('sysRoles')
  if (roleList) {
@@ -2442,6 +2442,10 @@
  })
  linksupFields = linksupFields.map((item, index) => {
    item.label = `${index + 1}、${item.field || ''}(${item.label})`
    return item
  })
  allFields = allFields.map((item, index) => {
    item.label = `${index + 1}、${item.field || ''}(${item.label})`
    return item
  })
@@ -3481,6 +3485,15 @@
      }]
    },
    {
      type: 'select',
      key: 'splitctrl',
      label: '显示控制',
      initVal: card.splitctrl || '',
      tooltip: '分割线与该表单同步显示或隐藏。',
      allowClear: true,
      options: allFields
    },
    {
      type: 'radio',
      key: 'place',
      label: '排列',