Explorar o código

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

xiongxing hai 2 semanas
pai
achega
ecaba7938a
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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')
 }
 
 /** 打开弹窗 */