fix: 移除快递合同管理签署完成证书列 (#340)

删除合同管理中的证书列和对应入口,保留已签合同查看、下载及归档文件。9 项测试 / 71 断言及实际浏览器验证通过。
This commit is contained in:
limeng 2026-10-15 15:55:41 +08:00
parent 6518995e45
commit c30cff7d0d

View File

@ -46,7 +46,7 @@
<table class="courier-information-table courier-contract-table" id="courier-contract-table" aria-label="快递合同管理">
<thead><tr>
<th>快递公司</th><th>期限状态</th><th>合同编号</th><th>合同开始日期</th><th>合同结束日期</th><th>距到期天数</th><th>已签署合作合同附件</th>
<th>乙方合同签署主体</th><th>乙方法定代表人</th><th>创建人</th><th>创建时间</th><th>甲方签署主体</th><th>归档时间</th><th>签署单号</th><th>签署完成证书</th>
<th>乙方合同签署主体</th><th>乙方法定代表人</th><th>创建人</th><th>创建时间</th><th>甲方签署主体</th><th>归档时间</th><th>签署单号</th>
</tr></thead>
<tbody>
@forelse ($contractRows as $contract)
@ -71,10 +71,9 @@
<td>{{ $contract['party_a'] ?: '未填写' }}</td>
<td class="is-code">{{ $datetime($contract['archived_at']) }}</td>
<td class="is-code">{{ $contract['business_no'] }}</td>
<td>@if ($contract['has_certificate'])<a href="{{ $fileUrl($contract['id'], 'certificate') }}">下载证书</a>@else未归档证书@endif</td>
</tr>
@empty
<tr class="is-empty"><td colspan="15" class="courier-information-empty">{{ $courierContractError ? '合同数据暂时不可用,请重试。' : '当前条件下没有已归档的快递合作合同。签署完成且归档后会自动显示,待签署、待归档和供应商合同不在此处展示。' }}</td></tr>
<tr class="is-empty"><td colspan="14" class="courier-information-empty">{{ $courierContractError ? '合同数据暂时不可用,请重试。' : '当前条件下没有已归档的快递合作合同。签署完成且归档后会自动显示,待签署、待归档和供应商合同不在此处展示。' }}</td></tr>
@endforelse
</tbody>
</table>