From 98ee5d4c76d2802c552851e46bd4bb43505b4416 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 11 十一月 2020 13:28:05 +0800 Subject: [PATCH] 2020-11-11 --- src/menu/components/card/data-card/wrapsetting/settingform/index.jsx | 7 ++++--- 1 files changed, 4 insertions(+), 3 deletions(-) diff --git a/src/menu/components/card/data-card/wrapsetting/settingform/index.jsx b/src/menu/components/card/data-card/wrapsetting/settingform/index.jsx index c41ab83..8f7a501 100644 --- a/src/menu/components/card/data-card/wrapsetting/settingform/index.jsx +++ b/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" /> -- Gitblit v1.8.0