提交 dcc8a46a 编写于 作者: RedPig97's avatar RedPig97

update: 修复报错

上级 228305c5
......@@ -145,8 +145,8 @@ import { debounceTime, distinctUntilChanged } from 'rxjs/operators';
<#list ctrl.getAllPSDEFormDetails() as formdetail>
<#if formdetail.getDetailType?? && formdetail.getDetailType() == 'FORMITEM'>
${formdetail.getName()}: [
{ type: '<#assign datatype=srfjavatype(formdetail.getStdDataType())><#if datatype=='BigInteger' || datatype=='Integer' || datatype=='Double' || datatype=='Decimal' || datatype=='Float' || datatype=='BigDecimal'>number<#else>string</#if>', message: '`<#if formdetail.getCapPSLanguageRes()??><#noparse>${</#noparse>this.$t('${formdetail.getCapPSLanguageRes().getLanResTag()}', '${formdetail.getCaption()}')<#noparse>}</#noparse><#else>${formdetail.getCaption()}</#if>` this.$t('app.commonWords.valueMustBe')<#if datatype=='BigInteger' || datatype=='Integer' || datatype=='Double' || datatype=='Decimal' || datatype=='Float' || datatype=='BigDecimal'>this.$t('app.commonWords.number')<#else>this.$t('app.commonWords.string')</#if>this.$t('app.commonWords.kind')', trigger: 'change' },
{ type: '<#assign datatype=srfjavatype(formdetail.getStdDataType())><#if datatype=='BigInteger' || datatype=='Integer' || datatype=='Double' || datatype=='Decimal' || datatype=='Float' || datatype=='BigDecimal'>number<#else>string</#if>', message: '`<#if formdetail.getCapPSLanguageRes()??><#noparse>${</#noparse>this.$t('${formdetail.getCapPSLanguageRes().getLanResTag()}', '${formdetail.getCaption()}')<#noparse>}</#noparse><#else>${formdetail.getCaption()}</#if>` this.$t('app.commonWords.valueMustBe')<#if datatype=='BigInteger' || datatype=='Integer' || datatype=='Double' || datatype=='Decimal' || datatype=='Float' || datatype=='BigDecimal'>this.$t('app.commonWords.number')<#else>this.$t('app.commonWords.string')</#if>this.$t('app.commonWords.kind')', trigger: 'blur' },
{ type: '<#assign datatype=srfjavatype(formdetail.getStdDataType())><#if datatype=='BigInteger' || datatype=='Integer' || datatype=='Double' || datatype=='Decimal' || datatype=='Float' || datatype=='BigDecimal'>number<#else>string</#if>', message: `<#if formdetail.getCapPSLanguageRes()??><#noparse>${</#noparse>this.$t('${formdetail.getCapPSLanguageRes().getLanResTag()}', '${formdetail.getCaption()}')<#noparse>}</#noparse><#else>${formdetail.getCaption()}</#if> <#noparse>${</#noparse>this.$t('app.commonWords.valueMustBe')<#noparse>}</#noparse><#if datatype=='BigInteger' || datatype=='Integer' || datatype=='Double' || datatype=='Decimal' || datatype=='Float' || datatype=='BigDecimal'><#noparse>${</#noparse>this.$t('app.commonWords.number')<#noparse>}</#noparse><#else><#noparse>${</#noparse>this.$t('app.commonWords.string')<#noparse>}</#noparse></#if><#noparse>${</#noparse>this.$t('app.commonWords.kind')<#noparse>}</#noparse>`, trigger: 'change' },
{ type: '<#assign datatype=srfjavatype(formdetail.getStdDataType())><#if datatype=='BigInteger' || datatype=='Integer' || datatype=='Double' || datatype=='Decimal' || datatype=='Float' || datatype=='BigDecimal'>number<#else>string</#if>', message: `<#if formdetail.getCapPSLanguageRes()??><#noparse>${</#noparse>this.$t('${formdetail.getCapPSLanguageRes().getLanResTag()}', '${formdetail.getCaption()}')<#noparse>}</#noparse><#else>${formdetail.getCaption()}</#if> <#noparse>${</#noparse>this.$t('app.commonWords.valueMustBe')<#noparse>}</#noparse><#if datatype=='BigInteger' || datatype=='Integer' || datatype=='Double' || datatype=='Decimal' || datatype=='Float' || datatype=='BigDecimal'><#noparse>${</#noparse>this.$t('app.commonWords.number')<#noparse>}</#noparse><#else><#noparse>${</#noparse>this.$t('app.commonWords.string')<#noparse>}</#noparse></#if><#noparse>${</#noparse>this.$t('app.commonWords.kind')<#noparse>}</#noparse>`, trigger: 'blur' },
{ required: this.detailsModel.${formdetail.getName()}.required, type: '<#assign datatype=srfjavatype(formdetail.getStdDataType())><#if datatype=='BigInteger' || datatype=='Integer' || datatype=='Double' || datatype=='Decimal' || datatype=='Float' || datatype=='BigDecimal'>number<#else>string</#if>', message: `<#if formdetail.getCapPSLanguageRes()??><#noparse>${</#noparse>this.$t('${formdetail.getCapPSLanguageRes().getLanResTag()}', '${formdetail.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: this.detailsModel.${formdetail.getName()}.required, type: '<#assign datatype=srfjavatype(formdetail.getStdDataType())><#if datatype=='BigInteger' || datatype=='Integer' || datatype=='Double' || datatype=='Decimal' || datatype=='Float' || datatype=='BigDecimal'>number<#else>string</#if>', message: `<#if formdetail.getCapPSLanguageRes()??><#noparse>${</#noparse>this.$t('${formdetail.getCapPSLanguageRes().getLanResTag()}', '${formdetail.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' },
],
......
Markdown 格式
0% or
您添加了 0 到此讨论。请谨慎行事。
先完成此消息的编辑!
想要评论请 注册