GRIDEIDTOR.vue.ftl 959 字节
Newer Older
1
<#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
2
<#if item.render??>
3 4
    ${item.render.code}
<#else>
5 6 7 8 9
<app-picker 
  :formState="viewState" 
  :data="row"
  :context="context"
  :viewparams="viewparams"
tony001's avatar
tony001 committed
10 11
  :localContext =<@getNavigateContext editor />
  :localParam =<@getNavigateParams editor />
12 13 14 15 16 17 18 19 20 21 22
  :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>
  valueitem='${editor.getValueItemName()}' 
  :value="row[column.property]"
  editortype="linkonly" 
  :linkview=<@getLinkView editor /> 
  style="${editor.getEditorCssStyle()}"  
23
  @formitemvaluechange="($event)=>{onGridItemValueChange(row,$event,$index)}">
24 25
</app-picker>
</#if>