提交 c0feb07e 编写于 作者: Cano1997's avatar Cano1997

update: 修复报错

上级 8f5a7c35
...@@ -672,7 +672,7 @@ ${gridColumn.getName()} ...@@ -672,7 +672,7 @@ ${gridColumn.getName()}
<#list ctrl.getPSDEGridEditItems() as edititem> <#list ctrl.getPSDEGridEditItems() as edititem>
${edititem.getName()}: [ ${edititem.getName()}: [
{ required: <#if edititem.isAllowEmpty()>false<#else>true</#if>, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: `<#if edititem.getPSDEGridColumn()?? && edititem.getPSDEGridColumn().getCapPSLanguageRes()??><#noparse>${</#noparse>this.$t('${edititem.getPSDEGridColumn().getCapPSLanguageRes().getLanResTag()}', '${edititem.getPSDEGridColumn().getCaption()}')<#noparse>}</#noparse><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse><#else><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse></#if>`, trigger: 'change' }, { required: <#if edititem.isAllowEmpty()>false<#else>true</#if>, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: `<#if edititem.getPSDEGridColumn()?? && edititem.getPSDEGridColumn().getCapPSLanguageRes()??><#noparse>${</#noparse>this.$t('${edititem.getPSDEGridColumn().getCapPSLanguageRes().getLanResTag()}', '${edititem.getPSDEGridColumn().getCaption()}')<#noparse>}</#noparse><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse><#else><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse></#if>`, trigger: 'change' },
{ required: <#if edititem.isAllowEmpty()>false<#else>true</#if>, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: `<#if edititem.getPSDEGridColumn()?? && edititem.getPSDEGridColumn().getCapPSLanguageRes()??><#noparse>${</#noparse>this.$t('${edititem.getPSDEGridColumn().getCapPSLanguageRes().getLanResTag()}' '${edititem.getPSDEGridColumn().getCaption()}')<#noparse>}</#noparse><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse><#else><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse></#if>`, trigger: 'blur' }, { required: <#if edititem.isAllowEmpty()>false<#else>true</#if>, validator: (rule:any, value:any, callback:any) => { return (rule.required && (value === null || value === undefined || value === "")) ? false : true;}, message: `<#if edititem.getPSDEGridColumn()?? && edititem.getPSDEGridColumn().getCapPSLanguageRes()??><#noparse>${</#noparse>this.$t('${edititem.getPSDEGridColumn().getCapPSLanguageRes().getLanResTag()}', '${edititem.getPSDEGridColumn().getCaption()}')<#noparse>}</#noparse><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse><#else><#noparse>${</#noparse>this.$t('app.commonWords.valueNotEmpty')<#noparse>}</#noparse></#if>`, trigger: 'blur' },
<#if ctrl.getPSDEGridEditItemVRs?? && ctrl.getPSDEGridEditItemVRs()??> <#if ctrl.getPSDEGridEditItemVRs?? && ctrl.getPSDEGridEditItemVRs()??>
<#list ctrl.getPSDEGridEditItemVRs() as fideValueRule> <#list ctrl.getPSDEGridEditItemVRs() as fideValueRule>
<#if fideValueRule.getPSDEGridEditItemName() == edititem.getName()> <#if fideValueRule.getPSDEGridEditItemName() == edititem.getName()>
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册