<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
<#if editor.getEditorParam("PICKUPVIEW",true)??>
  <#if editor.getPickupPSAppView()??>
<app-picker 
  :formState="viewState" 
  :data="row"
  :context="context"
  :viewparams="viewparams"
  :localContext =<@getNavigateContext editor />
  :localParam =<@getNavigateParams editor />
  :disabled="row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1" 
  name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
  deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
  deKeyField='${editor.getPSAppDataEntity().getCodeName()?lower_case}'
</#if>
  :service="service"
  :acParams=<@getAcParams editor />
  valueitem='${editor.getValueItemName()}' 
  :value="row[column.property]" 
  editortype="" 
  :pickupView=<@getPickupView editor />
  style="${editor.getEditorCssStyle()}"  
  @formitemvaluechange="($event)=>{onGridItemValueChange(row,$event,$index)}">
    <@getItemRender editor />
</app-picker>
  </#if>
</#if>