@@ -156,7 +156,11 @@ class Index extends Component {
-
+ {
+ !detail &&
+
+ }
}
@@ -185,8 +189,29 @@ class Index extends Component {
payrollStore: {
initPayrollTempForm, initPayrollTempFeedbackForm, setSalaryBillItemNameSetting,
initPayrollTempNormalForm, setTmplDataSource, hasBeenModify
- }, onClose
+ }, onClose, detail
} = this.props;
+ if (detail) {
+ initPayrollTempForm();
+ initPayrollTempFeedbackForm();
+ initPayrollTempNormalForm();
+ setTmplDataSource({});
+ setSalaryBillItemNameSetting([
+ {
+ salaryTemplateId: "",
+ salaryBillType: 0,
+ itemShowNameSetting: []
+ },
+ {
+ salaryTemplateId: "",
+ salaryBillType: 1,
+ itemShowNameSetting: []
+ }
+ ]);
+ this.setState({ current: 0 });
+ onClose(type);
+ return;
+ }
if (hasBeenModify) {
Modal.confirm({
title: getLabel(131329, "信息确认"),
diff --git a/pc4mobx/hrmSalary/pages/payrollRelease/index.less b/pc4mobx/hrmSalary/pages/payrollRelease/index.less
index 245c991f..634a44e4 100644
--- a/pc4mobx/hrmSalary/pages/payrollRelease/index.less
+++ b/pc4mobx/hrmSalary/pages/payrollRelease/index.less
@@ -27,6 +27,7 @@
.salary-payroll-content {
padding: 8px 16px;
height: 100%;
+ overflow-y: auto;
& > .wea-search-group {
background: #FFF;
@@ -157,7 +158,7 @@
margin-left: 10px;
position: absolute;
top: 25%;
- right: -208px;
+ right: -262px;
margin-top: -2px;
.sftv-item {
diff --git a/pc4mobx/hrmSalary/pages/ruleConfig/conditions.js b/pc4mobx/hrmSalary/pages/ruleConfig/conditions.js
index bb22f65e..6bc04d8c 100644
--- a/pc4mobx/hrmSalary/pages/ruleConfig/conditions.js
+++ b/pc4mobx/hrmSalary/pages/ruleConfig/conditions.js
@@ -196,6 +196,16 @@ export const conditions = [
options: [],
labelcol: 8,
viewAttr: 2
+ },
+ {
+ conditionType: "SELECT",
+ domkey: ["SALARY_DETAILS_REPORT_SHOW_TYPE"],
+ fieldcol: 10,
+ label: "薪资明细显示模式",
+ lanId: 111,
+ options: [],
+ labelcol: 8,
+ viewAttr: 2
}
],
title: "薪资报表",
diff --git a/pc4mobx/hrmSalary/pages/ruleConfig/ruleConfig.js b/pc4mobx/hrmSalary/pages/ruleConfig/ruleConfig.js
index 8c56b847..8504f501 100644
--- a/pc4mobx/hrmSalary/pages/ruleConfig/ruleConfig.js
+++ b/pc4mobx/hrmSalary/pages/ruleConfig/ruleConfig.js
@@ -51,6 +51,13 @@ class RuleConfig extends Component {
{ key: "1", showname: getLabel(111, "实时组织信息"), selected: false }
]
};
+ } else if (getKey(o) === "SALARY_DETAILS_REPORT_SHOW_TYPE") {
+ return {
+ ...o, options: [
+ { key: "0", showname: getLabel(111, "定制列"), selected: true },
+ { key: "1", showname: getLabel(111, "模板"), selected: false }
+ ]
+ };
} else if (getKey(o) === "OPEN_APPLICATION_ENCRYPT") {
return { ...o, viewAttr: sysinfo.showEncryptOperationButton === "true" ? 2 : 1 };
} else if (getKey(o) === "taxDeclarationFunction") {
@@ -78,7 +85,7 @@ class RuleConfig extends Component {
form.updateFields({ [item]: { value: sysinfo["salaryAcctEmployeeRule"] || "" } });
} else if (item === "taxDeclarationFunction") {
form.updateFields({ [item]: { value: sysinfo[item] === "0" ? "0" : (sysinfo[item] || "1") } });
- } else if (item === "REPORT_ORGANIZATIN_TYPE") {
+ } else if (item === "REPORT_ORGANIZATIN_TYPE" || item === "SALARY_DETAILS_REPORT_SHOW_TYPE") {
form.updateFields({ [item]: { value: sysinfo[item] === "0" ? "0" : (sysinfo[item] || "0") } });
} else if (item === "taxAgentShowStatus" || item === "salaryShowStatus" || item === "adjustShowStatus") {
form.updateFields({ [item]: { value: sysinfo[item] || "1" } });
@@ -128,6 +135,7 @@ class RuleConfig extends Component {
case "salaryShowStatus":
case "adjustShowStatus":
case "REPORT_ORGANIZATIN_TYPE":
+ case "SALARY_DETAILS_REPORT_SHOW_TYPE":
if (!this.handleDebounce) {
this.handleDebounce = _.debounce(() => {
const confTitle = {
@@ -138,7 +146,8 @@ class RuleConfig extends Component {
taxAgentShowStatus: getLabel(111, "显示【个税扣缴义务人】信息"),
salaryShowStatus: getLabel(111, "显示工资单页签"),
adjustShowStatus: getLabel(111, "显示调薪记录页签"),
- REPORT_ORGANIZATIN_TYPE: getLabel(111, "组织信息")
+ REPORT_ORGANIZATIN_TYPE: getLabel(111, "组织信息"),
+ SALARY_DETAILS_REPORT_SHOW_TYPE: getLabel(111, "薪资明细显示模式")
};
this.unifiedSettings(key, confTitle[key]);
this.handleDebounce = null;
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordQuery.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordQuery.js
index 16dd0855..4a702b64 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordQuery.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/components/welfareRecordQuery.js
@@ -16,17 +16,13 @@ import moment from "moment";
const getLabel = WeaLocaleProvider.getLabel;
const getKey = WeaTools.getKey;
-@inject("standingBookStore")
-@observer
+@inject("standingBookStore") @observer
class WelfareRecordQuery extends Component {
constructor(props) {
super(props);
this.state = {
conditions: [],
- dateRange: [
- moment(new Date()).subtract(1, "year").startOf("year").format("YYYY-MM"),
- moment(new Date()).endOf("year").format("YYYY-MM")
- ]
+ dateRange: [moment(new Date()).subtract(1, "year").startOf("year").format("YYYY-MM"), moment(new Date()).endOf("year").format("YYYY-MM")]
};
}
@@ -36,8 +32,7 @@ class WelfareRecordQuery extends Component {
this.setState({
conditions: _.map(welfareRQConditions, item => {
return {
- ...item,
- items: _.map(item.items, o => {
+ ...item, items: _.map(item.items, o => {
if (getKey(o) === "taxAgents") {
return { ...o, options: _.map(data, g => ({ key: g.id.toString(), showname: g.name })) };
}
@@ -63,28 +58,22 @@ class WelfareRecordQuery extends Component {
let items = [];
c.items.map(fields => {
items.push({
- com: (
-
-
- )
+ com: (
+
+ )
});
});
- group.push(
-
- this.setState({ dateRange: v }, () => this.getWelfareRecordList())}/>
- )
- },
- ...items
- ]}
- />);
+ group.push(
+ this.setState({ dateRange: v }, () => this.getWelfareRecordList())}/>
+ )
+ }, ...items]}
+ />);
});
return group;
};
@@ -101,9 +90,7 @@ class WelfareRecordQuery extends Component {
render() {
const { standingBookStore: { welfareRQForm } } = this.props;
const { conditions } = this.state;
- return (
- {this.renderForm(welfareRQForm, conditions)}
- );
+ return ({this.renderForm(welfareRQForm, conditions)}
);
}
}
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.less b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.less
index 38dae0ed..8da302a1 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.less
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/index.less
@@ -57,24 +57,22 @@
//社保福利台账页面重构
.salary-welfare-record {
- min-width: 1000px;
- overflow: auto;
- width: 100%;
- height: 100%;
- background: #f6f6f6;
-
.salary-welfare-record-content {
width: 100%;
height: 100%;
- padding: 8px 16px;
+ padding: 8px 16px 0 16px;
+ background: #F6F6F6;
display: flex;
flex-direction: column;
.salary-welfare-record-query {
width: 100%;
+ padding: 0 8px;
+ margin-bottom: 8px;
height: 46px;
display: flex;
align-items: center;
+ background: #FFF;
.wea-search-group {
width: 100%;
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/standingBook.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/standingBook.js
index f4089c44..80083d56 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/standingBook.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBook/standingBook.js
@@ -123,50 +123,45 @@ class StandingBook extends Component {
const rightBtns = [];
- return (
-
-
}
- iconBgcolor="#F14A2D" buttons={showOperateBtn ? rightBtns : []}
- showDropIcon onDropMenuClick={this.onDropMenuClick}
- dropMenuDatas={[
- {
- key: "log", icon:
,
- content: getLabel(545781, "操作日志")
- }
- ]}
- >
-
- {
- this.setState({
- queryForm: { ...queryForm, ...payload }
- }, () => this.wfListRef.wrappedInstance.getWelfareRecordList());
- }}
- onPutAccountOptions={options => this.setState({ accountDialog: { ...accountDialog, options } })}
- />
- this.wfListRef = dom} queryForm={queryForm}
- onFilterLog={(type, targetid) => this.onDropMenuClick(type, targetid)}/>
-
-
this.setState({
- accountDialog: { ...accountDialog, visible: false, title: "", loading: false }
- })} onOk={this.handleAccount}
- />
- {/*操作日志*/}
- this.setState({ logDialogVisible: false })}/>
- {/*核算进度条*/}
- {
- this.state.progressVisible &&
- {
- this.setState({ progressVisible: false, progress: 0 }, () => clearInterval(this.timer));
- }}
- />
- }
-
+ return (}
+ iconBgcolor="#F14A2D" buttons={showOperateBtn ? rightBtns : []} className="salary-welfare-record"
+ showDropIcon onDropMenuClick={this.onDropMenuClick}
+ dropMenuDatas={[
+ {
+ key: "log", icon: ,
+ content: getLabel(545781, "操作日志")
+ }
+ ]}>
+
+ {
+ this.setState({
+ queryForm: { ...queryForm, ...payload }
+ }, () => this.wfListRef.wrappedInstance.getWelfareRecordList());
+ }}
+ onPutAccountOptions={options => this.setState({ accountDialog: { ...accountDialog, options } })}
+ />
+ this.wfListRef = dom} queryForm={queryForm}
+ onFilterLog={(type, targetid) => this.onDropMenuClick(type, targetid)}/>
- );
+ this.setState({
+ accountDialog: { ...accountDialog, visible: false, title: "", loading: false }
+ })} onOk={this.handleAccount}
+ />
+ {/*操作日志*/}
+ this.setState({ logDialogVisible: false })}/>
+ {/*核算进度条*/}
+ {
+ this.state.progressVisible &&
+ {
+ this.setState({ progressVisible: false, progress: 0 }, () => clearInterval(this.timer));
+ }}
+ />
+ }
+ );
}
}
diff --git a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regEditDetial.js b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regEditDetial.js
index b1271972..979cccc9 100644
--- a/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regEditDetial.js
+++ b/pc4mobx/hrmSalary/pages/socialSecurityBenefits/standingBookDetail/components/regEditDetial.js
@@ -62,7 +62,6 @@ class RegEditDetial extends Component {
otherComJson: {}
};
_.forEach(socialData.dataSource, item => {
- console.log(item)
if (item.personalPaymentAmount) {
payload["socialPerJson"][item["insuranceId"]] = toDecimal_n(item.personalPaymentAmount, item.personalPaymentAmountValidNum || 2);
}
@@ -164,7 +163,6 @@ class RegEditDetial extends Component {
const social = this.combinedData(socialSecurity, result);
const fund = this.combinedData(accumulationFund, result);
const other = this.combinedData(otherBenefits, result);
- console.log(social)
this.setState({
listMap: [
{
diff --git a/pc4mobx/hrmSalary/pages/taxAgent/addTaxAgentModal.js b/pc4mobx/hrmSalary/pages/taxAgent/addTaxAgentModal.js
index fae1b5c6..59ad23fa 100644
--- a/pc4mobx/hrmSalary/pages/taxAgent/addTaxAgentModal.js
+++ b/pc4mobx/hrmSalary/pages/taxAgent/addTaxAgentModal.js
@@ -21,10 +21,30 @@ export default class AddTaxAgentModal extends React.Component {
selectedKey: "EMPLOYEE",
checkboxValue: "",
checkAll: "0",
- ids: ""
+ ids: "",
+ idsName: ""
};
}
+ componentWillReceiveProps(nextProps, nextContext) {
+ if (nextProps.visible !== this.props.visible && nextProps.visible) {
+ if (!_.isEmpty(nextProps.scopeRecord)) {
+ const { employeeStatus } = nextProps;
+ const checked = _.map(employeeStatus, it => it.id);
+ const bool = _.every(checked, it => nextProps.scopeRecord.status.indexOf(it) !== -1);
+ this.setState({
+ selectedKey: nextProps.scopeRecord.targetType,
+ checkboxValue: nextProps.scopeRecord.status,
+ checkAll: bool ? "1" : "0",
+ ids: nextProps.scopeRecord.targetType === "SQL" ? nextProps.scopeRecord.target : String(nextProps.scopeRecord.targetId),
+ idsName: nextProps.scopeRecord.targetName
+ });
+ } else {
+ this.handleReset();
+ }
+ }
+ }
+
onCheckboxChange = (checkboxValue) => {
const { employeeStatus } = this.props;
const checked = _.map(employeeStatus, it => it.id);
@@ -45,7 +65,7 @@ export default class AddTaxAgentModal extends React.Component {
// 保存
handleSave = () => {
- const { onTaxAgentSave } = this.props;
+ const { onTaxAgentSave, scopeRecord } = this.props;
const { checkboxValue, ids, selectedKey } = this.state;
const payload = {
employeeStatus: checkboxValue.split(","),
@@ -67,21 +87,22 @@ export default class AddTaxAgentModal extends React.Component {
this.refs.weaError1.showError();
return;
}
- onTaxAgentSave && onTaxAgentSave(payload);
+ onTaxAgentSave && onTaxAgentSave({ ...payload, id: scopeRecord.id });
};
// 重置
handleReset = () => {
this.setState({
- selectedKey: "EMPLOYEE",
+ selectedKey: !_.isEmpty(this.props.scopeRecord) ? this.props.scopeRecord.targetType : "EMPLOYEE",
checkboxValue: "",
checkAll: "0",
- ids: ""
+ ids: "",
+ idsName: ""
});
};
render() {
- const { employeeStatus, targetTypeList, visible, onCancel, loading } = this.props;
+ const { employeeStatus, targetTypeList, visible, onCancel, loading, scopeRecord } = this.props;
return (
({
...it,
key: it.id,
@@ -130,11 +151,12 @@ export default class AddTaxAgentModal extends React.Component {
type={17}
viewAttr={3}
value={this.state.ids}
+ replaceDatas={[{ id: this.state.ids, name: this.state.idsName }]}
title={"人员选择"}
- isSingle={false}
+ isSingle={!_.isEmpty(scopeRecord)}
inputStyle={{ width: 200 }}
onChange={(ids, names, datas) => {
- this.setState({ ids });
+ this.setState({ ids, idsName: names });
}}
/>
@@ -148,11 +170,12 @@ export default class AddTaxAgentModal extends React.Component {
type={57}
viewAttr={3}
title="部门选择"
- isSingle={false}
+ isSingle={!_.isEmpty(scopeRecord)}
inputStyle={{ width: 200 }}
value={this.state.ids}
+ replaceDatas={[{ id: this.state.ids, name: this.state.idsName }]}
onChange={(ids, names, datas) => {
- this.setState({ ids });
+ this.setState({ ids, idsName: names });
}}
/>
@@ -166,11 +189,12 @@ export default class AddTaxAgentModal extends React.Component {
type={164}
viewAttr={3}
title={"分部选择"}
- isSingle={false}
+ isSingle={!_.isEmpty(scopeRecord)}
inputStyle={{ width: 200 }}
value={this.state.ids}
+ replaceDatas={[{ id: this.state.ids, name: this.state.idsName }]}
onChange={(ids, names, datas) => {
- this.setState({ ids });
+ this.setState({ ids, idsName: names });
}}
/>
@@ -184,11 +208,12 @@ export default class AddTaxAgentModal extends React.Component {
type={278}
viewAttr={3}
title={"岗位选择"}
- isSingle={false}
+ isSingle={!_.isEmpty(scopeRecord)}
value={this.state.ids}
+ replaceDatas={[{ id: this.state.ids, name: this.state.idsName }]}
inputStyle={{ width: 200 }}
onChange={(ids, names, datas) => {
- this.setState({ ids });
+ this.setState({ ids, idsName: names });
}}
/>
diff --git a/pc4mobx/hrmSalary/pages/taxAgent/personalScope.js b/pc4mobx/hrmSalary/pages/taxAgent/personalScope.js
index da0bd2bb..81e8fb55 100644
--- a/pc4mobx/hrmSalary/pages/taxAgent/personalScope.js
+++ b/pc4mobx/hrmSalary/pages/taxAgent/personalScope.js
@@ -8,6 +8,7 @@ import React, { Component } from "react";
import { message, Modal } from "antd";
import { inject, observer } from "mobx-react";
import SlideTaxagentUser from "./slideTaxagentUser";
+import { taxAgentRangeEdit } from "../../apis/taxAgent";
import "./index.less";
const personScopeWarrper = {};
@@ -199,7 +200,7 @@ export default class PersonalScope extends Component {
taxAgentRangeSave = (module) => {
const { taxAgentId } = this.props;
const { pageObj } = this.state;
- const { includeType } = module;
+ const { includeType, id } = module;
const { taxAgentRangeSave, taxAgentRangeExtSave } = this.props.taxAgentStore;
this.setState({ submitLoading: true });
if (includeType === "2") {
@@ -214,26 +215,25 @@ export default class PersonalScope extends Component {
}
});
} else {
- taxAgentRangeSave({ ...module, taxAgentId }).then(
- ({ status, errormsg }) => {
- this.setState({ submitLoading: false });
- if (status) {
- this.tagAgentRef.closeModal();
- message.success("新增成功");
- includeType == "1"
- ? this.getTaxAgentRangeListInclude({
- current: pageObj.current,
- pageSize: pageObj.pageSize
- })
- : this.getTaxAgentRangeListExclude({
- current: pageObj.current,
- pageSize: pageObj.pageSize
- });
- } else {
- message.error(errormsg || "新增失败");
- }
+ const API= id ? taxAgentRangeEdit : taxAgentRangeSave;
+ API({ ...module, taxAgentId }).then(({ status, errormsg }) => {
+ this.setState({ submitLoading: false });
+ if (status) {
+ this.tagAgentRef.closeModal();
+ message.success("操作成功");
+ includeType == "1"
+ ? this.getTaxAgentRangeListInclude({
+ current: pageObj.current,
+ pageSize: pageObj.pageSize
+ })
+ : this.getTaxAgentRangeListExclude({
+ current: pageObj.current,
+ pageSize: pageObj.pageSize
+ });
+ } else {
+ message.error(errormsg);
}
- );
+ });
}
};
@@ -285,7 +285,7 @@ export default class PersonalScope extends Component {
onTaxAngetSearch={({ targetName, targetWorkcode, tab }) => {
tab == "1"
? this.getTaxAgentRangeListInclude({ targetName, targetWorkcode })
- : tab == "0" ? this.getTaxAgentRangeListExclude({ targetName, targetWorkcode }):
+ : tab == "0" ? this.getTaxAgentRangeListExclude({ targetName, targetWorkcode }) :
this.taxAgentRangelistExt({ targetName, targetWorkcode });
}}
onChangeTab={(tab) => {
diff --git a/pc4mobx/hrmSalary/pages/taxAgent/slideTaxagentUser.js b/pc4mobx/hrmSalary/pages/taxAgent/slideTaxagentUser.js
index d60cc7f4..78168514 100644
--- a/pc4mobx/hrmSalary/pages/taxAgent/slideTaxagentUser.js
+++ b/pc4mobx/hrmSalary/pages/taxAgent/slideTaxagentUser.js
@@ -15,6 +15,7 @@ export default class SlideTaxagentUser extends React.Component {
showSearchAd: false,
externalPersonModalVisible: false, //外部人员关联弹框
addTaxagentModalVisible: false,
+ scopeRecord: {},
includeType: "1",
selectedRowKeys: [],
searchValue: "",
@@ -72,7 +73,8 @@ export default class SlideTaxagentUser extends React.Component {
closeModal = () => {
this.setState({
addTaxagentModalVisible: false,
- externalPersonModalVisible: false
+ externalPersonModalVisible: false,
+ scopeRecord: {}
}, () => {
this.addTaxRef && this.addTaxRef.handleReset();
});
@@ -131,7 +133,8 @@ export default class SlideTaxagentUser extends React.Component {
externalPersonModalVisible,
importParams,
previewDataSource,
- showSearchAd, extEmpsWitch
+ showSearchAd, extEmpsWitch,
+ scopeRecord
} = this.state;
const {
submitLoading,
@@ -224,106 +227,33 @@ export default class SlideTaxagentUser extends React.Component {
onSearchChange={searchValue => this.setState({ searchValue })}
onChange={v => this.setState({ includeType: v }, () => onChangeTab && onChangeTab(this.state.includeType))}
/>
- {/**/}
- {/*
*/}
- {/* {*/}
- {/* this.handleTabClick(1);*/}
- {/* }}>*/}
- {/* 人员范围*/}
- {/* | {*/}
- {/* this.handleTabClick(0);*/}
- {/* }}>*/}
- {/* 从范围中排除*/}
- {/* */}
- {/*
*/}
- {/*
*/}
- {/*
*/}
- {/* {*/}
- {/* (hideIconInTax || showSalaryItemBtn) &&
*/}
- {/* {*/}
- {/* includeType == "1" &&*/}
- {/*
*/}
- {/* }*/}
- {/*
*/}
- {/* */}
- {/* */}
- {/*
*/}
- {/*
*/}
- {/* }*/}
- {/*
*/}
- {/*
{*/}
- {/* this.setState({ searchValue: value });*/}
- {/* }}*/}
- {/* onSearch={value => {*/}
- {/* this.handleSearch(value);*/}
- {/* }}*/}
- {/* />*/}
- {/* */}
- {/*
*/}
this.setState({ externalPersonModalVisible: false })}
+ onCancel={() => this.setState({ externalPersonModalVisible: false, scopeRecord: {} })}
onExternalPersonSave={val => onTaxAgentSave({ ...val, includeType: includeType })}
/>
this.addTaxRef = ref}
+ scopeRecord={scopeRecord}
loading={submitLoading}
employeeStatus={employeeStatus}
targetTypeList={targetTypeList}
@@ -332,7 +262,7 @@ export default class SlideTaxagentUser extends React.Component {
onTaxAgentSave({ ...val, includeType: includeType })}
visible={addTaxagentModalVisible}
onCancel={() => {
- this.setState({ addTaxagentModalVisible: false });
+ this.setState({ addTaxagentModalVisible: false, scopeRecord: {} });
}}
/>
{importParams.visible && (
diff --git a/pc4mobx/hrmSalary/stores/attendanceStore.js b/pc4mobx/hrmSalary/stores/attendanceStore.js
index 142caa6d..40dcf875 100644
--- a/pc4mobx/hrmSalary/stores/attendanceStore.js
+++ b/pc4mobx/hrmSalary/stores/attendanceStore.js
@@ -22,6 +22,9 @@ export class AttendanceStore {
@observable extensionForm = new WeaForm(); //扩展属性
@action("报表查看-扩展属性表单初始化")
initExtensionForm = () => this.extensionForm = new WeaForm();
+ @observable tempForm = new WeaForm(); //扩展属性
+ @action("薪资明细-模板设置表单初始化")
+ initTempForm = () => this.tempForm = new WeaForm();
@action("报表查看-分享报表表单初始化")
initShareForm = () => this.shareForm = new WeaForm();