// 医嘱项---基本信息
import React from 'react';
import {Form, Select, Input, Row, Col, Switch, Card, DatePicker, Modal, Button, message} from 'antd';
import Moment from 'moment';
import { $http } from 'containers/config/https';

const FormItem = Form.Item;
let {Option} = Select;

class ADAEssentialInformation extends React.Component {
    constructor() {
        super();
        this.state = {
            visible: false,
            prefixText: '', //医嘱项最大代码
        }
    }

    componentDidMount() {
        this.props.onRef(this);
    }

    // 获取并验证输入框当中的值
    handleValidateFields = () => {
        const { form: { validateFields } } = this.props;
        validateFields((errors, values) => {
            // 验证成功
            if (errors === null) {
                let obj = JSON.parse(JSON.stringify(values));
                obj.errors = true;
                obj.medStartDate = obj.medStartDate ? Moment(obj.medStartDate).format("YYYY-MM-DD") : "";
                obj.medStopDate = obj.medStopDate ? Moment(obj.medStopDate).format("YYYY-MM-DD") : "";
                obj.medToalCountI = obj.medToalCountI ? 'Y' : 'N';
                obj.medNoAloneOrder = obj.medNoAloneOrder ? 'Y' : 'N';
                obj.medNoStockFlag = obj.medNoStockFlag ? 'Y' : 'N';
                obj.medNoChangeFlag = obj.medNoChangeFlag ? 'Y' : 'N';
                obj.medMergeUseFlag = obj.medMergeUseFlag ? 'Y' : 'N';
                obj.medEMFlag = obj.medEMFlag ? 'Y' : 'N';
                obj.medPrivateFlag = obj.medPrivateFlag ? 'Y' : 'N';
                obj.medSkinTestFlag = obj.medSkinTestFlag ? 'Y' : 'N';
                obj.medToalCountO = obj.medToalCountO ? 'Y' : 'N';
                this.props.receiveSubcomponentsValue(obj, 'essentialInformation')
            } else {
                let obj = JSON.parse(JSON.stringify(values));
                obj.errors = false;
                this.props.receiveSubcomponentsValue(obj, 'essentialInformation')
            }
        })
    }

