feat: 优化批量匹配和分页默认值 (#244)

This commit is contained in:
chengma
2026-08-15 15:56:16 +08:00
parent f315b02d3d
commit ad5bd834d3
17 changed files with 340 additions and 82 deletions
+27 -1
View File
@@ -63,7 +63,33 @@
data-need-checked="inner-code-delete" disabled>删除已选 <span data-inner-code-delete-count>0</span> 条</button>
</div>
{{if .Message}}<p class="notice inner-code-notice" role="status" aria-live="polite">{{.Message}}</p>{{end}}
{{if .FeedbackSuccess}}
<div class="notice inner-code-toast" role="status" aria-live="polite"
data-auto-dismiss-toast data-transient-feedback data-transient-query="feedback message">
{{.FeedbackMessage}}
</div>
{{end}}
{{if .FeedbackError}}
<div class="modal-backdrop" id="inner-code-feedback-error-modal" data-auto-open-modal
data-transient-feedback data-transient-query="feedback message" hidden>
<section class="modal modal-narrow" role="alertdialog" aria-modal="true"
aria-labelledby="inner-code-feedback-error-title"
aria-describedby="inner-code-feedback-error-message">
<div class="modal-head">
<h2 id="inner-code-feedback-error-title">档口入库码操作未完成</h2>
<button type="button" class="modal-x" data-modal-close aria-label="关闭">×</button>
</div>
<div class="modal-body">
<p class="missing" id="inner-code-feedback-error-message">{{.FeedbackMessage}}</p>
<p class="hint">系统不会因本弹窗自动重复匹配或回写。请按提示处理后重新选择记录。</p>
</div>
<div class="modal-foot">
<button type="button" data-modal-close autofocus>关闭</button>
</div>
</section>
</div>
{{end}}
<div class="table-wrap inner-code-table-wrap" role="region" aria-label="档口入库码记录列表" tabindex="0">
<table class="inner-code-table">