diff --git a/pc4mobx/hrmSalary/pages/declareDetail/confirm.js b/pc4mobx/hrmSalary/pages/declareDetail/confirm.js index a64db297..39c6c2d5 100644 --- a/pc4mobx/hrmSalary/pages/declareDetail/confirm.js +++ b/pc4mobx/hrmSalary/pages/declareDetail/confirm.js @@ -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; diff --git a/pc4mobx/hrmSalary/pages/declareDetail/index.js b/pc4mobx/hrmSalary/pages/declareDetail/index.js index 9eaa17fe..cc3d071d 100644 --- a/pc4mobx/hrmSalary/pages/declareDetail/index.js +++ b/pc4mobx/hrmSalary/pages/declareDetail/index.js @@ -353,7 +353,7 @@ class Index extends Component { let btns = [ , ,