【add】vue模板修改日期组件date-format属性
This commit is contained in:
+3
-3
@@ -26,11 +26,11 @@
|
|||||||
<a-col :span="${form_span}">
|
<a-col :span="${form_span}">
|
||||||
<a-form-item label="${po.filedComment}" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
<a-form-item label="${po.filedComment}" :labelCol="labelCol" :wrapperCol="wrapperCol">
|
||||||
<#if po.classType =='date'>
|
<#if po.classType =='date'>
|
||||||
<j-date show-type="day" placeholder="请选择${po.filedComment}" v-decorator="['${po.fieldName}'${autoWriteRules(po)}]" :trigger-change="true" style="width: 100%" <#if po.readonly=='Y'>disabled</#if>/>
|
<j-date date-format="YYYY-MM-DD" show-type="day" placeholder="请选择${po.filedComment}" v-decorator="['${po.fieldName}'${autoWriteRules(po)}]" :trigger-change="true" style="width: 100%" <#if po.readonly=='Y'>disabled</#if>/>
|
||||||
<#elseif po.classType =='datetime'>
|
<#elseif po.classType =='datetime'>
|
||||||
<j-date show-type="time" placeholder="请选择${po.filedComment}" v-decorator="['${po.fieldName}'${autoWriteRules(po)}]" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" <#if po.readonly=='Y'>disabled</#if>/>
|
<j-date date-format="YYYY-MM-DD HH:mm:ss" show-type="time" placeholder="请选择${po.filedComment}" v-decorator="['${po.fieldName}'${autoWriteRules(po)}]" :trigger-change="true" :show-time="true" date-format="YYYY-MM-DD HH:mm:ss" style="width: 100%" <#if po.readonly=='Y'>disabled</#if>/>
|
||||||
<#elseif po.classType =='time'>
|
<#elseif po.classType =='time'>
|
||||||
<j-time show-type="time" placeholder="请选择${po.filedComment}" v-decorator="['${po.fieldName}'${autoWriteRules(po)}]" :trigger-change="true" style="width: 100%" <#if po.readonly=='Y'>disabled</#if>/>
|
<j-time date-format="YYYY-MM-DD HH:mm:ss" show-type="time" placeholder="请选择${po.filedComment}" v-decorator="['${po.fieldName}'${autoWriteRules(po)}]" :trigger-change="true" style="width: 100%" <#if po.readonly=='Y'>disabled</#if>/>
|
||||||
<#elseif po.classType =='popup'>
|
<#elseif po.classType =='popup'>
|
||||||
<j-popup
|
<j-popup
|
||||||
v-decorator="['${po.fieldName}'${autoWriteRules(po)}]"
|
v-decorator="['${po.fieldName}'${autoWriteRules(po)}]"
|
||||||
|
|||||||
Reference in New Issue
Block a user