产品-工资单模板薪资项目名称修改

This commit is contained in:
黎永顺 2023-08-01 16:03:48 +08:00
parent 6fd55967bd
commit a433de7671
2 changed files with 14 additions and 4 deletions

View File

@ -6,7 +6,7 @@
*/
import React, { Component } from "react";
import { inject, observer } from "mobx-react";
import { WeaTab, WeaTable, WeaTop } from "ecCom";
import { WeaHelpfulTip, WeaLocaleProvider, WeaTab, WeaTable, WeaTop } from "ecCom";
import ExternalPersonManageEditSlide from "./components/externalPersonManageEditSlide";
import { Button, message, Modal } from "antd";
import { getSearchs } from "../../util";
@ -14,6 +14,8 @@ import { condition, searchCondition } from "./conditions";
import { deleteExtEmp, listPage } from "../../apis/externalPersonManage";
import "./index.less";
const getLabel = WeaLocaleProvider.getLabel;
@inject("externalPersonManageStore", "taxAgentStore")
@observer
class Index extends Component {
@ -132,8 +134,18 @@ class Index extends Component {
<div className="externalPerCont">
<WeaTab
buttons={(showOperateBtn || showSalaryItemBtn) ? [
<WeaHelpfulTip
title={getLabel(111, "非系统人员,且需要缴纳社保福利以及代发工资的人员,需在本表维护人员信息")}
placement="topRight"
/>,
<Button type="ghost">{getLabel(32935, "导入")}</Button>,
<Button type="primary" onClick={() => this.handleAdd()}>新建</Button>
] : []}
] : [
<WeaHelpfulTip
title={getLabel(111, "非系统人员,且需要缴纳社保福利以及代发工资的人员,需在本表维护人员信息")}
placement="topRight"
/>
]}
searchType={["base", "advanced"]} showSearchAd={showSearchAd}
setShowSearchAd={(showSearchAd) => this.setState({ showSearchAd })}
searchsAd={getSearchs(form, searchCondition, 2)}

View File

@ -217,8 +217,6 @@ class SalaryItemSettings extends Component {
}
};
handleEditSalaryItemName = (item, field, viewAttr) => {
//暂时关闭
return
const { groupId } = item, { salaryItemId } = field, { dataList } = this.state;
if (groupId === "111111111111111111") return;
this.setState({