修改添加自定义薪资项目保存参数

This commit is contained in:
黎永顺 2022-11-25 17:56:55 +08:00
parent c7a23c0017
commit 3068ee9cd8
2 changed files with 3 additions and 2 deletions

View File

@ -233,6 +233,7 @@ export default class CustomSalaryItemSlide extends React.Component {
formulaId={formulaId}
visible={formalModalVisible}
valueType={valueType}
dataType={dataType}
onSaveFormal={data => {
this.handleSaveFormal(data);
}}

View File

@ -185,8 +185,8 @@ export default class FormalFormModal extends React.Component {
description: "备注",
module: "salary",
useFor: "salaryitem",
returnType: "number",
validateType: "number",
returnType: this.props.dataType,
validateType: this.props.dataType,
extendParam: JSON.stringify(this.state.extendParam),
formula: this.state.value,
parameters: this.parameters,