Commit 0e9ed3c9 by wangzhihui

Merge branch 'SAAS+V5.8.3_wzh' of http://192.168.3.233:8090/saas_plus/dj-car-lif…

…e-system into SAAS+V5.8.3_wzh
2 parents 4821ddd4 fac04e07
......@@ -93,7 +93,10 @@ const STRATEGY_FORM_2456 = [
label: "执行周期",
type: "daterange",
key: "dateRange",
pickerOptions: "afterPickerOptions",
pickerOptionsFun: (val) => {
let { strategyType } = val;
return [5, 6].includes(strategyType) ? '' : 'afterPickerOptions'
}
},
];
const STRATEGY_FORM_3 = [
......
......@@ -70,7 +70,7 @@
range-separator="至"
start-placeholder="开始时间"
type="daterange"
:picker-options="datePickerOptions[item.pickerOptions]">
:picker-options=" datePickerOptions[item.pickerOptionsFun ? item.pickerOptionsFun(formData) : item.pickerOptions]">
</el-date-picker>
</template>
<template v-else-if="item.type == 'textarea'">
......@@ -277,7 +277,6 @@ export default {
1: STRATEGY_FORM_1,
3: STRATEGY_FORM_3,
}[strategyType] || [];
return [
...list,
{
......
Markdown is supported
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!