feat: 增强追溯码单码管理

This commit is contained in:
Nixevol
2026-07-04 05:38:58 +08:00
parent 79bd6270c0
commit a1120848e9
10 changed files with 222 additions and 9 deletions
+3 -2
View File
@@ -17,8 +17,9 @@
</n-tag>
</div>
</template>
<n-descriptions :column="4" label-placement="top" bordered size="small">
<n-descriptions :column="5" label-placement="top" bordered size="small">
<n-descriptions-item :label="t('pages.artwork.archiveNo')">{{ artwork?.archiveNo || '-' }}</n-descriptions-item>
<n-descriptions-item :label="t('pages.artwork.batchCount')">{{ artwork?.codeStats?.batchTotal ?? artwork?.batches?.length ?? 0 }}</n-descriptions-item>
<n-descriptions-item :label="t('pages.artwork.codeCount')">{{ artwork?.codeStats?.total ?? 0 }}</n-descriptions-item>
<n-descriptions-item :label="t('pages.artwork.activeCount')">{{ artwork?.codeStats?.active ?? 0 }}</n-descriptions-item>
<n-descriptions-item :label="t('pages.artwork.queryTotal')">{{ artwork?.codeStats?.queryTotal ?? 0 }}</n-descriptions-item>
@@ -27,7 +28,7 @@
<n-card :title="t('pages.artwork.traceCodes')" :bordered="false" class="table-card">
<div class="trace-table-wrap">
<trace-code-panel :artwork-id="artworkId" />
<trace-code-panel :artwork-id="artworkId" @changed="loadArtwork" />
</div>
</n-card>
</div>