feat: 添加锁仓模式设置,优化编辑和入库功能提示

This commit is contained in:
2026-03-12 14:10:35 +08:00
parent 8928da3929
commit 61ffab497f
3 changed files with 28 additions and 1 deletions

View File

@@ -72,6 +72,10 @@
立创接口超时(秒)
<input type="number" name="lcsc_timeout" min="5" value="{{ settings.lcsc_timeout }}">
</label>
<label class="full">
<input type="checkbox" name="lock_storage_mode" value="1" {% if settings.lock_storage_mode %}checked{% endif %}>
开启锁仓模式(禁止删除位置绑定、禁止替换当前位置料号)
</label>
<p class="hint full">输入 C 编号(如 <code>C23186</code>)时,系统按 <code>productCode</code> 查询;输入纯数字时按 <code>productId</code> 查询。</p>
<div class="actions full">
<button class="btn" type="submit">保存参数</button>