fix: 完善顺运宝列表紧凑布局 (#216)
This commit is contained in:
@@ -64,9 +64,6 @@
|
||||
|
||||
{{if .RangeError}}<p class="missing sync-range-message" role="alert">{{.RangeError}}</p>{{end}}
|
||||
{{if .RangeWarning}}<p class="hint sync-range-message">{{.RangeWarning}}</p>{{end}}
|
||||
<p class="hint sync-range-message">
|
||||
按顺运宝货运单创建日期(UTC+8)同步,开始日和结束日都包含,每次最多 31 天;当前在店铺管理中启用 {{.EnabledSyncShopCount}} 个 SYB 同步店铺。
|
||||
</p>
|
||||
|
||||
<div class="modal-backdrop" id="sync-history-modal" {{if not .NeedSyncHistory}}hidden{{end}}>
|
||||
<div class="modal modal-wide" role="dialog" aria-modal="true"
|
||||
@@ -109,7 +106,6 @@
|
||||
<th>数量</th>
|
||||
<th>价格</th>
|
||||
<th>图片</th>
|
||||
<th>处理阶段</th>
|
||||
<th>下一步</th>
|
||||
<th>更新时间</th>
|
||||
</tr>
|
||||
@@ -146,22 +142,23 @@
|
||||
</button>
|
||||
{{else}}—{{end}}
|
||||
</td>
|
||||
<td><span class="status-pill">{{.StageText}}</span><br><small>{{.StageHelp}}</small>{{if .PddAssociationText}}<br><small class="hint">{{.PddAssociationText}}</small>{{end}}</td>
|
||||
<td>
|
||||
{{if eq .Stage "purchase_ready"}}
|
||||
<button type="button" data-modal-open="purchase-modal" data-purchase-open
|
||||
data-purchase-id="{{.SybID}}">{{.ActionText}}</button>
|
||||
data-purchase-id="{{.SybID}}" title="{{.StageHelp}}">{{.ActionText}}</button>
|
||||
{{else if or (eq .Stage "task_created") (eq .Stage "purchase_completed") (eq .Stage "purchase_review")}}
|
||||
<a class="button-link" href="/tasks?type=purchase&q={{urlquery .OrderNo}}">{{.ActionText}}</a>
|
||||
<a class="button-link" href="/tasks?type=purchase&q={{urlquery .OrderNo}}"
|
||||
title="{{.StageHelp}}">{{.ActionText}}</a>
|
||||
{{else}}
|
||||
<button type="button" data-detail-open-id="{{.SybID}}">{{.ActionText}}</button>
|
||||
<button type="button" data-detail-open-id="{{.SybID}}"
|
||||
title="{{.StageHelp}}">{{.ActionText}}</button>
|
||||
{{end}}
|
||||
</td>
|
||||
<td>{{.UpdatedAt}}</td>
|
||||
</tr>
|
||||
{{else}}
|
||||
<tr class="empty">
|
||||
<td colspan="12">
|
||||
<td colspan="11">
|
||||
{{if .IsFiltered}}
|
||||
当前筛选条件下没有货运单明细。<br>
|
||||
<small>换个店铺、订单号或清空筛选条件再试。<a href="/syb">查看全部</a></small>
|
||||
|
||||
Reference in New Issue
Block a user