From e9640ccdc9fe57f91919e3f51462c780e44fadb0 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期三, 23 十二月 2020 13:14:20 +0800 Subject: [PATCH] 2020-12-23 --- src/menu/datasource/verifycard/settingform/index.jsx | 24 ++++++++++++------------ 1 files changed, 12 insertions(+), 12 deletions(-) diff --git a/src/menu/datasource/verifycard/settingform/index.jsx b/src/menu/datasource/verifycard/settingform/index.jsx index 3cfed31..3a761bb 100644 --- a/src/menu/datasource/verifycard/settingform/index.jsx +++ b/src/menu/datasource/verifycard/settingform/index.jsx @@ -190,7 +190,7 @@ } render() { - const { setting, menu, columns, config } = this.props + const { setting, columns, config } = this.props const { getFieldDecorator } = this.props.form const { interType, modules, useMSearch, laypage, supModule, usefulFields } = this.state @@ -386,7 +386,7 @@ </Radio.Group>)} </Form.Item> </Col> : null} - {menu.MenuType !== 'billPrint' ? <Col span={8}> + <Col span={8}> <Form.Item label={ <Tooltip placement="topLeft" title={'璇ョ粍浠跺鏋滃彈鍏朵粬缁勪欢鎺у埗锛岃閫夐」鐩稿簲鐨勭粍浠讹紝娌℃湁鏃堕�夆�滄棤鈥濄��'}> <Icon type="question-circle" /> @@ -405,8 +405,8 @@ <Cascader options={modules} onChange={this.changeSupModule} expandTrigger="hover" placeholder="" /> )} </Form.Item> - </Col> : null} - {menu.MenuType !== 'billPrint' && config.pageable ? <Col span={8}> + </Col> + {config.pageable ? <Col span={8}> <Form.Item label="鍒嗛〉"> {getFieldDecorator('laypage', { initialValue: setting.laypage || 'true' @@ -418,7 +418,7 @@ )} </Form.Item> </Col> : null} - {menu.MenuType !== 'billPrint' && config.pageable && laypage !== 'false' ? <Col span={8}> + {config.pageable && laypage !== 'false' ? <Col span={8}> <Form.Item label={ <Tooltip placement="topLeft" title="閫夋嫨鍒嗛〉鏃舵湁鏁堛��"> <Icon type="question-circle" /> @@ -436,8 +436,8 @@ })(<InputNumber min={1} max={500} precision={0} />)} </Form.Item> </Col> : null} - {/* 1銆佷笉鍒嗛〉涓斾笉瀛樺湪涓婄骇妯″潡 2銆佹墦鍗版椂 */} - {((!config.pageable || (config.pageable && laypage === 'false')) && (!supModule || supModule.length === 0 || supModule[0] === 'empty')) || menu.MenuType === 'billPrint' ? <Col span={8}> + {/* 1銆佷笉鍒嗛〉涓斾笉瀛樺湪涓婄骇妯″潡 */} + {(!config.pageable || (config.pageable && laypage === 'false')) && (!supModule || supModule.length === 0 || supModule[0] === 'empty') ? <Col span={8}> <Form.Item label={ <Tooltip placement="topLeft" title={'鍒濆鍖栧姞杞芥椂锛屾槸鍚︿笌鍏朵粬缁勪欢涓�鍚屽姞杞芥暟鎹紝娉細浠呭湪浣跨敤绯荤粺鍑芥暟锛屼笖鍒濆鍖栧姞杞芥暟鎹椂鏈夋晥锛屽垎椤佃姹傛椂鏃犳晥銆�'}> <Icon type="question-circle" /> @@ -454,7 +454,7 @@ )} </Form.Item> </Col> : null} - {menu.MenuType !== 'billPrint' ? <Col span={8}> + <Col span={8}> <Form.Item label={ <Tooltip placement="topLeft" title={'浼樺厛浣跨敤鍚岀骇鐨勬悳绱㈡潯浠剁粍浠讹紝鍚岀骇鎼滅储涓嶅瓨鍦ㄦ椂锛屼緷娆″悜涓婇�夊彇锛屼笌褰撳墠缁勪欢鐨勬悳绱㈡潯浠朵竴鍚岀敤浣滄暟鎹繃婊わ紙褰撳墠缁勪欢鐨勬悳绱㈡潯浠朵紭鍏堬級銆�'}> <Icon type="question-circle" /> @@ -470,8 +470,8 @@ </Radio.Group> )} </Form.Item> - </Col> : null} - {menu.MenuType !== 'billPrint' && useMSearch === 'true' ? <Col span={8}> + </Col> + {useMSearch === 'true' ? <Col span={8}> <Form.Item label={ <Tooltip placement="topLeft" title={'澶栧眰鎼滅储鏉′欢鏀瑰彉鏃讹紝鏄惁鍒锋柊褰撳墠缁勪欢鏁版嵁銆�'}> <Icon type="question-circle" /> @@ -488,7 +488,7 @@ )} </Form.Item> </Col> : null} - {menu.MenuType !== 'billPrint' ? <Col span={8}> + <Col span={8}> <Form.Item label="鍒濆鍖栨暟鎹�"> {getFieldDecorator('onload', { initialValue: setting.onload || 'true' @@ -499,7 +499,7 @@ </Radio.Group> )} </Form.Item> - </Col> : null} + </Col> </Row> </Form> </div> -- Gitblit v1.8.0