<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
<#if editor?? && editor.render??> 
    ${editor.render.code}
<#else>
 <dropdown-list 
    v-model="data.${editor.name}" 
    :data="data" 
    :context="context"
    :viewparams="viewparams"
    :formState="formState" 
    :localContext =<@getNavigateContext editor />
    :localParam =<@getNavigateParams editor />
    :disabled="detailsModel.${editor.name}.disabled" 
    <#if item.getPSAppDEField?? && item.getPSAppDEField()?? && item.getPSAppDEField().getStdDataType()??>
    <#assign datatype = srfjavatype(item.getPSAppDEField().getStdDataType())>
    valueType="<#if datatype == 'BigInteger' || datatype == 'Integer' || datatype == 'Double' || datatype == 'Decimal' || datatype == 'Float' || datatype == 'BigDecimal'>number<#else>string</#if>"
    </#if> 
    <#if editor.getPSCodeList()??>
    <#assign codelist=editor.getPSCodeList()>
    tag='${codelist.codeName}' 
    codelistType='${codelist.getCodeListType()}'
    </#if> 
    placeholder=<#if item.getPlaceHolder()??>'${item.getPlaceHolder()}'<#else>'请选择...'</#if> style="${editor.getEditorCssStyle()}">
 </dropdown-list>
</#if>