feat: 细胞存储缴费催缴、统一样本信息与协议支付能力增强
汇总近期业务改动:催缴菜单与后端、样本信息快捷登记与进度、运费关联、客户档案扩展、协议优惠/期次与押金划转,并同步 SQL 迁移与管理端页面收敛。 Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
1 parent
2d3472f5c4
commit
db31990ebe
235 files changed
+14898
-10196
No files matched your search
@@ -5,8 +5,8 @@ export function looksLikeDateTime(value: unknown): boolean {
|
||||
}
|
||||
|
||||
/**
|
||||
* 展示用日期时间:若时分秒均为 0(或无时间部分)则只显示 YYYY-MM-DD;
|
||||
* 否则保留有意义的时间部分。
|
||||
* 展示用日期时间:若时分均为 0(或无时间部分)则只显示 YYYY-MM-DD;
|
||||
* 否则显示到时分(不含秒)。
|
||||
*/
|
||||
export function formatDateTimeDisplay(value: string | number | null | undefined): string {
|
||||
const s = String(value ?? '').trim()
|
||||
@@ -22,9 +22,6 @@ export function formatDateTimeDisplay(value: string | number | null | undefined)
|
||||
if (hh === '00' && mm === '00' && ss.startsWith('00')) {
|
||||
return date
|
||||
}
|
||||
if (ss && ss !== '00') {
|
||||
return `${date} ${hh}:${mm}:${ss.slice(0, 2)}`
|
||||
}
|
||||
return `${date} ${hh}:${mm}`
|
||||
}
|
||||
|
||||
|
||||
Reference in new issue
Block a user