king
2020-11-11 98ee5d4c76d2802c552851e46bd4bb43505b4416
src/menu/components/card/data-card/wrapsetting/settingform/index.jsx
@@ -6,6 +6,7 @@
class SettingForm extends Component {
  static propTpyes = {
    MenuType: PropTypes.any,     // 菜单类型
    sysRoles: PropTypes.array,   // 角色列表
    dict: PropTypes.object,      // 字典项
    config: PropTypes.object,    // 卡片行信息
@@ -35,7 +36,7 @@
  }
  render() {
    const { wrap, config, sysRoles } = this.props
    const { wrap, config, sysRoles, MenuType } = this.props
    const { getFieldDecorator } = this.props.form
    const formItemLayout = {
@@ -113,7 +114,7 @@
                )}
              </Form.Item>
            </Col> : null}
            {config.subtype === 'datacard' ? <Col span={12}>
            {MenuType !== 'billPrint' && config.subtype === 'datacard' ? <Col span={12}>
              <Form.Item label={
                <Tooltip placement="topLeft" title="选择含有添加按钮时,请完善按钮配置信息。">
                  <Icon type="question-circle" />
@@ -130,7 +131,7 @@
                )}
              </Form.Item>
            </Col> : null}
            {config.subtype !== 'tablecard' ? <Col span={12}>
            {MenuType !== 'billPrint' && config.subtype !== 'tablecard' ? <Col span={12}>
              <Form.Item label={
                <Tooltip placement="topLeft" title="选择卡片切换时,可向其他组件传递主键值。">
                  <Icon type="question-circle" />