import React from "react"; import { WeaHelpfulTip, WeaDatePicker, WeaInput, WeaSelect } from "ecCom"; import { Modal, Row, Col, Button } from "antd"; import { inject, observer } from "mobx-react"; @inject("declareStore", "taxAgentStore") @observer export default class GenerateModal extends React.Component { constructor(props) { super(props); this.state = { date: "", taxAgentId: "", }; } // 生成申报表 handleGenerate() { const { declareStore: { saveDeclare }, } = this.props; const { date, taxAgentId } = this.state; saveDeclare({ salaryMonthStr: date, taxAgentId }).then(() => { this.props.onGenerate(); }); } render() { const { taxAgentStore: { taxAgentOption }, } = this.props; return ( this.props.onCancel()} width={800} footer={ }>
申报
薪资所属月 this.setState({ date: value })} /> {/* 扣缴义务人 { this.setState({ taxAgentId }); }} /> */}
); } }