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

增加数值框插件

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