import React,{Component} from "react"; import {Modal, Form, Row, Col, Tabs, Table, Spin, message, Button} from "antd"; import $ from "jquery/src/ajax"; import ReminderLog from './reminderLog'; const FormItem = Form.Item; const TabPane = Tabs.TabPane; const formItemLayout = { labelCol: { span: 10 }, wrapperCol: { span: 14 }, }; class PatentDetails extends Component{ constructor(props) { super(props); this.state={ columns:[ { title: "序号", dataIndex: "key", key: "key", }, { title: "费用种类", dataIndex: "status", key: "status", }, { title: "金额", dataIndex: "patentAmount", key: "patentAmount", }, { title: "缴费日", dataIndex: "createTime", key: "createTime", }, ], dataSource:[], loading:false, detailsInfor:{}, } this.payLoadData = this.payLoadData.bind(this); } componentDidMount() { this.payLoadData(); } payLoadData() { this.setState({ loading: true, }); const {detailsInfor} = this.props; $.ajax({ method: "get", dataType: "json", crossDomain: false, url: globalConfig.context + "/api/admin/patentNew/patentPaymentDetails", data: { id:detailsInfor.id }, success: function (data) { if(data.error.length === 0){ for(let i =0;i
{detailsInfor.patentNo} {detailsInfor.name} { detailsInfor.type === 0 ? '发明专利': detailsInfor.type === 1 ? '实用新型': detailsInfor.type === 2 ? '外观设计': '' } {detailsInfor.applyDates} {detailsInfor.authorizationDates} {detailsInfor.authorizationDates} {detailsInfor.delayingAmount} {detailsInfor.recoveryAmount} { detailsInfor.annualFeeStatus === 0 ? '无代缴' : detailsInfor.annualFeeStatus === 1 ? '已代缴' : '' }
{ detailsInfor.salesmanRemind === 0 ? '未提醒' : detailsInfor.salesmanRemind === 1 ? '已提醒' : '' }
{this.state.visible ? { this.setState({ visible: false, id: undefined, }) }} /> : null} ) } } export default PatentDetails;