<AppDateRangePicker
{{#if editor.readOnly}}
    :readOnly="{{editor.readOnly}}"
{{/if}}
    v-bind="{{CustomParams 'editor' editor}}"
{{#if editor.editorParams.format}}
    format="{{editor.editorParams.format}}"
{{else if (eq editor.editorType 'DATERANGE')}}
    format="YYYY-MM-DD HH:mm:ss"
{{else if (eq editor.editorType 'DATERANGE_NOTIME')}}
    format="YYYY-MM-DD"
{{/if}}
{{#if editor.editorParams.valueFormat}}
    valueFormat="{{editor.editorParams.valueFormat}}"
{{else if (eq editor.editorType 'DATERANGE')}}
    valueFormat="YYYY-MM-DD HH:mm:ss"
{{else if (eq editor.editorType 'DATERANGE_NOTIME')}}
    valueFormat="YYYY-MM-DD"
{{/if}}
{{#eq editor.editorType 'DATERANGE_NOTIME'}}
    :showTime="false"
{{/eq}}
{{#if editor.psEditorItems}}
    valueItemNames="{{#each editor.psEditorItems as | _item |}}{{_item.name}}{{#unless @last}},{{/unless}}{{/each}}"
{{/if}}
{{#if editor.editorParams.type}}
    type="{{editor.editorParams.type}}"
{{/if}}
{{#if editor.editorParams}}
    {{#if editor.editorParams.startPlaceholder}}
    startPlaceholder="{{editor.editorParams.startPlaceholder}}"
    {{/if}}
    {{#if editor.editorParams.endPlaceholder}}
    endPlaceholder="{{editor.editorParams.endPlaceholder}}"
    {{/if}}
    {{#if editor.editorParams.size}}
    size="{{editor.editorParams.size}}"
    {{/if}}
    {{#if editor.editorParams.valueSeparator}}
    valueSeparator="{{editor.editorParams.valueSeparator}}"
    {{/if}}
{{/if}}
{{#eq ctrlType 'grid'}}
    name="{{#if dataItemName}}{{dataItemName}}{{else}}{{item.codeName}}{{/if}}"
    :data="record"
    {{#if (eq item.enableCond 0)}}
    :disabled="true"
    {{else if (eq item.enableCond 1)}}
    :disabled="!Object.is(record.srfuf,0)"
    {{else if (eq item.enableCond 2)}}
    :disabled="!Object.is(record.srfuf,1)"
    {{/if}}
    :value="record.{{#if dataItemName}}{{dataItemName}}{{else}}{{editor.name}}{{/if}}"
    @component-action="(actionParam:any) => { handleComponentAction(controller, actionParam, index) }"
{{/eq}}
{{#eq ctrlType 'panel'}}
    name="{{item.name}}"
    :data="store.layoutData"
    {{#if isMultiData}}
    :disabled="store.layoutModelDetails?.[`{{item.name}}_${data.index}`]?.disabled ? true : false"
    :value="store.layoutData[`{{item.name}}_${data.index}`]"
    @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam, data.index) }"
    {{else}}
    :disabled="store.layoutModelDetails?.{{item.name}}?.disabled ? true : false"
    :value="store.layoutData.{{item.name}}"
    @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
    {{/if}}
{{/eq}}
{{#eq ctrlType 'form'}}
    name="{{item.codeName}}"
    :disabled="store.detailModel.{{item.codeName}}.disabled"
    {{!-- 适配表单重复器 --}}
    {{#if repeaterMode}}
    :data="data"
    :value="data.{{editor.name}}"
    {{else}}
    :data="store.data"
    :value="store.data.{{editor.name}}"
    {{/if}}
    @component-action="(actionParam: IEvent<string>) => { handleComponentAction(controller, actionParam) }"
{{/eq}}
{{#eq ctrlType 'gridColumnFilter'}}
    name="{{editor.name}}"
    :value="value"
    @component-action="handleComponentAction"
{{/eq}}
/>
