薪资项目管理页面修改
This commit is contained in:
parent
9369fc383c
commit
9518d46dba
|
|
@ -212,20 +212,20 @@ class FieldSlide extends Component {
|
|||
<WeaInput viewAttr={3} value={name}
|
||||
onChange={value => this.handleChangeFields("name", value)}/>
|
||||
</WeaFormItem>
|
||||
{
|
||||
editId &&
|
||||
<WeaFormItem label="薪资档案引用" labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>
|
||||
<WeaCheckbox
|
||||
value={useInEmployeeSalary}
|
||||
display="switch"
|
||||
onChange={value => this.handleChangeFields("useInEmployeeSalary", value)}
|
||||
/>
|
||||
<WeaHelpfulTip style={{ marginLeft: "10px" }} width={200}
|
||||
title="提示:开启后,该薪资项目不可删除或设为无效,取值方式会默认置为输入"
|
||||
placement="topLeft"
|
||||
/>
|
||||
</WeaFormItem>
|
||||
}
|
||||
{/*{*/}
|
||||
{/* editId &&*/}
|
||||
{/* <WeaFormItem label="薪资档案引用" labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>*/}
|
||||
{/* <WeaCheckbox*/}
|
||||
{/* value={useInEmployeeSalary}*/}
|
||||
{/* display="switch"*/}
|
||||
{/* onChange={value => this.handleChangeFields("useInEmployeeSalary", value)}*/}
|
||||
{/* />*/}
|
||||
{/* <WeaHelpfulTip style={{ marginLeft: "10px" }} width={200}*/}
|
||||
{/* title="提示:开启后,该薪资项目不可删除或设为无效,取值方式会默认置为输入"*/}
|
||||
{/* placement="topLeft"*/}
|
||||
{/* />*/}
|
||||
{/* </WeaFormItem>*/}
|
||||
{/*}*/}
|
||||
<WeaFormItem label="默认使用" labelCol={{ span: 6 }} wrapperCol={{ span: 12 }}>
|
||||
<WeaCheckbox
|
||||
value={useDefault}
|
||||
|
|
|
|||
|
|
@ -60,13 +60,13 @@ export const salaryItemFields = [
|
|||
viewAttr: 3,
|
||||
tip: ''
|
||||
},
|
||||
{
|
||||
key: 'useInEmployeeSalary',
|
||||
label: '薪资档案引用',
|
||||
type: 'SWITCH',
|
||||
viewAttr: 2,
|
||||
tip: '提示:开启后,该薪资项目不可删除或设为无效,取值方式会默认置为输入'
|
||||
},
|
||||
// {
|
||||
// key: 'useInEmployeeSalary',
|
||||
// label: '薪资档案引用',
|
||||
// type: 'SWITCH',
|
||||
// viewAttr: 2,
|
||||
// tip: '提示:开启后,该薪资项目不可删除或设为无效,取值方式会默认置为输入'
|
||||
// },
|
||||
{
|
||||
key: 'useDefault',
|
||||
label: '默认使用',
|
||||
|
|
|
|||
|
|
@ -57,6 +57,11 @@ export const patternOptions = [
|
|||
showname: "5",
|
||||
selected: false
|
||||
},
|
||||
{
|
||||
key: "6",
|
||||
showname: "6",
|
||||
selected: false
|
||||
},
|
||||
]
|
||||
|
||||
export const dataTypeOptions = [
|
||||
|
|
|
|||
Loading…
Reference in New Issue