薪资项目管理页面修改

This commit is contained in:
黎永顺 2023-02-20 14:35:54 +08:00
parent 9369fc383c
commit 9518d46dba
3 changed files with 26 additions and 21 deletions

View File

@ -212,20 +212,20 @@ class FieldSlide extends Component {
<WeaInput viewAttr={3} value={name} <WeaInput viewAttr={3} value={name}
onChange={value => this.handleChangeFields("name", value)}/> onChange={value => this.handleChangeFields("name", value)}/>
</WeaFormItem> </WeaFormItem>
{ {/*{*/}
editId && {/* editId &&*/}
<WeaFormItem label="薪资档案引用" labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}> {/* <WeaFormItem label="薪资档案引用" labelCol={{ span: 6 }} wrapperCol={{ span: 18 }}>*/}
<WeaCheckbox {/* <WeaCheckbox*/}
value={useInEmployeeSalary} {/* value={useInEmployeeSalary}*/}
display="switch" {/* display="switch"*/}
onChange={value => this.handleChangeFields("useInEmployeeSalary", value)} {/* onChange={value => this.handleChangeFields("useInEmployeeSalary", value)}*/}
/> {/* />*/}
<WeaHelpfulTip style={{ marginLeft: "10px" }} width={200} {/* <WeaHelpfulTip style={{ marginLeft: "10px" }} width={200}*/}
title="提示:开启后,该薪资项目不可删除或设为无效,取值方式会默认置为输入" {/* title="提示:开启后,该薪资项目不可删除或设为无效,取值方式会默认置为输入"*/}
placement="topLeft" {/* placement="topLeft"*/}
/> {/* />*/}
</WeaFormItem> {/* </WeaFormItem>*/}
} {/*}*/}
<WeaFormItem label="默认使用" labelCol={{ span: 6 }} wrapperCol={{ span: 12 }}> <WeaFormItem label="默认使用" labelCol={{ span: 6 }} wrapperCol={{ span: 12 }}>
<WeaCheckbox <WeaCheckbox
value={useDefault} value={useDefault}

View File

@ -60,13 +60,13 @@ export const salaryItemFields = [
viewAttr: 3, viewAttr: 3,
tip: '' tip: ''
}, },
{ // {
key: 'useInEmployeeSalary', // key: 'useInEmployeeSalary',
label: '薪资档案引用', // label: '薪资档案引用',
type: 'SWITCH', // type: 'SWITCH',
viewAttr: 2, // viewAttr: 2,
tip: '提示:开启后,该薪资项目不可删除或设为无效,取值方式会默认置为输入' // tip: '提示:开启后,该薪资项目不可删除或设为无效,取值方式会默认置为输入'
}, // },
{ {
key: 'useDefault', key: 'useDefault',
label: '默认使用', label: '默认使用',

View File

@ -57,6 +57,11 @@ export const patternOptions = [
showname: "5", showname: "5",
selected: false selected: false
}, },
{
key: "6",
showname: "6",
selected: false
},
] ]
export const dataTypeOptions = [ export const dataTypeOptions = [