提交 51c518a3 编写于 作者: Mosher's avatar Mosher

增加步进器插件 --- fix2

上级 2f6fdda8
<#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]"
...@@ -6,4 +9,5 @@ ...@@ -6,4 +9,5 @@
<#if item.getUnitName?? && item.getUnitName()??>unit="${item.getUnitName()}"</#if> <#if item.getUnitName?? && item.getUnitName()??>unit="${item.getUnitName()}"</#if>
<#if item.getPlaceHolder()??>placeholder="${item.getPlaceHolder()}"</#if> <#if item.getPlaceHolder()??>placeholder="${item.getPlaceHolder()}"</#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??> <#if item.render?? || item.getRender()??>
{item.render.code} ${item.render.code}
<#else> <#else>
<input-box <input-box
<#if item.getEnableCond??> <#if item.getEnableCond??>
......
<#if item.render??> <#if item.render?? || item.getRender()??>
{item.render.code} ${item.render.code}
<#else> <#else>
<app-stepper name='${editor.name}' :value="this.data.${editor.name}" @change="onFormItemValueChange" :disabled="detailsModel.${editor.name}.disabled" style="${editor.getEditorCssStyle()}"></app-stepper> <app-stepper name='${editor.name}' :value="this.data.${editor.name}" @change="onFormItemValueChange" :disabled="detailsModel.${editor.name}.disabled" style="${editor.getEditorCssStyle()}"></app-stepper>
</#if> </#if>
\ No newline at end of file
<#if item.render?? || item.getRender()??>
${item.render.code}
<#else>
<app-stepper name='${editor.name}' :value="row[column.property]" @change="($event)=>{onGridItemValueChange(row,$event,$index)} " :disabled="row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1" style="${item.getEditorCssStyle()}"></app-stepper> <app-stepper name='${editor.name}' :value="row[column.property]" @change="($event)=>{onGridItemValueChange(row,$event,$index)} " :disabled="row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1" style="${item.getEditorCssStyle()}"></app-stepper>
</#if>
\ No newline at end of file
<#if item.render??> <#if item.render?? || item.getRender()??>
{item.render.code} ${item.render.code}
<#else> <#else>
<app-stepper <app-stepper
name='${editor.name}' name='${editor.name}'
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册