diff --git a/web-admin/src/views/m/pl/plan-cert/ArchiveTab.vue b/web-admin/src/views/m/pl/plan-cert/ArchiveTab.vue index fd73f68cb..b7b7aabb3 100644 --- a/web-admin/src/views/m/pl/plan-cert/ArchiveTab.vue +++ b/web-admin/src/views/m/pl/plan-cert/ArchiveTab.vue @@ -12,11 +12,13 @@ @click="open(row)" >
-
+
{{ row.certNo }}
-
{{ - row.certType === 'transport' ? '运输证' : '购买证' - }}
+ {{ row.certType === 'transport' ? '运输证' : '购买证' }}
{{ statusLabel(row.status) diff --git a/web-admin/src/views/m/pl/plan-cert/cert-mobile.scss b/web-admin/src/views/m/pl/plan-cert/cert-mobile.scss index d1176fc97..5c680545c 100644 --- a/web-admin/src/views/m/pl/plan-cert/cert-mobile.scss +++ b/web-admin/src/views/m/pl/plan-cert/cert-mobile.scss @@ -38,6 +38,20 @@ } .mp-plan-cert-list .mp-wv-flat-card { + .mp-cert-card__main { + display: flex; + flex-direction: column; + align-items: flex-start; + min-width: 0; + } + + .mp-cert-kind-tag { + width: fit-content; + max-width: 100%; + margin-top: 4px; + white-space: nowrap; + } + .mp-wv-card__no { font-size: 17px; } diff --git a/web-admin/src/views/pl/quota-cert/index.vue b/web-admin/src/views/pl/quota-cert/index.vue index a18465f37..483a57c96 100644 --- a/web-admin/src/views/pl/quota-cert/index.vue +++ b/web-admin/src/views/pl/quota-cert/index.vue @@ -63,9 +63,11 @@ >{{ row.certNo }}{{ - row.certType === 'transport' ? '运输证' : '购买证' - }}{{ row.certType === 'transport' ? '运输证' : '购买证' }} + String(row.createTime || '').replace('T', ' ') + }, { prop: 'certNo', label: '编号', type: 'text' }, { prop: 'certType', @@ -1685,14 +1694,7 @@ enumOptions: Object.entries(statusLabels).map(([value, label]) => ({ value, label })) }, ...qtyColumns.map((c) => ({ prop: c.key, label: c.label, type: 'number' as const })), - { prop: 'validTo', label: '有效期限止', type: 'datetime' }, - { - prop: 'createTime', - label: '上传时间', - type: 'datetime' as const, - getValue: (row: { createTime?: string | null }) => - String(row.createTime || '').replace('T', ' ') - } + { prop: 'validTo', label: '有效期限止', type: 'datetime' } ] const { visibleColumns, checkAll, isIndeterminate, resetToDefault } = usePersistedListColumns( 'pl-quota-cert-columns-v4',