调整当天订单审批规则并完善订单复核状态展示

This commit is contained in:
summer committed 2026-10-23 11:58:19 +08:00
1 parent a506fb1228
commit 8a4d1df248
19 files changed
+545 -105

No files matched your search

+10
View File
@@ -40,6 +40,7 @@ input[type=number]::-webkit-inner-spin-button,input[type=number]::-webkit-outer-
@media(max-width:1100px){.order-book-table-wrap::before{content:"左右滑动查看完整表格 →";display:block;position:sticky;left:0;width:100%;padding:6px 12px;background:#f4f5ee;color:var(--muted);font-size:11px;white-space:nowrap;border-bottom:1px solid var(--border)}}
.order-book-table .order-book-customer-name{font-size:16px;font-weight:650;line-height:1.6;white-space:normal;overflow-wrap:anywhere}.order-book-table .order-book-secondary{font-size:11px;font-weight:400;color:var(--muted);white-space:normal;overflow-wrap:anywhere}
.order-book-table .order-reversed .order-book-customer-name{color:var(--danger)}
/* 库存:当前数量与昨日实际复核值并排核对。 */
.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}
@@ -125,3 +126,12 @@ button.order-copy-button:focus-visible{outline:3px solid var(--gold);outline-off
/* 信用卡费用与客户付款分开,自动金额在小屏上也完整可见。 */
@media screen{.credit-card-preview{margin:16px 0;padding:15px;border:1px solid #d2bf98;border-left:4px solid #9c732d;border-radius:7px;background:#fffaf0}.credit-card-heading{display:flex;align-items:baseline;gap:8px 16px;flex-wrap:wrap;margin-bottom:12px}.credit-card-heading>strong{color:#6e4b17;font-size:15px}.credit-card-fields{display:grid;grid-template-columns:repeat(2,minmax(0,1fr));gap:15px;max-width:560px}.credit-card-fields>label{min-width:0}.credit-card-preview>p{line-height:1.8;overflow-wrap:anywhere;margin:10px 0 0}.credit-card-preview input{font-variant-numeric:tabular-nums}#fee-rows .fee-row.fee-automatic{min-width:0;grid-template-columns:minmax(0,1.4fr) repeat(2,minmax(0,1fr));gap:14px;background:#fffaf0;padding:14px 10px;margin:8px 0;border:1px solid #d2bf98;border-radius:6px}#order-form[data-order-edit="true"] .fee-row.fee-automatic{min-width:0;grid-template-columns:minmax(0,1.4fr) repeat(3,minmax(0,1fr))}.fee-automatic>.fee-help{grid-column:1/-1;line-height:1.8}.fee-automatic.is-replaced{background:#f1eee7;color:#6e6455}.fee-automatic.is-replaced>.fee-help{color:#865d20}.price-lock-card-fees{margin:18px 0 0;padding:15px;background:#fffaf0;border:1px solid #d2bf98}.price-lock-card-fees>strong{color:#6e4b17}.price-lock-card-fees ul{padding:0;margin:10px 0;list-style:none}.price-lock-card-fees li{display:flex;justify-content:space-between;gap:14px;font-size:13px;margin:6px 0}.price-lock-card-fees li>span{min-width:0;overflow-wrap:anywhere}.price-lock-card-fees li>b{white-space:nowrap;font-variant-numeric:tabular-nums}.price-lock-card-fees>p{margin-bottom:0;line-height:1.8}}
@media screen and (max-width:650px){.credit-card-preview{padding:12px 10px}.credit-card-fields{gap:10px}.credit-card-fields label{font-size:12px}.credit-card-fields input,.credit-card-fields select{padding:10px 8px}.credit-card-heading>strong{font-size:14px}#fee-rows .fee-row.fee-automatic,#order-form[data-order-edit="true"] .fee-row.fee-automatic{grid-template-columns:repeat(2,minmax(0,1fr));gap:10px}.fee-automatic>.fee-title{grid-column:1/-1}.fee-automatic input,.fee-automatic select{padding:10px 8px}.price-lock-card-fees{padding:12px 10px}}
.order-header.order-detail-header{min-width:0;overflow-wrap:anywhere}.order-header.order-detail-header h2{font-size:30px;font-weight:700;line-height:1.4;white-space:normal;overflow-wrap:anywhere}.order-header.order-detail-header .order-detail-identifiers{font-size:11px;line-height:1.8;margin:6px 0 10px}
@media(max-width:650px){.order-header.order-detail-header h2{font-size:26px}}
.order-book-table .order-review-status{display:inline-block;margin-left:7px;padding:1px 6px;border-radius:4px;background:#e8efe4;color:#315a3d;font-size:11px;font-weight:600;white-space:nowrap}
/* 整单当前版本复核通过的醒目标记,仅用于内部订单明细。 */
.order-detail-heading{display:grid;grid-template-columns:minmax(0,1fr) auto;align-items:start;gap:22px}.order-detail-heading>h2{min-width:0;margin:0}.order-review-seal{width:116px;min-height:100px;display:flex;flex-direction:column;align-items:center;justify-content:center;gap:2px;padding:8px 6px;border:4px double #39734b;border-radius:12px;background:#f2f7ee;color:#2c653e;white-space:nowrap;line-height:1.35}.order-review-seal svg{width:23px;height:23px;fill:none;stroke:currentColor;stroke-width:1.8;stroke-linecap:round;stroke-linejoin:round}.order-review-seal strong{font-size:24px;font-weight:750;letter-spacing:2px}.order-review-seal small{font-size:11px;font-weight:600;letter-spacing:1px}
@media(max-width:650px){.order-detail-heading{grid-template-columns:minmax(0,1fr);gap:12px}.order-review-seal{justify-self:end;width:110px;min-height:94px}}