custom/常州光阳摩托车有限公司-聚才林
This commit is contained in:
parent
394fd3abc6
commit
9da8ce28b1
|
|
@ -45,7 +45,7 @@ class LedgerBaseSetting extends Component {
|
|||
description: "",
|
||||
canEdit: false,
|
||||
// 二开:常州光阳相关
|
||||
attendType: "0",
|
||||
attendType: "1",
|
||||
attendCycleType2: "3",
|
||||
attendCycleEndDay: "25"
|
||||
}
|
||||
|
|
@ -88,7 +88,7 @@ class LedgerBaseSetting extends Component {
|
|||
description: "",
|
||||
canEdit: "true",
|
||||
// 二开:常州光阳相关
|
||||
attendType: "0",
|
||||
attendType: "1",
|
||||
attendCycleType2: "3",
|
||||
attendCycleEndDay: "25"
|
||||
}
|
||||
|
|
@ -105,8 +105,10 @@ class LedgerBaseSetting extends Component {
|
|||
});
|
||||
this.setState({
|
||||
settingBaseInfo: {
|
||||
...settingBaseInfo,
|
||||
...tmpV
|
||||
...settingBaseInfo, ...tmpV,
|
||||
attendType: !_.isNil(basicForm["attendType"]) ? basicForm["attendType"].toString() : "1",
|
||||
attendCycleType2: !_.isNil(basicForm["attendCycleType2"]) ? basicForm["attendCycleType2"].toString() : "3",
|
||||
attendCycleEndDay: !_.isNil(basicForm["attendCycleEndDay"]) ? basicForm["attendCycleEndDay"].toString() : "25"
|
||||
}
|
||||
}, () => {
|
||||
this.props.onSaveParams(this.state.settingBaseInfo);
|
||||
|
|
@ -224,7 +226,6 @@ export default LedgerBaseSetting;
|
|||
const CustomSelect = (props) => {
|
||||
const { list, baseInfo, onChange, inputStr } = props;
|
||||
const { canEdit, attendType = "1", attendCycleType2 = "3", attendCycleEndDay = "25" } = baseInfo;
|
||||
console.log(baseInfo,attendType, attendCycleType2, attendCycleEndDay)
|
||||
const selectInfo = buildEditBasicInfo(baseInfo);
|
||||
return <React.Fragment>
|
||||
{
|
||||
|
|
|
|||
Loading…
Reference in New Issue