release/2.14.3.2406.01-个税

This commit is contained in:
黎永顺 2024-05-29 11:07:05 +08:00
parent 0b4b7b28ea
commit 1935a552df
3 changed files with 9 additions and 5 deletions

View File

@ -32,7 +32,10 @@ class EmployeeDeclareDetailSchemaEditDialog extends Component {
componentWillReceiveProps(nextProps, nextContext) { componentWillReceiveProps(nextProps, nextContext) {
if (nextProps.visible !== this.props.visible && nextProps.visible) this.employeedeclareGetForm(nextProps); if (nextProps.visible !== this.props.visible && nextProps.visible) this.employeedeclareGetForm(nextProps);
if (nextProps.visible !== this.props.visible && !nextProps.visible) this.employeeChangeInfo = {}; if (nextProps.visible !== this.props.visible && !nextProps.visible) {
this.props.employeeDeclareStore.initDeclareForm()
this.employeeChangeInfo = {};
}
} }
employeedeclareGetForm = async (props) => { employeedeclareGetForm = async (props) => {

View File

@ -421,7 +421,7 @@ export const declareConditions = [
label: "是否残疾", label: "是否残疾",
lanId: 111, lanId: 111,
labelcol: 6, labelcol: 6,
value: "", value: "OFF",
viewAttr: 2, viewAttr: 2,
detailtype: 3, detailtype: 3,
options: [] options: []
@ -445,7 +445,7 @@ export const declareConditions = [
label: "是否孤老", label: "是否孤老",
lanId: 111, lanId: 111,
labelcol: 6, labelcol: 6,
value: "", value: "OFF",
viewAttr: 2, viewAttr: 2,
detailtype: 3, detailtype: 3,
options: [] options: []
@ -458,7 +458,7 @@ export const declareConditions = [
label: "是否是烈属", label: "是否是烈属",
lanId: 111, lanId: 111,
labelcol: 6, labelcol: 6,
value: "", value: "OFF",
viewAttr: 2, viewAttr: 2,
detailtype: 3, detailtype: 3,
options: [] options: []
@ -482,7 +482,7 @@ export const declareConditions = [
label: "是否扣除减除费用", label: "是否扣除减除费用",
lanId: 111, lanId: 111,
labelcol: 6, labelcol: 6,
value: "", value: "ON",
viewAttr: 2, viewAttr: 2,
detailtype: 3, detailtype: 3,
options: [] options: []

View File

@ -6,6 +6,7 @@ const { TableStore } = WeaTableNew;
export class EmployeeDeclareStore { export class EmployeeDeclareStore {
@observable advanceForm = new WeaForm(); //人员信息报送详情页面高级搜索form实例 @observable advanceForm = new WeaForm(); //人员信息报送详情页面高级搜索form实例
@observable declareForm = new WeaForm(); //人员信息报送详情页面新增编辑报送信息form实例 @observable declareForm = new WeaForm(); //人员信息报送详情页面新增编辑报送信息form实例
@action initDeclareForm = () => this.declareForm = new WeaForm();
@observable tableStore = new TableStore(); @observable tableStore = new TableStore();
@action("...") @action("...")