| | |
| | | }, { |
| | | 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'] |
| | | }, { |
| | |
| | | }, { |
| | | value: 'funcbutton', |
| | | text: Formdict['model.form.funcbutton'] |
| | | }) |
| | | } |
| | | ] |
| | | |
| | | // 标签类型,主表才会存在表单标签页 |
| | | let tabTems = [{ |
| | | value: 'FormTab', |
| | | text: '表单标签页' |
| | | }] |
| | | if (type === 'subtable') { |
| | | tabTems = [] |
| | | } |
| | | |
| | | let refresh = [] |
| | |
| | | value: 'print', |
| | | text: Formdict['header.menu.printTemplate'] |
| | | }, { |
| | | value: 'pay', |
| | | text: Formdict['model.pay'] |
| | | }, { |
| | | value: 'custom', |
| | | text: Formdict['header.form.custom'] |
| | | }] |
| | |
| | | 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', |