diff --git a/static/style.css b/static/style.css index 3b07a00..0095f51 100644 --- a/static/style.css +++ b/static/style.css @@ -78,6 +78,14 @@ button:hover, .btn:hover { filter: brightness(.96); } .bom-filter label { margin: 0; white-space: nowrap; } .bom-filter select { width: auto; min-width: 260px; } +/* 入库/出库: 物料编码输入框(输入或扫码自动定位) */ +.pn-lookup { display: flex; align-items: center; gap: 10px; margin-bottom: 4px; } +.pn-lookup input { width: 280px; } +.pn-hint { font-size: 13px; white-space: nowrap; } +.pn-hint.ok { color: #1a7f47; } +.pn-hint.warn { color: #ad6800; } +.pn-hint.danger { color: #cf1322; } + /* BOM 模拟齐套模式 */ .sim-bar { display: flex; align-items: center; gap: 10px; margin: 0 0 16px; flex-wrap: wrap; padding: 10px 12px; background: #f7f9fc; border: 1px solid #e3e8ef; border-radius: 8px; } .sim-bar label { margin: 0; white-space: nowrap; } diff --git a/templates/txn.html b/templates/txn.html index ee7eca5..59c0166 100644 --- a/templates/txn.html +++ b/templates/txn.html @@ -11,11 +11,16 @@