增加库存流水分页筛选与每日自动快照

This commit is contained in:
summer committed 2026-10-26 22:46:55 +08:00
1 parent b3b67c8003
commit aa7f7cad27
12 files changed
+659 -55

No files matched your search

+3 -1
View File
@@ -44,8 +44,10 @@ input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-
.order-book-table .order-reversed .order-book-customer-name{color:var(--danger)}
.order-book-table .order-book-identity-line{display:flex;align-items:baseline;flex-wrap:wrap;gap:5px 7px;margin-top:0}.order-book-identity-line>.order-book-customer-name{min-width:0}.order-book-table .order-book-recovery-badge{display:inline-block;flex-shrink:0;border:1px solid #b8872b;border-radius:4px;background:#fff0c5;color:#79500d;padding:1px 6px;font-size:12px;line-height:1.65;font-weight:700;white-space:nowrap}.order-book-table .order-book-recovery-badge.is-exchange{border-color:#4f8494;background:#e6f2f6;color:#275b6a}.order-book-table .order-book-recovery-payment{font-size:12px;font-weight:600;color:#79500d;white-space:nowrap}.order-book-table .order-book-recovery-print{padding:1px 0;font-size:11px;margin-top:3px}
/* 库存:当前数量与昨日实际复核值并排核对。 */
/* 库存:当前数量与昨日实际保存值并排核对。 */
.stock-heading{align-items:flex-start;flex-wrap:wrap}.stock-heading>.actions{align-items:center}.stock-export{font-size:12px;padding:8px 0;margin-left:3px;white-space:nowrap}.stock-cards{display:grid;grid-template-columns:repeat(5,minmax(0,1fr));gap:14px;margin-bottom:18px}.stock-cards .stock-card{padding:18px 16px;min-width:0}.stock-card .stock-pocket-name{font-size:14px;font-weight:600;color:var(--ink)}.stock-current-label{font-size:11px;color:var(--muted);margin-top:10px}.stock-cards .stock-card>strong{font-size:27px;line-height:1.4;margin:3px 0 12px;white-space:nowrap}.stock-card>strong>span{font-size:13px;font-weight:400}.stock-reserved{font-size:10px;margin:-5px 0 10px;line-height:1.6}.stock-yesterday{padding-top:10px;border-top:1px solid var(--border);display:flex;flex-direction:column;gap:3px}.stock-yesterday>span{font-size:11px}.stock-yesterday>span>small{display:inline;font-size:10px;margin-left:4px}.stock-yesterday>b{font-size:15px;font-weight:500;font-variant-numeric:tabular-nums}.stock-yesterday>b.muted{font-size:12px;font-weight:400}.stock-review-status{margin:0 0 24px;line-height:1.7}.stock-review-status p{margin:6px 0 0}.stock-review-stale{color:#805617}.stock-review-stale p{color:#805617}.stock-review-status .badge{margin-right:4px}.stock-entry h2{margin-bottom:7px}.stock-entry>p{margin-bottom:18px}.stock-entry-fields{display:grid;grid-template-columns:minmax(90px,.7fr) minmax(125px,1fr) minmax(130px,1fr) minmax(155px,1fr);gap:16px}.stock-entry-fields>label{min-width:0}.is-transfer .stock-entry-fields{grid-template-columns:minmax(80px,.65fr) minmax(105px,1fr) minmax(105px,1fr) minmax(120px,1fr) minmax(150px,1.1fr)}.stock-entry-bottom{display:flex;align-items:flex-end;gap:16px;margin-top:16px}.stock-entry-bottom>label{flex:1;min-width:0}.stock-entry-bottom>button{min-height:43px;white-space:nowrap}.stock-history .panel-title{margin-bottom:15px}.stock-history-filters{display:flex;align-items:center;gap:16px;flex-wrap:wrap;margin-bottom:17px}.stock-history-periods{display:flex;gap:6px}.stock-history-periods button{padding:7px 15px;font-weight:500}.stock-history-periods button.active{background:var(--green);border-color:var(--green);color:white}.stock-snapshot-table{min-width:815px}.stock-snapshot-table th.number{text-align:right}.stock-snapshot-table td{font-variant-numeric:tabular-nums}.stock-snapshot-table td:first-child{white-space:nowrap}.stock-snapshot-table .stock-snapshot-note{min-width:155px;max-width:235px;font-size:12px}.stock-snapshot-note .small{margin-top:5px}.stock-stale-text{color:#805617}.stock-history-note{margin:13px 0 0}.stock-message{padding:28px 15px;text-align:center;color:var(--muted)}.stock-message.error{color:var(--danger)}.stock-message>div{margin-top:12px}.stock-legacy{font-size:12px;color:var(--muted);margin:0 0 20px}.stock-legacy summary{font-weight:500}.stock-legacy p{margin:10px 0 0}
.stock-yesterday .stock-yesterday-source{font-size:10px;line-height:1.5}.stock-automatic-status{overflow-wrap:anywhere}
.inventory-movement-pagination{display:flex;align-items:center;justify-content:space-between;gap:12px;flex-wrap:wrap;margin:0 0 16px}.inventory-movement-pagination:empty{display:none}.inventory-movement-pagination .actions{gap:8px}.inventory-movement-pagination button{padding:7px 14px}
@media(max-width:1150px){.stock-cards{grid-template-columns:repeat(3,minmax(0,1fr))}.stock-cards .stock-card>strong{font-size:25px}}
@media(max-width:850px){.stock-entry-fields,.is-transfer .stock-entry-fields{grid-template-columns:repeat(2,minmax(0,1fr))}.stock-heading>.actions{width:100%}}
@media(max-width:650px){.stock-cards{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.stock-cards .stock-card{padding:14px 12px}.stock-cards .stock-card>strong{font-size:24px}.stock-yesterday>b{font-size:14px}.stock-heading{gap:15px}.stock-heading .actions{gap:8px}.stock-heading .actions>button{font-size:12px;padding:9px 12px}.stock-export{margin-left:2px}.stock-entry-fields,.is-transfer .stock-entry-fields{gap:12px}.stock-entry-bottom{align-items:stretch;flex-direction:column;gap:13px}.stock-entry-bottom>button{align-self:flex-start}.stock-history-filters{gap:12px}.stock-history-filters #inventory-history-caption{width:100%;margin-top:-4px}.stock-history .panel-title{gap:10px}.stock-history-note{font-size:11px}}