From 49f09cc6f8ff8c30a75ed1a9d6f510b69b73962a Mon Sep 17 00:00:00 2001 From: king <18310653075@163.com> Date: 星期二, 12 十二月 2023 21:05:37 +0800 Subject: [PATCH] 2023-12-12 --- src/templates/sharecomponent/actioncomponent/verifyexcelin/uniqueform/index.jsx | 26 +++++++++++++------------- 1 files changed, 13 insertions(+), 13 deletions(-) diff --git a/src/templates/sharecomponent/actioncomponent/verifyexcelin/uniqueform/index.jsx b/src/templates/sharecomponent/actioncomponent/verifyexcelin/uniqueform/index.jsx index bba6819..8e4b8f9 100644 --- a/src/templates/sharecomponent/actioncomponent/verifyexcelin/uniqueform/index.jsx +++ b/src/templates/sharecomponent/actioncomponent/verifyexcelin/uniqueform/index.jsx @@ -1,12 +1,10 @@ import React, {Component} from 'react' import PropTypes from 'prop-types' import { Form, Row, Col, Select, Button } from 'antd' -import './index.scss' - +// import './index.scss' class UniqueForm extends Component { static propTpyes = { - dict: PropTypes.object, // 瀛楀吀椤� fields: PropTypes.array, // 琛ㄥ崟瀛楁 uniqueChange: PropTypes.func // 淇敼鍑芥暟 } @@ -56,13 +54,13 @@ <Form {...formItemLayout} className="verify-form" id="verifycard1"> <Row gutter={24}> <Col span={7}> - <Form.Item label={'鍒楀悕'}> + <Form.Item label="鍒楀悕"> {getFieldDecorator('field', { initialValue: [], rules: [ { required: true, - message: this.props.dict['form.required.select'] + '鍒楀悕!' + message: '璇烽�夋嫨鍒楀悕!' } ] })( @@ -78,13 +76,13 @@ </Form.Item> </Col> <Col span={7}> - <Form.Item label={'鎶ラ敊缂栫爜'}> + <Form.Item label="鎶ラ敊缂栫爜"> {getFieldDecorator('errorCode', { initialValue: 'E', rules: [ { required: true, - message: this.props.dict['form.required.select'] + '鎶ラ敊缂栫爜!' + message: '璇烽�夋嫨鎶ラ敊缂栫爜!' } ] })( @@ -98,24 +96,26 @@ </Form.Item> </Col> <Col span={7}> - <Form.Item label={'楠岃瘉绫诲瀷'}> + <Form.Item label="楠岃瘉绫诲瀷"> {getFieldDecorator('verifyType', { - initialValue: 'physical', + initialValue: 'logic', rules: [ { required: true, - message: this.props.dict['form.required.select'] + '楠岃瘉绫诲瀷!' + message: '璇烽�夋嫨楠岃瘉绫诲瀷!' } ] })( <Select> - <Select.Option value="physical"> 鐗╃悊楠岃瘉 </Select.Option> - <Select.Option value="logic"> 閫昏緫楠岃瘉 </Select.Option> + <Select.Option value="logic"> 閫昏緫楠岃瘉锛堝叏閲忛獙璇侊級 </Select.Option> + <Select.Option value="physical"> 鐗╃悊楠岃瘉锛堝叏閲忛獙璇侊級 </Select.Option> + <Select.Option value="physical_temp"> 鐗╃悊楠岃瘉锛堜粎涓存椂琛級 </Select.Option> + <Select.Option value="logic_temp"> 閫昏緫楠岃瘉锛堜粎涓存椂琛級 </Select.Option> </Select> )} </Form.Item> </Col> - <Col span={3} className="add"> + <Col span={3} className="add" style={{paddingTop: '4px'}}> <Button onClick={this.handleConfirm} className="mk-green"> 娣诲姞 </Button> -- Gitblit v1.8.0