From 10af6ff5aea9b9d7359d88bd8896c955f83f4ac2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Wed, 10 Apr 2024 16:06:45 +0800 Subject: [PATCH] =?UTF-8?q?feature/2.12.1.2403.02-=E4=B8=AA=E7=A8=8E-?= =?UTF-8?q?=E5=A4=96=E7=B1=8D=E4=BA=BA=E5=91=98=E4=BF=A1=E6=81=AF=E6=8A=A5?= =?UTF-8?q?=E9=80=81?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/pages/declareDetail/confirm.js | 4 ++-- pc4mobx/hrmSalary/pages/declareDetail/index.js | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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 = [ , ,