调差功能

This commit is contained in:
黎永顺 2022-12-05 14:28:38 +08:00
parent 62cccbc7ac
commit a6150192f0
3 changed files with 43 additions and 9 deletions

View File

@ -266,6 +266,11 @@ export const getPaymentById = ({ id }) => {
mode: "cors", mode: "cors",
headers: { headers: {
"Content-Type": "application/json" "Content-Type": "application/json"
}, }
}).then(res => res.json()); }).then(res => res.json());
}; };
//获取调差列表
export const getCompensationList = (params) => {
return postFetch("/api/bs/hrmsalary/siaccount/compensationList", params);
};

View File

@ -6,17 +6,11 @@
*/ */
import React, { Component } from "react"; import React, { Component } from "react";
import { inject, observer } from "mobx-react"; import { inject, observer } from "mobx-react";
import { WeaSlideModal, WeaSteps } from "ecCom"; import { WeaButtonIcon, WeaSlideModal } from "ecCom";
import { Button } from "antd"; import { Button } from "antd";
import SlideModalTitle from "../../../../components/slideModalTitle"; import SlideModalTitle from "../../../../components/slideModalTitle";
import "./index.less"; import "./index.less";
const Step = WeaSteps.Step;
const tabs = [
{ key: 0, title: "基础设置" },
{ key: 1, title: "报税信息" },
{ key: 2, title: "人员范围" }
];
@inject("taxAgentStore") @inject("taxAgentStore")
@observer @observer
@ -28,7 +22,6 @@ class AdjustmentSlide extends Component {
loading: false, loading: false,
taxAgentId: "" taxAgentId: ""
}; };
this.taxInfoRef = null;
} }
componentWillReceiveProps(nextProps, nextContext) { componentWillReceiveProps(nextProps, nextContext) {
@ -38,6 +31,11 @@ class AdjustmentSlide extends Component {
renderCustomOperate = () => { renderCustomOperate = () => {
return [ return [
<WeaButtonIcon
buttonType="del"
type="primary"
/>,
<WeaButtonIcon buttonType="add" type="primary"/>,
<Button type="primary">保存全部</Button> <Button type="primary">保存全部</Button>
]; ];
}; };

View File

@ -96,3 +96,34 @@
//退差人员选择框 //退差人员选择框
.regSelectWrapper{ .regSelectWrapper{
} }
//调差抽屉
.adjustmentWrapper {
.wea-slide-modal-title {
height: initial;
line-height: initial;
text-align: left;
}
.rodal-close {
z-index: 99;
top: 10px !important;
}
}
@media (min-width: 1260px) {
.adjustmentWrapper {
.reqTopWrapper .wea-new-top-req-title > div:first-child > div {
max-width: 100% !important;
}
}
}
@media screen and (min-width: 1060px) and (max-width: 1260px) {
.adjustmentWrapper {
.reqTopWrapper .wea-new-top-req-title > div:first-child > div {
max-width: calc(100% - 96px) !important;
}
}
}