@@ -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/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"
};
});
}