feat: 支持采购任务追溯并安全重新创建 (#186)
This commit is contained in:
@@ -2,8 +2,8 @@
|
||||
{{/* 双击一行时弹出的内容。
|
||||
这是一个**片段**,不是整页——外面的弹窗壳子在 task/list.html 里。
|
||||
|
||||
`[必须]` 只读:本工单不做改派、重试、取消,弹窗里不放对应的表单和按钮,
|
||||
见 #19。采购专有字段(目标规格/数量/订单总价上限)在采集任务这里
|
||||
`[必须]` 字段只读:弹窗不直接改派、重试、取消或复制旧任务;失败/取消采购
|
||||
只允许导航回原顺运宝明细重新确认,见 #186。采购专有字段在采集任务这里
|
||||
**整段隐藏**,不显示空行。 */}}
|
||||
{{with .D}}
|
||||
<div class="modal-head">
|
||||
@@ -23,6 +23,16 @@
|
||||
<dt>完成时间</dt><dd>{{.FinishedAt}}</dd>
|
||||
</dl>
|
||||
|
||||
{{if .IsPurchase}}
|
||||
<h3>来源信息</h3>
|
||||
<dl class="detail">
|
||||
<dt>蝦皮订单号</dt><dd>{{.ShopeeOrderNo}}</dd>
|
||||
<dt>顺运宝明细 ID</dt><dd>{{.SybID}}</dd>
|
||||
<dt>蝦皮商品 ID</dt><dd>{{.ShopeeGoodsID}}</dd>
|
||||
<dt>PDD 商品 ID</dt><dd>{{.PddGoodsID}}</dd>
|
||||
</dl>
|
||||
{{end}}
|
||||
|
||||
<h3>执行参数</h3>
|
||||
<dl class="detail">
|
||||
<dt>PDD 链接</dt>
|
||||
@@ -70,6 +80,13 @@
|
||||
</div>
|
||||
|
||||
<div class="modal-foot">
|
||||
{{if .HasSybSource}}
|
||||
<span class="grow"></span>
|
||||
<a class="button-link" href="{{.ViewSybURL}}">查看原货运单</a>
|
||||
{{if .CanRecreatePurchase}}
|
||||
<a class="button-link primary" href="{{.RecreatePurchaseURL}}">重新创建采购任务</a>
|
||||
{{end}}
|
||||
{{end}}
|
||||
<button type="button" data-modal-close>关闭</button>
|
||||
</div>
|
||||
{{end}}
|
||||
|
||||
Reference in New Issue
Block a user