<AppDataPicker
    {{#if item.valueItemName}}
    valueItem="{{item.valueItemName}}"
    {{/if}}
    {{#if editor.placeHolder}}
    placeholder="{{editor.placeHolder}}"
    {{/if}}
    {{#if editor.psNavigateContexts}}
    :localContext="{{> @macro/common/navparam.hbs appNavParams=editor.psNavigateContexts}}"
    {{/if}}
    {{#if editor.psNavigateParams}}
    :localParam="{{> @macro/common/navparam.hbs appNavParams=editor.psNavigateParams}}"
    {{/if}}
    :context="store.context"
    :viewParams="store.viewParams"
    {{#if editor.psAppDataEntity}}
    deMajorField="{{#if editor.psAppDEACMode.textPSAppDEField}}{{lowerCase editor.psAppDEACMode.textPSAppDEField.codeName}}{{else}}{{lowerCase editor.psAppDataEntity.majorPSAppDEField.codeName}}{{/if}}"
    deKeyField="{{#and editor.psAppDEACMode.valuePSAppDEField (neq editor.psAppDEACMode.valuePSAppDEField.codeName editor.psAppDataEntity.keyPSAppDEField.codeName)}}{{lowerCase editor.psAppDEACMode.valuePSAppDEField.codeName}}{{else}}{{lowerCase editor.psAppDataEntity.keyPSAppDEField.codeName}}{{/and}}"
    {{/if}}
    {{#if editor.pickupPSAppView}}
    pickUpView="{{editor.pickupPSAppView.codeName}}"
    {{/if}}
    {{#if editor.psAppDataEntity}}
    deCodeName="{{editor.psAppDataEntity.name}}"
    {{/if}}
    {{#if editor.linkPSAppView }}
    linkView="{{editor.linkPSAppView.codeName}}"
    {{/if}}
    {{#and editor.psAppDataEntity editor.psAppDEDataSet}}
    :acParams="{ serviceName: '{{editor.psAppDataEntity.codeName}}', interfaceName: '{{editor.psAppDEDataSet.codeName}}' }"
    {{/and}}
    {{#and editor.psAppDEACMode editor.psAppDEACMode.minorSortPSAppDEField}}
    sort="{{lowerCase editor.psAppDEACMode.minorSortPSAppDEField}},{{#if editor.psAppDEACMode.minorSortDir}}{{editor.psAppDEACMode.minorSortDir}}{{else}}asc{{/if}}"
    {{/and}}
    {{#if editor.readOnly}}
    :readOnly="{{editor.readOnly}}"
    {{/if}}
    v-bind="{{CustomParams 'editor' editor}}"
{{#if editor.editorParams}}
    {{#if editor.editorParams.pickUpData}}
    pickUpData="{{editor.editorParams.pickUpData}}"
    {{/if}}
    {{#if editor.editorParams.separator}}
    separator="{{editor.editorParams.separator}}"
    {{/if}}
    {{#if editor.editorParams.showButton}}
    showButton="{{editor.editorParams.showButton}}"
    {{/if}}
{{/if}}
    {{#if (or (eq editor.editorType "PICKEREX_LINKONLY") (eq editor.editorType "PICKEREX_LINK"))}}
    :linkOnly="true"
    {{/if}}
    {{#if (or (eq editor.editorType "PICKEREX_NOAC")  (eq editor.editorType "PICKEREX_NOAC_LINK"))}}
    :isAC="false"
    {{/if}}
    {{#if (or (eq editor.editorType "PICKEREX_NOBUTTON")  (eq editor.editorType "PICKEREX_TRIGGER")  (eq editor.editorType "PICKEREX_TRIGGER_LINK"))}}
    :isDropdown="true"
    {{/if}}
    {{#if (or (eq editor.editorType "ADDRESSPICKUP")  (eq editor.editorType "ADDRESSPICKUP_AC"))}}
    :multiple="true"
    :isDropdown="true"
    {{/if}}
    style="{{#if editor.editorWidth}}width: {{editor.editorWidth}}px;{{/if}}{{#if editor.editorHeight}}height: {{editor.editorHeight}}px{{/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}}
/>
