feature/2.12.1.2403.02-薪资核算自定义导出模板设置

This commit is contained in:
黎永顺 2024-03-29 16:52:28 +08:00
parent 3ab97c5a70
commit 8dac6eab6b
1 changed files with 5 additions and 5 deletions

View File

@ -32,7 +32,7 @@ class Index extends Component {
tempDialog: { visible: false, salaryAcctRecordId: "", id: "", salaryItemIds: [] },
tempOptions: [
{ key: "NULL", showname: "" },
{ key: "system", showname: getLabel(111, "系统模板") }
{ key: "system", selected: true, showname: getLabel(111, "系统模板") }
]
};
}
@ -46,7 +46,7 @@ class Index extends Component {
this.setState({
tempOptions: [
{ key: "NULL", showname: "" },
{ key: "system", showname: getLabel(111, "系统模板") }
{ key: "system", selected: true, showname: getLabel(111, "系统模板") }
]
});
}
@ -134,7 +134,7 @@ class Index extends Component {
}
const titleComp = <div className="setHeaderWrapper">
<span>{getLabel(111, "选择字段")}</span>
<WeaSelect defaultValue="system" options={tempOptions} style={{ width: 200 }}
<WeaSelect options={tempOptions} style={{ width: 200 }}
onChange={this.handleChangeExpTemp}/>
</div>;
return (
@ -157,7 +157,7 @@ class Index extends Component {
tempDialog: { visible: true, salaryAcctRecordId, id: "", salaryItemIds: itemsCheckeds },
tempOptions: [
{ key: "NULL", showname: "" },
{ key: "system", showname: getLabel(111, "系统模板") }
{ key: "system", selected: true, showname: getLabel(111, "系统模板") }
]
})}>{getLabel(111, "存为模板")}</Button>,
<Button type="primary"
@ -165,7 +165,7 @@ class Index extends Component {
tempMangeDialog: { visible: true, salaryAcctRecordId },
tempOptions: [
{ key: "NULL", showname: "" },
{ key: "system", showname: getLabel(111, "系统模板") }
{ key: "system", selected: true, showname: getLabel(111, "系统模板") }
]
})}>{getLabel(111, "模板管理")}</Button>,
<Button type="ghost" onClick={this.props.onCancel}>{getLabel(31129, "取消")}</Button>