refactor: 拆分档案详情与追溯码管理
This commit is contained in:
@@ -185,20 +185,6 @@
|
||||
</n-card>
|
||||
</n-grid-item>
|
||||
|
||||
<!-- 批次与追溯码:每件实物一码 -->
|
||||
<n-grid-item>
|
||||
<n-card :title="t('pages.artwork.traceCodes')" :bordered="false">
|
||||
<n-descriptions :column="4" 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.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>
|
||||
</n-descriptions>
|
||||
<div class="trace-panel-wrap">
|
||||
<trace-code-panel :artwork-id="artworkId" embedded />
|
||||
</div>
|
||||
</n-card>
|
||||
</n-grid-item>
|
||||
</template>
|
||||
</n-grid>
|
||||
|
||||
@@ -271,7 +257,6 @@ import { artworkApi, templateApi } from '@/api';
|
||||
import { useAuthStore } from '@/stores/auth';
|
||||
import MediaUpload from '@/components/MediaUpload.vue';
|
||||
import MediaSorter from '@/components/MediaSorter.vue';
|
||||
import TraceCodePanel from '@/components/TraceCodePanel.vue';
|
||||
import { message, dialog } from '@/utils/feedback';
|
||||
import { fmtDate } from '@/utils/format';
|
||||
|
||||
@@ -490,9 +475,6 @@ onMounted(async () => {
|
||||
.mr8 {
|
||||
margin-right: 8px;
|
||||
}
|
||||
.trace-panel-wrap {
|
||||
margin-top: 14px;
|
||||
}
|
||||
.node-head {
|
||||
display: flex;
|
||||
justify-content: space-between;
|
||||
|
||||
Reference in New Issue
Block a user