custom-联特
This commit is contained in:
parent
45af43bc87
commit
8efabcb6e0
|
|
@ -232,7 +232,7 @@ const CustomSelect = (props) => {
|
|||
const { key, options = [] } = item;
|
||||
return <Col span={6}>
|
||||
<WeaSelect value={baseInfo[key]} options={options} viewAttr={3}
|
||||
disabled={!admin || (key === "attendCycleFromDay" && (baseInfo["attendCycleType"] === "10" || baseInfo["attendCycleType"] === "11"))}
|
||||
disabled={!admin || (key === "attendCycleFromDay" && (["10", "11", "12", "13"].includes(baseInfo["attendCycleType"])))}
|
||||
onChange={(v) => onChange(key, v)}/>
|
||||
</Col>;
|
||||
})
|
||||
|
|
@ -319,6 +319,20 @@ const buildEditBasicInfo = (editBasicInfo) => {
|
|||
attendancePeriodTip: "至上季度最后一天"
|
||||
};
|
||||
break;
|
||||
case "12" :
|
||||
tmpV["attendCycleInfo"] = {
|
||||
attendancePeriodEnd: "半年度",
|
||||
attendancePeriodStart: "",
|
||||
attendancePeriodTip: "至半年度最后一天"
|
||||
};
|
||||
break;
|
||||
case "13" :
|
||||
tmpV["attendCycleInfo"] = {
|
||||
attendancePeriodEnd: "全年",
|
||||
attendancePeriodStart: "",
|
||||
attendancePeriodTip: "至全年最后一天"
|
||||
};
|
||||
break;
|
||||
}
|
||||
return tmpV;
|
||||
};
|
||||
|
|
|
|||
|
|
@ -371,6 +371,16 @@ export const baseSettingFormItem = [
|
|||
key: "11",
|
||||
selected: false,
|
||||
showname: "上季度"
|
||||
},
|
||||
{
|
||||
key: "12",
|
||||
selected: false,
|
||||
showname: "半年度"
|
||||
},
|
||||
{
|
||||
key: "13",
|
||||
selected: false,
|
||||
showname: "全年"
|
||||
}
|
||||
]
|
||||
},
|
||||
|
|
|
|||
Loading…
Reference in New Issue