From 3d83f94f249ef2ffae20935bba67d6d1757812f6 Mon Sep 17 00:00:00 2001 From: wangjia <809946525@qq.com> Date: Wed, 24 Jun 2026 18:40:23 +0800 Subject: [PATCH] chore: release client-v1.0.81 Co-Authored-By: Claude Opus 4.8 --- CHANGELOG-client.md | 6 ++++++ .../lib/screens/stock_in/stock_in_list_screen.dart | 13 +++++++++---- .../screens/stock_out/stock_out_list_screen.dart | 13 +++++++++---- 3 files changed, 24 insertions(+), 8 deletions(-) diff --git a/CHANGELOG-client.md b/CHANGELOG-client.md index 92b4310..21fd744 100644 --- a/CHANGELOG-client.md +++ b/CHANGELOG-client.md @@ -5,6 +5,12 @@ All notable changes to this project will be documented in this file. The format is based on [Keep a Changelog](https://keepachangelog.com/en/1.0.0/), and this project adheres to [Semantic Versioning](https://semver.org/spec/v2.0.0.html). +## [1.0.81] - 2026-06-24 + +### 改进 +- 出库 / 入库单详情全屏弹窗只覆盖内容区,不再遮挡左侧菜单栏、顶栏与状态栏。 +- 出库 / 入库单详情标题栏改为浅色配色(浅蓝底 + 深色文字),观感更清爽。 + ## [1.0.80] - 2026-06-24 ### 新功能 diff --git a/client/lib/screens/stock_in/stock_in_list_screen.dart b/client/lib/screens/stock_in/stock_in_list_screen.dart index e86871d..5a5632d 100644 --- a/client/lib/screens/stock_in/stock_in_list_screen.dart +++ b/client/lib/screens/stock_in/stock_in_list_screen.dart @@ -607,6 +607,8 @@ class _StockInListScreenState extends ConsumerState { Future _showDetail(BuildContext context, int orderId) async { showAppDialog( context: context, + // 用分支 Navigator 承载,全屏弹窗只覆盖内容区,不盖住左侧栏/顶栏/状态栏 + useRootNavigator: false, builder: (ctx) => _StockInDetailDialog( orderId: orderId, repository: ref.read(stockInRepositoryProvider), @@ -1051,11 +1053,14 @@ class _StockInDetailDialogState extends ConsumerState<_StockInDetailDialog> { children: [ Container( padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 8), - decoration: const BoxDecoration(color: AppTheme.primary), + decoration: const BoxDecoration( + color: AppTheme.brand50, + border: Border(bottom: BorderSide(color: AppTheme.border)), + ), child: Row( children: [ IconButton( - icon: const Icon(Icons.arrow_back, color: Colors.white), + icon: const Icon(Icons.arrow_back, color: AppTheme.primaryDark), tooltip: '返回', onPressed: () => Navigator.of(context).pop(), ), @@ -1063,11 +1068,11 @@ class _StockInDetailDialogState extends ConsumerState<_StockInDetailDialog> { style: TextStyle( fontSize: 16, fontWeight: FontWeight.w600, - color: Colors.white)), + color: AppTheme.primaryDark)), const Spacer(), if (_loadedOrder != null) IconButton( - icon: const Icon(Icons.print_outlined, color: Colors.white), + icon: const Icon(Icons.print_outlined, color: AppTheme.primaryDark), tooltip: '打印', onPressed: () => safePrint(context, () => printStockInOrder(_loadedOrder!)), ), diff --git a/client/lib/screens/stock_out/stock_out_list_screen.dart b/client/lib/screens/stock_out/stock_out_list_screen.dart index c06ef3d..bc5a71b 100644 --- a/client/lib/screens/stock_out/stock_out_list_screen.dart +++ b/client/lib/screens/stock_out/stock_out_list_screen.dart @@ -607,6 +607,8 @@ class _StockOutListScreenState extends ConsumerState { Future _showDetail(BuildContext context, int orderId) async { showAppDialog( context: context, + // 用分支 Navigator 承载,全屏弹窗只覆盖内容区,不盖住左侧栏/顶栏/状态栏 + useRootNavigator: false, builder: (ctx) => _StockOutDetailDialog( orderId: orderId, repository: ref.read(stockOutRepositoryProvider), @@ -964,11 +966,14 @@ class _StockOutDetailDialogState extends ConsumerState<_StockOutDetailDialog> { children: [ Container( padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 8), - decoration: const BoxDecoration(color: AppTheme.primary), + decoration: const BoxDecoration( + color: AppTheme.brand50, + border: Border(bottom: BorderSide(color: AppTheme.border)), + ), child: Row( children: [ IconButton( - icon: const Icon(Icons.arrow_back, color: Colors.white), + icon: const Icon(Icons.arrow_back, color: AppTheme.primaryDark), tooltip: '返回', onPressed: () => Navigator.of(context).pop(), ), @@ -976,11 +981,11 @@ class _StockOutDetailDialogState extends ConsumerState<_StockOutDetailDialog> { style: TextStyle( fontSize: 16, fontWeight: FontWeight.w600, - color: Colors.white)), + color: AppTheme.primaryDark)), const Spacer(), if (_loadedOrder != null) IconButton( - icon: const Icon(Icons.print_outlined, color: Colors.white), + icon: const Icon(Icons.print_outlined, color: AppTheme.primaryDark), tooltip: '打印', onPressed: () => safePrint(context, () => printStockOutOrder(_loadedOrder!)), ),