EDITOR.vue.ftl 676 字节
Newer Older
1 2 3
<input-box 
  v-model="data.${editor.name}"  
  @enter="onEnter($event)"  
4
  <#if editor.getUnitName?? && editor.getUnitName()??>unit="${editor.getUnitName()}"</#if>
5 6
  :disabled="detailsModel.${editor.name}.disabled" 
  type='number' 
7 8 9 10 11 12 13 14
<#if item.getPSAppDEField().getPSDEField().getPrecision??>
  <#if item.getPSAppDEField().getPSDEField().getDataType() == 'FLOAT' && item.getPSAppDEField().getPSDEField().getPrecision() == 0>
  :precision="2"
  <#else>
  :precision="${item.getPSAppDEField().getPSDEField().getPrecision()?c}"
  </#if>
</#if>
  <#if editor.getPlaceHolder()??>placeholder="${editor.getPlaceHolder()}"</#if> 
15 16
  style="${editor.getEditorCssStyle()}">
</input-box>