产品-个税对接

This commit is contained in:
黎永顺 2023-08-10 14:07:18 +08:00
parent 67d17fcbee
commit d43b31a5c2
1 changed files with 47 additions and 5 deletions

View File

@ -5,29 +5,71 @@
* Date: 2023/7/24
*/
import React, { Component } from "react";
import { WeaInputSearch, WeaLocaleProvider, WeaTop } from "ecCom";
import { WeaInputSearch, WeaLocaleProvider, WeaTable, WeaTop } from "ecCom";
import { Col, Row } from "antd";
import TipLabel from "../../components/TipLabel";
const { getLabel } = WeaLocaleProvider;
class Index extends Component {
constructor(props) {
super(props);
this.state = {
pageInfo: { current: 1, pageSize: 10, total: 0 },
loading: false
};
}
render() {
const { pageInfo } = this.state;
const tipList = [
getLabel(111, "1、点击查看详情管理各个个税扣缴义务人的人员报送信息如购买了在线报送服务可在线报送如未购买在线报送服务也可导出数据线下报送。")
getLabel(544290, "1、点击查看详情管理各个个税扣缴义务人的人员报送信息如购买了在线报送服务可在线报送如未购买在线报送服务也可导出数据线下报送。")
];
return (
<WeaTop
title={getLabel(111, "人员信息报送")} iconBgcolor="#F14A2D"
title={getLabel(544289, "人员信息报送")} iconBgcolor="#F14A2D"
icon={<i className="icon-coms-fa"/>}
buttons={[
<WeaInputSearch placeholder={getLabel(111, "请输入个税扣缴义务人名称")}
<WeaInputSearch placeholder={getLabel(543634, "请输入个税扣缴义务人名称")}
/>
]}
>
<div style={{ height: "100%", background: "#f6f6f6", padding: 16 }}>
<Row gutter={16}>
<Col span={16}></Col>
<Col span={16}>
<WeaTable
columns={[
{
title: getLabel(537996, "个税扣缴义务人"),
dataIndex: "taxAgentName"
},
{
title: getLabel(30585, "操作"),
dataIndex: "operate",
width: 260,
render: () => (<a href="javascript: void(0);">{getLabel(83110, "查看详情")}</a>)
}
]}
dataSource={[]}
pagination={{
...pageInfo,
showTotal: total => `${getLabel(18609, "共")} ${total} ${getLabel(18256, "条")}`,
showQuickJumper: true,
showSizeChanger: true,
pageSizeOptions: ["10", "20", "50", "100"],
onShowSizeChange: (current, pageSize) => {
this.setState({
pageInfo: { ...pageInfo, current, pageSize }
});
},
onChange: current => {
this.setState({
pageInfo: { ...pageInfo, current }
});
}
}}
/>
</Col>
<Col span={8}><TipLabel tipList={tipList}/></Col>
</Row>
</div>