Commit 3991fff4 authored by zhengke's avatar zhengke

修改时间显示

parent be469dae
......@@ -669,7 +669,7 @@
<tr v-for="(item,index) in CtObj.ContractTicketList" :key="index">
<td>{{index+1}}</td>
<td>
<span v-if="item.IsShow == 0">{{item.TicketTime}}</span>
<span v-if="item.IsShow == 0">{{item.TicketTime | YMD}}</span>
<el-date-picker v-else class="w200" v-model="item.TicketTime" type="datetime"
format="yyyy-MM-dd HH:mm" placeholder=''></el-date-picker>
</td>
......@@ -1404,6 +1404,11 @@
};
},
filters:{
YMD(date){
return moment(date).format("YYYY-MM-DD HH:mm");
}
},
methods: {
//跳转锚点
goAnchor(selector) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment