chore: release client-v1.0.81
Deploy Client / build-client-web (push) Successful in 42s
Deploy Client / build-windows (push) Successful in 1m55s
Deploy Client / build-macos (push) Successful in 2m19s
Deploy Client / build-android (push) Successful in 1m7s
Deploy Client / build-ios (push) Successful in 2m37s
Deploy Client / release-deploy-client (push) Successful in 1m53s

Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
wangjia
2026-06-24 18:40:23 +08:00
parent 5861b9210c
commit 3d83f94f24
3 changed files with 24 additions and 8 deletions
@@ -607,6 +607,8 @@ class _StockInListScreenState extends ConsumerState<StockInListScreen> {
Future<void> _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!)),
),
@@ -607,6 +607,8 @@ class _StockOutListScreenState extends ConsumerState<StockOutListScreen> {
Future<void> _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!)),
),