feature/2.12.1.2403.02-个税-外籍人员信息报送
This commit is contained in:
parent
803f3305eb
commit
10af6ff5ae
|
|
@ -2,7 +2,7 @@ import { WeaLocaleProvider } from "ecCom";
|
|||
import { Modal } from "antd";
|
||||
|
||||
const { getLabel } = WeaLocaleProvider;
|
||||
export const confirmDialog = (type, callback) => {
|
||||
export const confirmDialog = (type, callback, reportType) => {
|
||||
let content = "";
|
||||
switch (type) {
|
||||
case "refresh":
|
||||
|
|
@ -15,7 +15,7 @@ export const confirmDialog = (type, callback) => {
|
|||
content = getLabel(111, "申报作废,只有申报成功,无需缴款/申报成功,未缴款的状态才能作废,当作废成功时,企业状态会变成未申报;当作废失败时,企业状态还是原来的未缴款或无需缴款的状态。");
|
||||
break;
|
||||
case "declare":
|
||||
content = getLabel(111, "解除劳动合同一次性补偿金、全年一次性奖金所得,不能单独申报,需要同正常工资薪金一起申报;解除劳动合同一次性补偿金、稿酬所得,由于税务规则需要,解除劳动合同一次性补偿金、稿酬所得必须填写免税附表。是否确认申报?");
|
||||
content = reportType === 1 ? getLabel(111, "解除劳动合同一次性补偿金、全年一次性奖金所得,不能单独申报,需要同正常工资薪金一起申报;解除劳动合同一次性补偿金、稿酬所得,由于税务规则需要,解除劳动合同一次性补偿金、稿酬所得必须填写免税附表。是否确认申报?") : getLabel(111, "确认申报?");
|
||||
break;
|
||||
default:
|
||||
break;
|
||||
|
|
|
|||
|
|
@ -353,7 +353,7 @@ class Index extends Component {
|
|||
let btns = [
|
||||
<Button type="primary" onClick={this.export}>{getLabel(17416, "导出")}</Button>,
|
||||
<Button type="ghost"
|
||||
onClick={() => confirmDialog("declare", () => this.handleOperateDeclare("declare", { reportType }))}
|
||||
onClick={() => confirmDialog("declare", () => this.handleOperateDeclare("declare", { reportType }), reportType)}
|
||||
loading={loading.declare}>{getLabel(111, "在线申报")}</Button>,
|
||||
<Button type="ghost" onClick={() => confirmDialog("refresh", () => this.handleOperateDeclare("refresh"))}
|
||||
loading={loading.refresh}>{getLabel(111, "刷新数据")}</Button>
|
||||
|
|
|
|||
Loading…
Reference in New Issue