提交
This commit is contained in:
1 parent
a905d80623
commit
7541a167c0
33 files changed
+2715
-850
No files matched your search
@@ -83,23 +83,6 @@
|
||||
<div class="data-item"><div class="data-label">登记日期</div><div class="data-value">{{ formatYmd(protocol?.registerDate) }}</div></div>
|
||||
<div class="data-item"><div class="data-label">采集专员</div><div class="data-value">{{ collectorDisplay }}</div></div>
|
||||
<div class="data-item"><div class="data-label">创建时间</div><div class="data-value">{{ dash(protocol?.createTime) }}</div></div>
|
||||
<template v-if="showStorageCert">
|
||||
<div class="data-item">
|
||||
<div class="data-label">制作状态</div>
|
||||
<div class="data-value">
|
||||
<el-tag
|
||||
:type="storageCertMakeStatusTagType(String(storageCertInfo?.makeStatus || '0'))"
|
||||
size="small"
|
||||
>
|
||||
{{ storageCertMakeStatusLabel(String(storageCertInfo?.makeStatus || '0')) }}
|
||||
</el-tag>
|
||||
</div>
|
||||
</div>
|
||||
<div class="data-item">
|
||||
<div class="data-label">制作日期</div>
|
||||
<div class="data-value">{{ formatYmd(storageCertInfo?.makeDate) }}</div>
|
||||
</div>
|
||||
</template>
|
||||
</div>
|
||||
<!-- 协议状态变更记录(非储存证查看:仍在基本信息内) -->
|
||||
<div v-if="!showStorageCert && hasAnyStatusChange" class="status-change-section">
|
||||
@@ -123,23 +106,53 @@
|
||||
</template>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 储存证附件(储存证查看:在协议附件上方) -->
|
||||
<div v-if="showStorageCert" class="attachment-row">
|
||||
<div class="data-label">储存证附件</div>
|
||||
<ProtocolAttachmentReadonly
|
||||
:files="storageCertAttachments"
|
||||
@preview="openPreview"
|
||||
@download="downloadFile"
|
||||
/>
|
||||
<!-- 协议附件、备注同一行 -->
|
||||
<div
|
||||
v-if="protocolAttachments.length || (protocol?.remark && String(protocol.remark).trim())"
|
||||
class="data-grid data-grid--2 protocol-attach-remark-row"
|
||||
>
|
||||
<div class="data-item protocol-attachments-item">
|
||||
<div class="data-label">协议附件</div>
|
||||
<div class="data-value protocol-attachments-value">
|
||||
<ProtocolAttachmentReadonly
|
||||
:files="protocolAttachments"
|
||||
@preview="openPreview"
|
||||
@download="downloadFile"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="data-item">
|
||||
<div class="data-label">备注</div>
|
||||
<div class="data-value data-value--muted">{{ dash(protocol?.remark) }}</div>
|
||||
</div>
|
||||
</div>
|
||||
<!-- 协议附件 -->
|
||||
<div class="attachment-row" v-if="protocolAttachments.length">
|
||||
<div class="data-label">协议附件</div>
|
||||
<ProtocolAttachmentReadonly :files="protocolAttachments" @preview="openPreview" @download="downloadFile" />
|
||||
</div>
|
||||
<!-- 备注 -->
|
||||
<div class="remark-row" v-if="protocol?.remark">
|
||||
<div class="data-item data-item--full"><div class="data-label">备注</div><div class="data-value data-value--muted">{{ dash(protocol?.remark) }}</div></div>
|
||||
<!-- 储存证:储存证附件、制作状态、制作日期同一行(在协议附件行下方) -->
|
||||
<div v-if="showStorageCert" class="data-grid data-grid--3 storage-cert-info-row">
|
||||
<div class="data-item storage-cert-attachments-item">
|
||||
<div class="data-label">储存证附件</div>
|
||||
<div class="data-value storage-cert-attachments-value">
|
||||
<ProtocolAttachmentReadonly
|
||||
:files="storageCertAttachments"
|
||||
@preview="openPreview"
|
||||
@download="downloadFile"
|
||||
/>
|
||||
</div>
|
||||
</div>
|
||||
<div class="data-item">
|
||||
<div class="data-label">制作状态</div>
|
||||
<div class="data-value">
|
||||
<el-tag
|
||||
:type="storageCertMakeStatusTagType(String(storageCertInfo?.makeStatus || '0'))"
|
||||
size="small"
|
||||
>
|
||||
{{ storageCertMakeStatusLabel(String(storageCertInfo?.makeStatus || '0')) }}
|
||||
</el-tag>
|
||||
</div>
|
||||
</div>
|
||||
<div class="data-item">
|
||||
<div class="data-label">制作日期</div>
|
||||
<div class="data-value">{{ formatYmd(storageCertInfo?.makeDate) }}</div>
|
||||
</div>
|
||||
</div>
|
||||
</div>
|
||||
|
||||
@@ -1866,6 +1879,38 @@
|
||||
}
|
||||
}
|
||||
|
||||
/* 储存证:储存证附件 / 制作状态 / 制作日期同一行(在协议附件行下方) */
|
||||
.storage-cert-info-row {
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.storage-cert-attachments-item {
|
||||
.storage-cert-attachments-value {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
:deep(.protocol-attachment-empty) {
|
||||
font-size: 14px;
|
||||
color: #64748b;
|
||||
}
|
||||
}
|
||||
|
||||
/* 协议附件、备注同一行 */
|
||||
.protocol-attach-remark-row {
|
||||
margin-top: 14px;
|
||||
}
|
||||
|
||||
.protocol-attachments-item {
|
||||
.protocol-attachments-value {
|
||||
font-weight: 400;
|
||||
}
|
||||
|
||||
:deep(.protocol-attachment-empty) {
|
||||
font-size: 14px;
|
||||
color: #64748b;
|
||||
}
|
||||
}
|
||||
|
||||
/* ---- Attachment / Remark Row ---- */
|
||||
.attachment-row {
|
||||
margin-top: 12px;
|
||||
@@ -2786,6 +2831,18 @@
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.storage-cert-info-row.data-grid--3 {
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
|
||||
.storage-cert-attachments-item {
|
||||
grid-column: 1 / -1;
|
||||
}
|
||||
}
|
||||
|
||||
.protocol-attach-remark-row.data-grid--2 {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.payment-summary {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
@@ -2812,6 +2869,10 @@
|
||||
grid-template-columns: repeat(2, minmax(0, 1fr));
|
||||
}
|
||||
|
||||
.storage-cert-info-row.data-grid--3 {
|
||||
grid-template-columns: 1fr;
|
||||
}
|
||||
|
||||
.payment-summary {
|
||||
grid-template-columns: repeat(2, 1fr);
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user