{
column.onChange &&
column.onChange(scope.row, column, val);
}
"
:type="column.edit.type"
:placeholder="column.placeholder || column.title"
:disabledDate="(val) => getDateOptions(val, column)"
:value-format="getDateFormat(column)"
:disabled="initColumnDisabled(scope.row, column)"
>
{
column.onChange &&
column.onChange(scope.row, column, val);
}
"
:placeholder="column.placeholder || column.title"
:value-format="column.format || 'HH:mm:ss'"
:disabled="initColumnDisabled(scope.row, column)"
>
{
switchChange(val, scope.row, column);
}
"
:active-value="
typeof scope.row[column.field] == 'boolean'
? true
: typeof scope.row[column.field] == 'string'
? '1'
: 1
"
:inactive-value="
typeof scope.row[column.field] == 'boolean'
? false
: typeof scope.row[column.field] == 'string'
? '0'
: 0
"
:disabled="initColumnDisabled(scope.row, column)"
>
{{ item.label }}
{{ item.value }}
{{data.label}}