king
2020-07-07 e771ba19739b537526ddb9a6fb2499b58a45a8ab
src/templates/zshare/formconfig.jsx
@@ -941,16 +941,7 @@
    }, {
      value: 'popview',
      text: Formdict['model.form.popview']
    }
  ]
  if (type === 'subtable') {
    opentypes.push({
      value: 'funcbutton',
      text: Formdict['model.form.funcbutton']
    })
  } else {
    opentypes.push({
    }, {
      value: 'tab',
      text: Formdict['model.form.tab']
    }, {
@@ -959,7 +950,16 @@
    }, {
      value: 'funcbutton',
      text: Formdict['model.form.funcbutton']
    })
    }
  ]
  // 标签类型,主表才会存在表单标签页
  let tabTems = [{
    value: 'FormTab',
    text: '表单标签页'
  }]
  if (type === 'subtable') {
    tabTems = []
  }
  let refresh = []
@@ -1095,6 +1095,9 @@
        value: 'print',
        text: Formdict['header.menu.printTemplate']
      }, {
        value: 'pay',
        text: Formdict['model.pay']
      }, {
        value: 'custom',
        text: Formdict['header.form.custom']
      }]
@@ -1170,15 +1173,15 @@
      type: 'select',
      key: 'tabTemplate',
      label: '标签类型',
      initVal: card.tabTemplate || 'FormTab',
      initVal: card.tabTemplate || '',
      required: true,
      options: [{
        value: 'FormTab',
        text: '表单标签页'
      }, {
        value: 'ThdMenu',
        text: Formdict['model.menu.level3']
      }]
      options: [
        {
          value: 'ThdMenu',
          text: Formdict['model.menu.level3']
        },
        ...tabTems
      ]
    },
    {
      type: 'cascader',