Commit 563e8a01 authored by 皮倩雯's avatar 皮倩雯

fix: '方案制定执行时间增加半年一年一次'

parent 6881d902
Pipeline #81821 passed with stages
......@@ -536,12 +536,13 @@ const AddModal = props => {
}
if (data.Unit == 'month') {
let obg = {
: 0,
: 1,
: 2,
1: 0,
2: 1,
3: 2,
6: 5,
12: 11,
};
StartExecLen = obg[data.MonthType1] * 31 + data.MonthDayType1 * 1 - startLen;
EndExecLen = obg[data.MonthType2] * 31 + data.MonthDayType2 * 1 - startLen;
}
let UnitObj = {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment