@ -12,7 +12,7 @@
<el-date-picker
v-model="form.effectiveDate"
type="date"
:disabled="form.id"
:disabled="!!form.id"
format="YYYY-MM-DD"
value-format="YYYY-MM-DD"
placeholder="选择日期时间"
@ -398,7 +398,11 @@ function open(type, val, queryType) {
krOptions.value = resp
})
getChannelOptions().then((resp) => {
sourceOptions.value = resp
sourceOptions.value = listToTree(resp, {
id: 'sourceId',
pid: 'parentId',
children: 'children'
if (val) {
formLoading.value = true