提交 1e300c28 编写于 作者: WodahsOrez's avatar WodahsOrez

lxm--数据选择,地址框,自动完成,上下文参数

上级 a2c676f3
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
name="${editor.name}" name="${editor.name}"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:service="service" :service="service"
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}' deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
:name="column.property" :name="column.property"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:service="service" :service="service"
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}' deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
......
...@@ -7,7 +7,8 @@ ...@@ -7,7 +7,8 @@
name="${editor.name}" name="${editor.name}"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:service="service" :service="service"
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}' deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
......
...@@ -7,6 +7,8 @@ ...@@ -7,6 +7,8 @@
:name="column.property" :name="column.property"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:service="service" :service="service"
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}' deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
:data="row" :data="row"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
: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"
name='${editor.name}' name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
:data="row" :data="row"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
: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"
name='${editor.name}' name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
:data="data" :data="data"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
<#if editor.getPickupPSAppView().getViewType() == 'DEMPICKUPVIEW'> <#if editor.getPickupPSAppView().getViewType() == 'DEMPICKUPVIEW'>
:isSingleSelect="false" :isSingleSelect="false"
</#if> </#if>
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
:data="row" :data="row"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
<#if editor.getPickupPSAppView().getViewType() == 'DEMPICKUPVIEW'> <#if editor.getPickupPSAppView().getViewType() == 'DEMPICKUPVIEW'>
:isSingleSelect="false" :isSingleSelect="false"
</#if> </#if>
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
:data="data" :data="data"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="detailsModel.${editor.name}.disabled" :disabled="detailsModel.${editor.name}.disabled"
name='${editor.name}' name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
:data="row" :data="row"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
: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"
name='${editor.name}' name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
......
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
emptyText="${srfjsstring('${item.getPlaceHolder()}')}" emptyText="${srfjsstring('${item.getPlaceHolder()}')}"
</#if> </#if>
name="${editor.name}" name="${editor.name}"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
valueItem='${item.getValueItemName()}' valueItem='${item.getValueItemName()}'
refviewname="${srffilepath2(pickupview.getCodeName())}" refviewname="${srffilepath2(pickupview.getCodeName())}"
<#if item.getResetItemName()?? && (item.getResetItemName()?length gt 0)> <#if item.getResetItemName()?? && (item.getResetItemName()?length gt 0)>
......
...@@ -15,7 +15,8 @@ ...@@ -15,7 +15,8 @@
emptyText="${srfjsstring('${item.getPlaceHolder()}')}" emptyText="${srfjsstring('${item.getPlaceHolder()}')}"
</#if> </#if>
name="${editor.name}" name="${editor.name}"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
valueItem='${item.getValueItemName()}' valueItem='${item.getValueItemName()}'
refviewname="${srffilepath2(pickupview.getCodeName())}" refviewname="${srffilepath2(pickupview.getCodeName())}"
<#if item.getResetItemName()?? && (item.getResetItemName()?length gt 0)> <#if item.getResetItemName()?? && (item.getResetItemName()?length gt 0)>
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
:data="data" :data="data"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="detailsModel.${editor.name}.disabled" :disabled="detailsModel.${editor.name}.disabled"
name='${editor.name}' name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
:data="row" :data="row"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
: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"
name='${editor.name}' name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
:data="data" :data="data"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="detailsModel.${editor.name}.disabled" :disabled="detailsModel.${editor.name}.disabled"
name='${editor.name}' name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
:data="row" :data="row"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
: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"
name='${editor.name}' name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
:data="data" :data="data"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="detailsModel.${editor.name}.disabled" :disabled="detailsModel.${editor.name}.disabled"
name='${editor.name}' name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
......
...@@ -6,7 +6,8 @@ ...@@ -6,7 +6,8 @@
:data="row" :data="row"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
: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"
name='${editor.name}' name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
......
...@@ -12,7 +12,8 @@ ...@@ -12,7 +12,8 @@
placeholder='${item.getPlaceHolder()}' placeholder='${item.getPlaceHolder()}'
</#if> </#if>
name="${editor.name}" name="${editor.name}"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
valueItem='${item.getValueItemName()}' valueItem='${item.getValueItemName()}'
refviewname="${srffilepath2(pickupview.getCodeName())}" refviewname="${srffilepath2(pickupview.getCodeName())}"
<#if item.getResetItemName()?? && (item.getResetItemName()?length gt 0)> <#if item.getResetItemName()?? && (item.getResetItemName()?length gt 0)>
......
...@@ -13,7 +13,8 @@ ...@@ -13,7 +13,8 @@
placeholder='${item.getPlaceHolder()}' placeholder='${item.getPlaceHolder()}'
</#if> </#if>
name="${editor.name}" name="${editor.name}"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
valueItem='${item.getValueItemName()}' valueItem='${item.getValueItemName()}'
refviewname="${srffilepath2(pickupview.getCodeName())}" refviewname="${srffilepath2(pickupview.getCodeName())}"
<#if item.getResetItemName()?? && (item.getResetItemName()?length gt 0)> <#if item.getResetItemName()?? && (item.getResetItemName()?length gt 0)>
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
:data="data" :data="data"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:disabled="detailsModel.${editor.name}.disabled" :disabled="detailsModel.${editor.name}.disabled"
name='${editor.name}' name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
......
...@@ -4,7 +4,8 @@ ...@@ -4,7 +4,8 @@
:data="row" :data="row"
:context="context" :context="context"
:viewparams="viewparams" :viewparams="viewparams"
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
: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"
name='${editor.name}' name='${editor.name}'
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??> <#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
......
...@@ -9,7 +9,8 @@ ...@@ -9,7 +9,8 @@
deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}' deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
deKeyField='${editor.getPSAppDataEntity().getCodeName()?lower_case}' deKeyField='${editor.getPSAppDataEntity().getCodeName()?lower_case}'
</#if> </#if>
:itemParam=<@getItemParams editor /> :localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:service="service" :service="service"
:acParams=<@getAcParams editor /> :acParams=<@getAcParams editor />
valueitem='${item.getValueItemName()}' valueitem='${item.getValueItemName()}'
......
<#ibizinclude>../@MACRO/GRID/DEFAULT.vue.ftl</#ibizinclude> <#ibizinclude>../@MACRO/FUNC/PUBLIC.vue.ftl</#ibizinclude>
\ No newline at end of file <app-autocomplete
:data="row"
:disabled="row.srfuf === 1 ? (${item.getEnableCond()?c} & 2) !== 2 : (${item.getEnableCond()?c} & 1) !== 1"
name='${editor.name}'
:context="context"
:viewparams="viewparams"
<#if editor.getPSAppDataEntity?? && editor.getPSAppDataEntity()??>
deMajorField='${editor.getPSAppDataEntity().getMajorPSAppDEField().getCodeName()?lower_case}'
deKeyField='${editor.getPSAppDataEntity().getCodeName()?lower_case}'
</#if>
:localContext =<@getNavigateContext editor />
:localParam =<@getNavigateParams editor />
:service="service"
:acParams=<@getAcParams editor />
valueitem='${item.getValueItemName()}'
:value="row[column.property]"
@formitemvaluechange="($event)=>{onGridItemValueChange(row,$event,$index)}"
style="${editor.getEditorCssStyle()}">
</app-autocomplete>
\ No newline at end of file
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册