feat: 顺运宝下一步支持单条建采购任务 (#106)

This commit is contained in:
chengma
2026-08-10 16:34:55 +08:00
parent fb2e4c4dab
commit 7106f6b024
6 changed files with 86 additions and 38 deletions
+10 -1
View File
@@ -127,7 +127,16 @@
{{else}}—{{end}}
</td>
<td><span class="status-pill">{{.StageText}}</span><br><small>{{.StageHelp}}</small></td>
<td><button type="button" data-detail-open-id="{{.SybID}}">{{.ActionText}}</button></td>
<td>
{{if eq .Stage "purchase_ready"}}
<button type="button" data-modal-open="purchase-modal" data-purchase-open
data-purchase-id="{{.SybID}}">{{.ActionText}}</button>
{{else if eq .Stage "task_created"}}
<a class="button-link" href="/tasks?type=purchase&q={{urlquery .OrderNo}}">{{.ActionText}}</a>
{{else}}
<button type="button" data-detail-open-id="{{.SybID}}">{{.ActionText}}</button>
{{end}}
</td>
<td>{{.UpdatedAt}}</td>
</tr>
{{else}}