feat(hand-factory): 新增移库和查看钢卷功能并优化UI

- 新增移库操作流程,包括扫描钢卷和目标库区
- 添加查看存储钢卷功能,支持快速查看库区钢卷信息
- 优化material-picker组件,显示物料类型信息
- 更新版本号至1.3.13并调整API基础地址
- 改进UI样式,包括按钮布局和扫码界面
- 修复更新弹窗取消按钮文本问题
This commit is contained in:
砂糖
2025-11-25 16:57:59 +08:00
parent 06cb85d7b4
commit bffd7a0666
9 changed files with 1263 additions and 411 deletions

View File

@@ -155,13 +155,15 @@ function checkUpdate(forceCheck = false) {
title: '发现新版本',
content: `检测到新版本(${remoteVersion}),是否立即下载并更新?`,
confirmText: '立即更新',
cancelText: '暂不更新',
cancelText: '退出',
showCancel: true,
success: (modalRes) => {
if (modalRes.confirm) {
// 用户确认更新:检查存储空间 -> 下载 -> 安装
handleConfirmUpdate(wgtUrl, remoteVersion);
} else {
// 直接退出
// 用户取消更新:询问是否忽略该版本
handleCancelUpdate(remoteVersion);
}