    // 重置数据
    resetFields = () => {
        this.props.form.resetFields();
        this.setState({prefixText: ''})
    }
    //获取最大代码
    saveMaxInventory=()=>{
        let medSubCatIDADAE = this.props.form.getFieldValue('medSubCatIDADAE');
        let prefix = this.props.form.getFieldValue('ADAEprefix');
        if(!prefix){
            message.error('请输入前缀');
            return
        }
        let data = {
            params: [{
                preCode: prefix ? prefix : '',//前缀
                subCatID: medSubCatIDADAE ? medSubCatIDADAE : '', //医嘱子类
            }]
        };
        $http.post('urlS', this, {
            code: "02020318",
            data: data,
            success: function (res) {
                if(res.errorCode==0){
                    // this.setState({ prefixText: res.result});
                    this.props.form.setFieldsValue({ medCode: res.result })
                    message.success(res.errorMessage)
                    this.handleCancel();
                }else {
                    this.setState({ prefixText: ''});
                    message.error(res.errorMessage);
                }
            }
        });
    };
    // 关闭弹窗
    handleCancel = () => {
        this.setState({
            visible: false,
        });
    };
    render() {
        let userInfo = this.props.userInfo;
        const { getFieldDecorator } = this.props.form;
        const formItemItem  = {
            labelCol: {span: 11},
            wrapperCol: {span: 13}
        };
        const formItemItemPopup  = {
            labelCol: {span: 9},
            wrapperCol: {span: 13}
        };
        const formItemCheckbox  = {
            labelCol: {span: 14},
            wrapperCol: {span: 10}
        };
        let selectData = this.props.selectData;
        let  ChineseEnglishSize=this.props.ChineseEnglishSize;
        let language= JSON.parse(window.sessionStorage.userData);
        // 医嘱子类
        let medSubCatIDOption = selectData&&selectData.ordSubCat&&selectData.ordSubCat.map((item, index) => {
            return (<Option key={index} value={item.id} title={item.descripts} seatchprop={item.descripts + '^' + item.descriptsSPCode}>{item.descripts}</Option>)
        })

        // 医嘱优先级
        let medPriorityIDOption = selectData&&selectData.priority&&selectData.priority.map((item, index) => {
            return (<Option key={index} value={item.id} title={item.descripts} seatchprop={item.descripts + '^' + item.descriptsSPCode}>{item.descripts}</Option>)
        })

        // 处方通用名
        let generIDOption = selectData&&selectData.generic&&selectData.generic.map((item, index) => {
            return (<Option key={index} value={item.id} title={item.descripts} seatchprop={item.descripts + '^' + item.descriptsSPCode}>{item.descripts}</Option>)
        })

        // 计价单位
        let medUnitIDOption = selectData&&selectData.unit&&selectData.unit.map((item, index) => {
            return (<Option key={index} value={item.id} title={item.descripts} seatchprop={item.descripts + '^' + item.descriptsSPCode}>{item.descripts}</Option>)
        })

        // 性别
        let medSexIDOption = selectData&&selectData.sex&&selectData.sex.map((item, index) => {
            return (<Option key={index} value={item.id} title={item.descripts} seatchprop={item.descripts + '^' + item.descriptsSPCode}>{item.descripts}</Option>)
        })

        return (
            <Card
                type="inner"
                title={ChineseEnglishSize.DrugMaintenancessentialInfo ? ChineseEnglishSize.DrugMaintenancessentialInfo.descripts:'基本信息'}
                size="small"
                className='allRssential'
            >
                <Form style={{padding: '0 12px'}}>
                    <Row>
                        <Col span={8} className='maxInventory'>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedCode ? ChineseEnglishSize.DrugMaintenancemedCode.descripts:'医嘱项代码'} {...formItemItem}>
                                {getFieldDecorator('medCode', {
                                    initialValue: userInfo.medCode ? userInfo.medCode : undefined,
                                    rules:[{ required : ChineseEnglishSize.materialPurchasePlanDetailListloc ? ChineseEnglishSize.materialPurchasePlanDetailListloc.required =='Y'? true:false: false, message: ChineseEnglishSize.materialPurchasePlanDetailListloc ? ChineseEnglishSize.materialPurchasePlanDetailListloc.message:'请输入医嘱项代码'}]
                                })(
                                    <Input style={{width: '100%'}} />
                                )}
                            </FormItem>
                            <a className='max' onClick={()=>{this.setState({visible: true})}}>{ChineseEnglishSize.MaterialInventoryItemMaintenanmaxCode ? ChineseEnglishSize.MaterialInventoryItemMaintenanmaxCode.descripts:'最大码'}</a>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedDesc ? ChineseEnglishSize.DrugMaintenancemedDesc.descripts:'医嘱项描述'} {...formItemItem}>
                                {getFieldDecorator('medDesc', {
                                    initialValue: userInfo.medDesc ? userInfo.medDesc : undefined,
                                    rules:[{ required : ChineseEnglishSize.DrugMaintenancemedDesc ? ChineseEnglishSize.DrugMaintenancemedDesc.required =='Y'? true:false: false, message: ChineseEnglishSize.DrugMaintenancemedDesc ? ChineseEnglishSize.DrugMaintenancemedDesc.message:'请输入医嘱项描述'}]
                                })(
                                    <Input style={{width: '100%'}} />
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedEnDesc ? ChineseEnglishSize.DrugMaintenancemedEnDesc.descripts:'英文描述'} {...formItemItem}>
                                {getFieldDecorator('medEnDesc', {
                                    initialValue: userInfo.medEnDesc ? userInfo.medEnDesc : undefined,
                                    rules:[{ required : ChineseEnglishSize.DrugMaintenancemedEnDesc ? ChineseEnglishSize.DrugMaintenancemedEnDesc.required =='Y'? true:false: false, message: ChineseEnglishSize.DrugMaintenancemedShortDesc ? ChineseEnglishSize.DrugMaintenancemedShortDesc.message:'请输入英文描述'}]
                                })(
                                    <Input style={{width: '100%'}} />
                                )}
                            </FormItem>
                        </Col>
                    </Row>
                    <Row>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedShortDesc ? ChineseEnglishSize.DrugMaintenancemedShortDesc.descripts:'简称'} {...formItemItem}>
                                {getFieldDecorator('medShortDesc', {
                                    initialValue: userInfo.medShortDesc ? userInfo.medShortDesc : undefined,
                                    rules:[{ required : ChineseEnglishSize.DrugMaintenancemedShortDesc ? ChineseEnglishSize.DrugMaintenancemedShortDesc.required =='Y'? true:false: false, message: ChineseEnglishSize.DrugMaintenancemedShortDesc ? ChineseEnglishSize.DrugMaintenancemedShortDesc.message:'请输入简称'}]
                                })(
                                    <Input style={{width: '100%'}} />
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedSubCatID ? ChineseEnglishSize.DrugMaintenancemedSubCatID.descripts:'医嘱子类'} {...formItemItem}>
                                {getFieldDecorator('medSubCatID', {
                                    initialValue: userInfo.medSubCatID ? userInfo.medSubCatID : undefined,
                                    rules:[{ required : ChineseEnglishSize.DrugMaintenancemedSubCatID ? ChineseEnglishSize.DrugMaintenancemedSubCatID.required =='Y'? true:false: false, message: ChineseEnglishSize.DrugMaintenancemedSubCatID ? ChineseEnglishSize.DrugMaintenancemedSubCatID.message:'请输入医嘱子类'}]
                                })(
                                    <Select style={{width: '100%'}} showSearch optionFilterProp="seatchprop" allowClear>
                                        {medSubCatIDOption}
                                    </Select>
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedPriorityID ? ChineseEnglishSize.DrugMaintenancemedPriorityID.descripts:'医嘱优先级'} {...formItemItem}>
                                {getFieldDecorator('medPriorityID', {
                                    initialValue: userInfo.medPriorityID ? userInfo.medPriorityID : undefined,
                                    rules:[{ required : ChineseEnglishSize.DrugMaintenancemedPriorityID ? ChineseEnglishSize.DrugMaintenancemedPriorityID.required =='Y'? true:false: false, message: ChineseEnglishSize.DrugMaintenancemedPriorityID ? ChineseEnglishSize.DrugMaintenancemedPriorityID.message:'请输入医嘱优先级'}]
                                })(
                                    <Select style={{width: '100%'}} showSearch optionFilterProp="seatchprop" allowClear>
                                        {medPriorityIDOption}
                                    </Select>
                                )}
                            </FormItem>
                        </Col>
                    </Row>
                    <Row>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenanceprescriptionGenericName ? ChineseEnglishSize.DrugMaintenanceprescriptionGenericName.descripts:'处方通用名'} {...formItemItem}>
                                {getFieldDecorator('generID', {
                                    initialValue: userInfo.generID ? userInfo.generID : undefined,
                                    rules:[{ required : ChineseEnglishSize.DrugMaintenanceprescriptionGenericName ? ChineseEnglishSize.DrugMaintenanceprescriptionGenericName.required =='Y'? true:false: false, message: ChineseEnglishSize.DrugMaintenanceprescriptionGenericName ? ChineseEnglishSize.DrugMaintenanceprescriptionGenericName.message:'请输入处方通用名'}]
                                })(
                                    <Select style={{width: '100%'}} showSearch optionFilterProp="seatchprop" allowClear>
                                        {generIDOption}
                                    </Select>
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancestartDate ? ChineseEnglishSize.DrugMaintenancestartDate.descripts:'生效日期'} {...formItemItem}>
                                {getFieldDecorator('medStartDate', {
                                    initialValue: userInfo.medStartDate ? Moment(userInfo.medStartDate) : undefined,
                                    rules:[{ required : ChineseEnglishSize.DrugMaintenancestartDate ? ChineseEnglishSize.DrugMaintenancestartDate.required =='Y'? true:false: false, message: ChineseEnglishSize.DrugMaintenancestartDate ? ChineseEnglishSize.DrugMaintenancestartDate.message:'请输入生效日期'}]
                                })(
                                    <DatePicker
                                        format="YYYY-MM-DD"
                                        style={{width:'100%'}}
                                    >
                                    </DatePicker>
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancestopDate ? ChineseEnglishSize.DrugMaintenancestopDate.descripts:'失效日期'} {...formItemItem}>
                                {getFieldDecorator('medStopDate', {
                                    initialValue: userInfo.medStopDate ? Moment(userInfo.medStopDate) : undefined,
                                })(
                                    <DatePicker
                                        format="YYYY-MM-DD"
                                        style={{width:'100%'}}
                                    >
                                    </DatePicker>
                                )}
                            </FormItem>
                        </Col>
                    </Row>
                    <Row>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedUnitID ? ChineseEnglishSize.DrugMaintenancemedUnitID.descripts:'计价单位'} {...formItemItem}>
                                {getFieldDecorator('medUnitID', {
                                    initialValue: userInfo.medUnitID ? userInfo.medUnitID : undefined,
                                    rules:[{ required : ChineseEnglishSize.DrugMaintenancemedUnitID ? ChineseEnglishSize.DrugMaintenancemedUnitID.required =='Y'? true:false: false, message: ChineseEnglishSize.DrugMaintenancemedUnitID ? ChineseEnglishSize.DrugMaintenancemedUnitID.message:'请输入计价单位'}]
                                })(
                                    <Select style={{width: '100%'}} showSearch optionFilterProp="seatchprop" allowClear>
                                        {medUnitIDOption}
                                    </Select>
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedMaxDose ? ChineseEnglishSize.DrugMaintenancemedMaxDose.descripts:'单次最大剂量'} {...formItemItem}>
                                {getFieldDecorator('medMaxDose', {
                                    initialValue: userInfo.medMaxDose ? userInfo.medMaxDose : undefined,
                                })(
                                    <Input style={{width: '100%'}} type="number" className="input-number" />
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedQdMaxQty ? ChineseEnglishSize.DrugMaintenancemedQdMaxQty.descripts:'每天最大剂量'} {...formItemItem}>
                                {getFieldDecorator('medQdMaxQty', {
                                    initialValue: userInfo.medQdMaxQty ? userInfo.medQdMaxQty : undefined,
                                })(
                                    <Input style={{width: '100%'}} type="number" className="input-number" />
                                )}
                            </FormItem>
                        </Col>
                    </Row>
                    <Row>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedSexID ? ChineseEnglishSize.DrugMaintenancemedSexID.descripts:'性别'} {...formItemItem}>
                                {getFieldDecorator('medSexID', {
                                    initialValue: userInfo.medSexID ? userInfo.medSexID : undefined,
                                })(
                                    <Select style={{width: '100%'}} showSearch optionFilterProp="seatchprop" allowClear>
                                        {medSexIDOption}
                                    </Select>
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedAgeFrom ? ChineseEnglishSize.DrugMaintenancemedAgeFrom.descripts:'年龄从'} {...formItemItem}>
                                {getFieldDecorator('medAgeFrom', {
                                    initialValue: userInfo.medAgeFrom ? userInfo.medAgeFrom : undefined,
                                })(
                                    <Input style={{width: '100%'}} type="number" className="input-number" />
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedAgeTo ? ChineseEnglishSize.DrugMaintenancemedAgeTo.descripts:'年龄到'} {...formItemItem}>
                                {getFieldDecorator('medAgeTo', {
                                    initialValue: userInfo.medAgeTo ? userInfo.medAgeTo : undefined,
                                })(
                                    <Input style={{width: '100%'}} type="number" className="input-number" />
                                )}
                            </FormItem>
                        </Col>
                    </Row>
                    <Row>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedMessage ? ChineseEnglishSize.DrugMaintenancemedMessage.descripts:'医嘱提示'} {...formItemItem}>
                                {getFieldDecorator('medMessage', {
                                    initialValue: userInfo.medMessage ? userInfo.medMessage : undefined,
                                })(
                                    <Input style={{width: '100%'}} />
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenanceMaxDurQty ? ChineseEnglishSize.DrugMaintenanceMaxDurQty.descripts:'最大疗程数'} {...formItemItem}>
                                {getFieldDecorator('maxDurQty', {
                                    initialValue: userInfo.maxDurQty ? userInfo.maxDurQty : undefined,
                                })(
                                    <Input style={{width: '100%'}} type="number" className="input-number" />
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedNoChangeFlag ? ChineseEnglishSize.DrugMaintenancemedNoChangeFlag.descripts:'是否收费'} {...formItemCheckbox}>
                                {getFieldDecorator('medNoChangeFlag', {
                                    valuePropName: 'checked',
                                    initialValue: userInfo.medNoChangeFlag === 'Y' ? true : false,
                                })(
                                    language.language == 'EN' ?  <Switch checkedChildren="Yes" unCheckedChildren="No" /> :  <Switch checkedChildren="是" unCheckedChildren="否" />
                                )}
                            </FormItem>
                        </Col>
                    </Row>
                    <Row>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedMergeUseFlag ? ChineseEnglishSize.DrugMaintenancemedMergeUseFlag.descripts:'是否合并用药'} {...formItemCheckbox}>
                                {getFieldDecorator('medMergeUseFlag', {
                                    valuePropName: 'checked',
                                    initialValue: userInfo.medMergeUseFlag === 'Y' ? true : false,
                                })(
                                    language.language == 'EN' ?  <Switch checkedChildren="Yes" unCheckedChildren="No" /> :  <Switch checkedChildren="是" unCheckedChildren="否" />
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedEMFlag ? ChineseEnglishSize.DrugMaintenancemedEMFlag.descripts:'是否加急标志'} {...formItemCheckbox}>
                                {getFieldDecorator('medEMFlag', {
                                    valuePropName: 'checked',
                                    initialValue: userInfo.medEMFlag === 'Y' ? true : false,
                                })(
                                    language.language == 'EN' ?  <Switch checkedChildren="Yes" unCheckedChildren="No" /> :  <Switch checkedChildren="是" unCheckedChildren="否" />
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedPrivateFlag ? ChineseEnglishSize.DrugMaintenancemedPrivateFlag.descripts:'是否为私有标志'} {...formItemCheckbox}>
                                {getFieldDecorator('medPrivateFlag', {
                                    valuePropName: 'checked',
                                    initialValue: userInfo.medPrivateFlag === 'Y' ? true : false,
                                })(
                                    language.language == 'EN' ?  <Switch checkedChildren="Yes" unCheckedChildren="No" /> :  <Switch checkedChildren="是" unCheckedChildren="否" />
                                )}
                            </FormItem>
                        </Col>
                    </Row>
                    <Row>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedSkinTestFlag ? ChineseEnglishSize.DrugMaintenancemedSkinTestFlag.descripts:'是否需要皮试'} {...formItemCheckbox}>
                                {getFieldDecorator('medSkinTestFlag', {
                                    valuePropName: 'checked',
                                    initialValue: userInfo.medSkinTestFlag === 'Y' ? true : false,
                                })(
                                    language.language == 'EN' ?  <Switch checkedChildren="Yes" unCheckedChildren="No" /> :  <Switch checkedChildren="是" unCheckedChildren="否" />
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedToalCountO ? ChineseEnglishSize.DrugMaintenancemedToalCountO.descripts:'门诊是否按总量'} {...formItemCheckbox}>
                                {getFieldDecorator('medToalCountO', {
                                    valuePropName: 'checked',
                                    initialValue: userInfo.medToalCountO === 'N' ? false : true,
                                })(
                                    language.language == 'EN' ?  <Switch checkedChildren="Yes" unCheckedChildren="No" /> :  <Switch checkedChildren="是" unCheckedChildren="否" />
                                )}
                            </FormItem>
                        </Col>
                        <Col span={8}>
                            <FormItem label={ChineseEnglishSize.DrugMaintenancemedToalCountI ? ChineseEnglishSize.DrugMaintenancemedToalCountI.descripts:'住院是否按总量'} {...formItemCheckbox}>
                                {getFieldDecorator('medToalCountI', {
                                    valuePropName: 'checked',
                                    initialValue: userInfo.medToalCountI === 'Y' ? true : false,
                                })(
                                    language.language == 'EN' ?  <Switch checkedChildren="Yes" unCheckedChildren="No" /> :  <Switch checkedChildren="是" unCheckedChildren="否" />
                                )}
                            </FormItem>
                        </Col>
                    </Row>
                </Form>
                <Modal
                    title={ChineseEnglishSize.MaterialInventoryItemMaintenangetMaxCode ? ChineseEnglishSize.MaterialInventoryItemMaintenangetMaxCode.descripts:'获取最大代码'}
                    visible={this.state.visible}
                    onCancel={this.handleCancel}
                    width={400}
                    footer={null}
                >
                    <div>
                        <Row style={{marginBottom: '24px'}}>
                            <Row>
                                <Col span={21}>
                                    <FormItem {...formItemItemPopup} label={ChineseEnglishSize.MaterialInventoryItemMaintenanprefix ? ChineseEnglishSize.MaterialInventoryItemMaintenanprefix.descripts:'前缀'}>
                                        {getFieldDecorator('ADAEprefix',{
                                            initialValue: 'XYS',
                                        })(
                                            <Input />
                                        ) }
                                    </FormItem>
                                </Col>
                            </Row>
                            <Row>
                                <Col span={21}>
                                    <FormItem {...formItemItemPopup} label={ChineseEnglishSize.MaterialInventoryItemMaintenanstkSubCatID ? ChineseEnglishSize.MaterialInventoryItemMaintenanstkSubCatID.descripts:'医嘱子类'}>
                                        {getFieldDecorator('medSubCatIDADAE',{
                                            initialValue:undefined,
                                            rules:[{ required : false, message: '医嘱子类不能为空'}]
                                        })(
                                            <Select allowClear style={{width: '100%'}}>
                                                {medSubCatIDOption}
                                            </Select>
                                        ) }
                                    </FormItem>
                                </Col>
                            </Row>
                        </Row>
                        <Row style={{textAlign: 'center'}}>
                            <Button onClick={this.saveMaxInventory} style={{background: 'rgba(255,255,255,1)'}}>{ChineseEnglishSize.MaterialInventoryItemMaintenandetermine ? ChineseEnglishSize.MaterialInventoryItemMaintenandetermine.descripts:'确认'}</Button>
                        </Row>
                    </div>
                </Modal>
            </Card>
        )
    }
};
let ADAEssentialInformationForm = Form.create()(ADAEssentialInformation);
export default ADAEssentialInformationForm;