Commit b97fa6a8 authored by youjie's avatar youjie

no message

parent 0be014ee
......@@ -40,7 +40,7 @@
<div
v-for="(item,index) in dataList"
class="row items-center left-text text-dark">
<div>{{item.updateTime | YMD}}</div>
<div>{{item.updateTime}}</div>
<div>{{item.description}}</div>
<div><span :class="{'text-red':item.money>0}"><template v-if="item.money>0">+</template> ¥{{item.money}}</span></div>
</div>
......@@ -100,7 +100,10 @@
passbookService.getBankbookUseDetail(data.queryTime)
.then(r => {
if (r.data.resultCode == ApiResult.SUCCESS) {
data.dataList= r.data.data.pageData;
let list = r.data.data.pageData.forEach(item=>{
item.updateTime = date.formatDate(item.updateTime, 'YYYY/MM/DD')
})
data.dataList= list;
} else {
message.errorMsg(r.data.message)
}
......@@ -110,7 +113,7 @@
})
},
}
console.log(date.formatDate(1683855009, 'YYYY/MM/DD'),'=====')
onMounted(() => {
methods.getList()
});
......
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