提交 9d32e174 编写于 作者: Mosher's avatar Mosher

增加数值框插件

上级 5944af86
<#if item.render?? || item.getRender()??>
${item.render.code}
<#else>
<input-box
v-model="data.${editor.name}"
@enter="onEnter($event)"
......@@ -13,4 +16,5 @@
</#if>
<#if editor.getPlaceHolder()??>placeholder="${editor.getPlaceHolder()}"</#if>
style="${editor.getEditorCssStyle()}">
</input-box>
\ No newline at end of file
</input-box>
</#if>
\ No newline at end of file
<#if item.render?? || item.getRender()??>
${item.render.code}
<#else>
<input-box
:disabled="row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
v-model="row[column.property]"
......@@ -17,4 +20,5 @@
placeholder="${item.getPlaceHolder()}"
</#if>
@change="($event)=>{gridEditItemChange(row, column.property, $event, $index)}">
</input-box>
\ No newline at end of file
</input-box>
</#if>
\ No newline at end of file
<#if item.render?? || item.getRender()??>
${item.render.code}
<#else>
<input-box
type="number"
<#if item.getEnableCond??>
......@@ -8,4 +11,5 @@
style="${item.getEditorCssStyle()}"
<#if item.getPlaceHolder()??>placeholder="${item.getPlaceHolder()}"</#if>
@change="($event)=>{panelEditItemChange(data, '${editor.name?lower_case}', $event)}">
</input-box>
\ No newline at end of file
</input-box>
</#if>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册