From 80f61812194697afdaaed9a5953ee9f3fea9d7b8 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=BB=8E=E6=B0=B8=E9=A1=BA?= <971387674@qq.com> Date: Tue, 22 Nov 2022 10:54:59 +0800 Subject: [PATCH 001/165] =?UTF-8?q?=E4=B8=AA=E7=A8=8E=E6=89=A3=E7=BC=B4?= =?UTF-8?q?=E4=B9=89=E5=8A=A1=E4=BA=BA=E9=A1=B5=E9=9D=A2=E6=94=B9=E9=80=A0?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- pc4mobx/hrmSalary/index.js | 3 +- .../pages/salary/components/comHint.js | 42 +++++++++++++++++++ .../pages/salary/components/index.less | 24 +++++++++++ pc4mobx/hrmSalary/pages/salary/index.less | 7 ++++ pc4mobx/hrmSalary/pages/salary/taxAgent.js | 25 +++++++++++ 5 files changed, 100 insertions(+), 1 deletion(-) create mode 100644 pc4mobx/hrmSalary/pages/salary/components/comHint.js create mode 100644 pc4mobx/hrmSalary/pages/salary/components/index.less create mode 100644 pc4mobx/hrmSalary/pages/salary/index.less create mode 100644 pc4mobx/hrmSalary/pages/salary/taxAgent.js diff --git a/pc4mobx/hrmSalary/index.js b/pc4mobx/hrmSalary/index.js index 626b9ca2..fdfd4990 100644 --- a/pc4mobx/hrmSalary/index.js +++ b/pc4mobx/hrmSalary/index.js @@ -21,7 +21,8 @@ import PayrollGrant from "./pages/payroll/payrollGrant"; import PayrollDetail from "./pages/payroll/payrollDetail"; import Declare from "./pages/declare"; import TaxRate from "./pages/taxRate"; -import TaxAgent from "./pages/taxAgent"; +// import TaxAgent from "./pages/taxAgent"; +import TaxAgent from "./pages/salary/taxAgent"; import CalculateDetail from "./pages/calculateDetail"; import PlaceOnFileDetail from "./pages/calculateDetail/placeOnFileDetail"; import CompareDetail from "./pages/calculateDetail/compareDetail"; diff --git a/pc4mobx/hrmSalary/pages/salary/components/comHint.js b/pc4mobx/hrmSalary/pages/salary/components/comHint.js new file mode 100644 index 00000000..da3f5fb0 --- /dev/null +++ b/pc4mobx/hrmSalary/pages/salary/components/comHint.js @@ -0,0 +1,42 @@ +/* + * Author: 黎永顺 + * name: 个税扣缴义务人小提示组件 + * Description: + * Date: 2022/11/22 + */ +import React, { Component } from "react"; +import "./index.less"; + +class ComHint extends Component { + /* + * Author: 黎永顺 + * Description: 提示语注释 + * Params: isChief=总管理员 + * Date: 2022/11/22 + */ + renderTips = () => { + const { isChief = true } = this.props; + if (isChief) { + return [ +
1、个税扣缴义务人与档案中的个税扣缴义务人匹配,修改个税扣缴义务人名称,薪资档案的个税扣缴义务人数据同步更新;
, +2、删除个税扣缴义务人需先确认档案里无人员使用该个税扣缴义务人,否则不予删除;
, +3、开启分权,需维护个税扣缴义务人的管理员;当前总管理员默认有管理员的权限;
+ ]; + } else { + return []; + } + }; + + render() { + return ( +
+ {getLabel(543203, "点击或将文件拖拽到此区域上传")} {getLabel(543204, "支持单个或批量上传,严禁上传公司内部资料及其他违禁文件")}
+ {`1. ${getLabel(30907, "第一步")},${getLabel(543205, "请选择导出的Excel文件或")}`} + {getLabel(543207, "点击这里下载模板")} +
+{`2. ${getLabel(543211, "第二步")},${getLabel(543212, "请一定要确定Excel文档中的格式是模板中的格式")},${getLabel(543213, "没有被修改掉")};`}
+{`3. ${getLabel(543216, "第三步")},${getLabel(543215, "选择填写好的Excel文档")},${getLabel(543214, "点击“下一步”按钮进行数据预览")};`}
++ {`4. ${getLabel(543217, "第四步")},${getLabel(543218, "如果以上步骤和Excel文档正确的话")},${getLabel(543219, "导入成功会有提示")},${getLabel(543220, "数据会被正确导入")}。${getLabel(543221, "如果有问题")},${getLabel(543222, "则会提示Excel文档的错误之处")}。`} +
+{`1. ${getLabel(543224, "后缀名为xls或者xlsx")};`}
+{`2. ${getLabel(543225, "数据请勿放在合并的单元格中")};`}
+{`3. ${getLabel(543226, "账单月份格式必须为")}:YYYY-MM;`}
++ {getLabel(389249, "已导入")} + {importResult.successCount} + {`${getLabel(30690, "条数据")},${getLabel(25009, "失败")}`} + {importResult.errorCount} {getLabel(30690, "条数据")} +
+{getLabel(111, "导入失败")}
+{getLabel(83553, "暂无数据")}
+{getLabel(83553, "暂无数据")}
-{getLabel(83553, "暂无数据")}
+{getLabel(83553, "暂无数据")}
+{enterprisePayCertifiTipMsg || getLabel(111, "暂无企业完税证明相关信息")}
+8dN-)|hhmU+smvpY-=a
z^qRzwIRLSOMn|DBG|j5=gM5W71yCwzR3I$|aYItH3fYv5>d=SD8lxPL_9On-Rg^ktlfEx8e-4(ycpD}!4k;wV
zmBwJ34&f5i=Ed#QykkQfXA%}&M86l_$G40E3yP?}uod%NABI)0xwQJ5Fy_lOy!_yA
z>J(KPcNJ#;_RKsNk$^uhDf=4f@Ge(q0HcAi(BhR