From 3d71e181be80c0a1cbb03aff2afecb4351496d46 Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期五, 25 十一月 2022 11:19:21 +0800 Subject: [PATCH] Merge branch 'master' into positec --- src/templates/sharecomponent/actioncomponent/verifyexcelout/datasource/index.jsx | 19 +++++++------------ 1 files changed, 7 insertions(+), 12 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelout/datasource/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelout/datasource/index.jsx index 066d9e3..cd970a6 100644 --- a/src/templates/sharecomponent/actioncomponent/verifyexcelout/datasource/index.jsx +++ b/src/templates/sharecomponent/actioncomponent/verifyexcelout/datasource/index.jsx @@ -205,7 +205,13 @@ </Tooltip> }> {getFieldDecorator('order', { - initialValue: setting.order || '' + initialValue: setting.order || '', + rules: [ + { + required: true, + message: '璇峰~鍐欐帓搴忔柟寮�!' + } + ] })(<Input placeholder={'ID asc, UID desc'} autoComplete="off" />)} </Form.Item> </Col> : null} @@ -218,17 +224,6 @@ }> {getFieldDecorator('useSearch', { initialValue: setting.useSearch || 'true' - })( - <Radio.Group> - <Radio value="true">浣跨敤</Radio> - <Radio value="false">涓嶄娇鐢�</Radio> - </Radio.Group>)} - </Form.Item> - </Col> : null} - {dataType === 'custom' ? <Col span={8}> - <Form.Item label="浜嬪姟"> - {getFieldDecorator('transaction', { - initialValue: setting.transaction || 'false' })( <Radio.Group> <Radio value="true">浣跨敤</Radio> -- Gitblit v1.8.0