GRIDEIDTOR.vue.ftl 547 字节
Newer Older
1 2 3 4 5 6 7 8 9 10 11 12 13 14
<#if editor?? && editor.render??> 
    ${editor.render.code}
<#else>
<date-picker 
  type="date" 
  :transfer="true" 
  format="yyyy-MM-dd" 
  <#if item.getPlaceHolder()??>placeholder="${item.getPlaceHolder()}"</#if>
  :disabled="getColumnDisabled(row,column.property)" 
  :value="row[column.property]" 
  style="${item.getEditorCssStyle()}<#if item.getEditorParam('width','') == 'auto'>width:100%;</#if>" 
  @on-change="(val1, val2) => { row[column.property] = val1; gridEditItemChange(row, column.property, val1, $index)}">
</date-picker>
</#if>