Browse Source

对账单预览支付时间取年月日

xiongxing 2 weeks ago
parent
commit
ecaba7938a
1 changed files with 1 additions and 1 deletions
  1. 1 1
      src/views/elderly/fee/bill-pay/preview.vue

+ 1 - 1
src/views/elderly/fee/bill-pay/preview.vue

@@ -205,7 +205,7 @@ const roundDown = ref(0)
 const formatPayCreatedTime = (createdTime) => {
   if (!createdTime) return ''
   const timestamp = String(createdTime).length === 10 ? Number(createdTime) * 1000 : Number(createdTime)
-  return dayjs(timestamp).format('YYYY-MM-DD HH:mm:ss')
+  return dayjs(timestamp).format('YYYY-MM-DD')
 }
 
 /** 打开弹窗 */