@@ -81,6 +78,7 @@ export default class OtherForm extends React.Component {
其他福利起始缴纳月:
this.handleFormChange({ otherStartTime: value })}
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/socialSecurityForm.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/socialSecurityForm.js
index 8e4ab2fb..f3329fc9 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/socialSecurityForm.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/archives/socialSecurityForm.js
@@ -1,13 +1,11 @@
import React from "react";
import GroupCard from "../../../components/groupCard";
-import { Col, Row, Select } from "antd";
+import { Col, Row } from "antd";
import { WeaCheckbox, WeaDatePicker, WeaInput, WeaInputNumber, WeaSelect } from "ecCom";
import { inject, observer } from "mobx-react";
import cs from "classnames";
import "./index.less";
-const { Option } = Select;
-
@inject("archivesStore")
@observer
export default class SocialSecurityForm extends React.Component {
@@ -26,8 +24,8 @@ export default class SocialSecurityForm extends React.Component {
let form = { ...socialSecurityForm };
form.data = request;
setSocialSecurityForm(form);
- Object.keys(params).length>1 &&
- onChangeRecordSchemeId(params.socialSchemeId)
+ Object.keys(params).length > 1 &&
+ onChangeRecordSchemeId(params.socialSchemeId);
}
// 获取基数表单
@@ -79,9 +77,12 @@ export default class SocialSecurityForm extends React.Component {
社保起始缴纳月:
this.handleFormChange({ socialStartTime: value })}
+ onChange={value => {
+ this.handleFormChange({ socialStartTime: value });
+ }}
/>
社保方案名称:
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.js
index 5ae02de4..78aefbbb 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.js
@@ -322,7 +322,7 @@ export default class StandingBook extends React.Component {
this.setState({
progressVisible: false,
progress: 0
- },()=>{
+ }, () => {
message.success("核算成功");
this.handleClose();
this.getCommonList({
@@ -445,7 +445,7 @@ export default class StandingBook extends React.Component {
>
} // 左侧图标
+ icon={} // 左侧图标
iconBgcolor="#F14A2D" // 左侧图标背景色
buttons={showOperateBtn ? rightBtns : []}
// showDropIcon={true} // 是否显示下拉按钮
@@ -477,10 +477,11 @@ export default class StandingBook extends React.Component {
columns={_.filter(columns, (it) => it.dataIndex !== "id").map(item => {
item.width = "150px";
if (item.dataIndex === "billMonth") item.fixed = "left";
+ if (item.dataIndex === "action") return { ...item };
return {
...item,
render: (text) => {
- return {text}
+ return {text};
}
};
})}
diff --git a/pc4mobx/hrmSalary/stores/archives.js b/pc4mobx/hrmSalary/stores/archives.js
index 0a4be119..b2df90d8 100644
--- a/pc4mobx/hrmSalary/stores/archives.js
+++ b/pc4mobx/hrmSalary/stores/archives.js
@@ -176,7 +176,7 @@ export class ArchivesStore {
_.map(baseList.items, item => {
obj = {
...obj,
- [item["domkey"][0]]: ""
+ [item["domkey"][0]]: "0"
};
});
}