薪酬报表修复

This commit is contained in:
黎永顺 2024-03-07 10:10:04 +08:00
parent dbc68102dd
commit d1f8f5d9aa
2 changed files with 7 additions and 2 deletions

View File

@ -35,3 +35,8 @@ export const getDetailChanges = params => {
};
return postFetch("/api/bs/hrmsalary/elog/getDetailChanges", payload);
};
//获取薪资账套全列表
export const getSalarysobListAll = params => {
return postFetch("/api/bs/hrmsalary/salarysob/listAll", params);
};

View File

@ -31,7 +31,7 @@ import {
} from "../../../apis/statistics";
import { commonEnumList } from "../../../apis/ruleconfig";
import { getTaxAgentSelectList } from "../../../apis/taxAgent";
import { getPayrollTemplateLedgerList } from "../../../apis/payroll";
import { getSalarysobListAll } from "../../../apis";
import { condition } from "./condition";
import cs from "classnames";
import "../index.less";
@ -70,7 +70,7 @@ class StatisticalMicroSettingsSlide extends Component {
}
getTaxAgentSelectList = async (props) => {
const { data: salarySobList } = await getPayrollTemplateLedgerList();
const { data: salarySobList } = await getSalarysobListAll();
getTaxAgentSelectList(true).then(({ status, data }) => {
if (status) {
const conditions = _.map(condition, item => {