From 847ec32144290ff1d7f6e87cfc88233531f63db6 Mon Sep 17 00:00:00 2001 From: wangbeihong Date: Fri, 13 Mar 2026 22:11:37 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20=E9=87=8D=E6=9E=84=E7=BC=96=E8=BE=91?= =?UTF-8?q?=E9=A1=B5=E9=9D=A2=EF=BC=8C=E4=BC=98=E5=8C=96=E8=A1=A8=E5=8D=95?= =?UTF-8?q?=E5=B8=83=E5=B1=80=E5=92=8C=E6=A0=B7=E5=BC=8F=EF=BC=8C=E5=A2=9E?= =?UTF-8?q?=E5=BC=BA=E7=94=A8=E6=88=B7=E4=BD=93=E9=AA=8C?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- static/css/style.css | 43 +++++++++++ templates/edit.html | 177 ++++++++++++++++++++++++------------------- 2 files changed, 143 insertions(+), 77 deletions(-) diff --git a/static/css/style.css b/static/css/style.css index febd0e8..e31387a 100644 --- a/static/css/style.css +++ b/static/css/style.css @@ -1212,6 +1212,35 @@ th { overflow: auto; } +.edit-stack { + display: grid; + grid-template-columns: minmax(0, 1.6fr) minmax(340px, 1fr); + gap: var(--space-2); + align-items: start; +} + +.lcsc-import-panel .lcsc-inline-form { + grid-template-columns: 2fr 1fr; + align-items: end; +} + +.edit-stack .lcsc-import-panel, +.edit-stack > .quick-inbound-panel, +.edit-stack > .edit-guide-panel { + grid-column: 1; +} + +.edit-form-panel { + grid-column: 2; + grid-row: 1 / span 3; + position: sticky; + top: 92px; +} + +.edit-guide-panel { + max-width: 100%; +} + .ai-standardize-preview { display: grid; gap: var(--space-1); @@ -1332,6 +1361,20 @@ th { .entry-sidebar { position: static; } + + .lcsc-import-panel .lcsc-inline-form { + grid-template-columns: 1fr; + } + + .edit-stack { + grid-template-columns: 1fr; + } + + .edit-form-panel { + grid-column: auto; + grid-row: auto; + position: static; + } } @media (max-width: 760px) { diff --git a/templates/edit.html b/templates/edit.html index 033cff1..cf779d0 100644 --- a/templates/edit.html +++ b/templates/edit.html @@ -30,8 +30,76 @@

当前为锁仓模式: 禁止删除位置绑定,禁止替换当前位置料号。

{% endif %} -
-
+
+
+

立创编号入库

+

当前编辑位置: {{ slot_code }}。仅支持粘贴立创商品详情页链接,系统会自动提取 itemId 并查询。

+
+ + + + +
+ + 接口参数 +
+
+
+ +
+
+

AI 标签与备注标准化

+ +
+ +
+ +
- +