Compare commits
1 Commits
| Author | SHA1 | Date | |
|---|---|---|---|
| 3d83f94f24 |
@@ -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/),
|
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).
|
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
|
## [1.0.80] - 2026-06-24
|
||||||
|
|
||||||
### 新功能
|
### 新功能
|
||||||
|
|||||||
@@ -607,6 +607,8 @@ class _StockInListScreenState extends ConsumerState<StockInListScreen> {
|
|||||||
Future<void> _showDetail(BuildContext context, int orderId) async {
|
Future<void> _showDetail(BuildContext context, int orderId) async {
|
||||||
showAppDialog(
|
showAppDialog(
|
||||||
context: context,
|
context: context,
|
||||||
|
// 用分支 Navigator 承载,全屏弹窗只覆盖内容区,不盖住左侧栏/顶栏/状态栏
|
||||||
|
useRootNavigator: false,
|
||||||
builder: (ctx) => _StockInDetailDialog(
|
builder: (ctx) => _StockInDetailDialog(
|
||||||
orderId: orderId,
|
orderId: orderId,
|
||||||
repository: ref.read(stockInRepositoryProvider),
|
repository: ref.read(stockInRepositoryProvider),
|
||||||
@@ -1051,11 +1053,14 @@ class _StockInDetailDialogState extends ConsumerState<_StockInDetailDialog> {
|
|||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 8),
|
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(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(Icons.arrow_back, color: Colors.white),
|
icon: const Icon(Icons.arrow_back, color: AppTheme.primaryDark),
|
||||||
tooltip: '返回',
|
tooltip: '返回',
|
||||||
onPressed: () => Navigator.of(context).pop(),
|
onPressed: () => Navigator.of(context).pop(),
|
||||||
),
|
),
|
||||||
@@ -1063,11 +1068,11 @@ class _StockInDetailDialogState extends ConsumerState<_StockInDetailDialog> {
|
|||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
color: Colors.white)),
|
color: AppTheme.primaryDark)),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
if (_loadedOrder != null)
|
if (_loadedOrder != null)
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(Icons.print_outlined, color: Colors.white),
|
icon: const Icon(Icons.print_outlined, color: AppTheme.primaryDark),
|
||||||
tooltip: '打印',
|
tooltip: '打印',
|
||||||
onPressed: () => safePrint(context, () => printStockInOrder(_loadedOrder!)),
|
onPressed: () => safePrint(context, () => printStockInOrder(_loadedOrder!)),
|
||||||
),
|
),
|
||||||
|
|||||||
@@ -607,6 +607,8 @@ class _StockOutListScreenState extends ConsumerState<StockOutListScreen> {
|
|||||||
Future<void> _showDetail(BuildContext context, int orderId) async {
|
Future<void> _showDetail(BuildContext context, int orderId) async {
|
||||||
showAppDialog(
|
showAppDialog(
|
||||||
context: context,
|
context: context,
|
||||||
|
// 用分支 Navigator 承载,全屏弹窗只覆盖内容区,不盖住左侧栏/顶栏/状态栏
|
||||||
|
useRootNavigator: false,
|
||||||
builder: (ctx) => _StockOutDetailDialog(
|
builder: (ctx) => _StockOutDetailDialog(
|
||||||
orderId: orderId,
|
orderId: orderId,
|
||||||
repository: ref.read(stockOutRepositoryProvider),
|
repository: ref.read(stockOutRepositoryProvider),
|
||||||
@@ -964,11 +966,14 @@ class _StockOutDetailDialogState extends ConsumerState<_StockOutDetailDialog> {
|
|||||||
children: [
|
children: [
|
||||||
Container(
|
Container(
|
||||||
padding: const EdgeInsets.symmetric(horizontal: 8, vertical: 8),
|
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(
|
child: Row(
|
||||||
children: [
|
children: [
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(Icons.arrow_back, color: Colors.white),
|
icon: const Icon(Icons.arrow_back, color: AppTheme.primaryDark),
|
||||||
tooltip: '返回',
|
tooltip: '返回',
|
||||||
onPressed: () => Navigator.of(context).pop(),
|
onPressed: () => Navigator.of(context).pop(),
|
||||||
),
|
),
|
||||||
@@ -976,11 +981,11 @@ class _StockOutDetailDialogState extends ConsumerState<_StockOutDetailDialog> {
|
|||||||
style: TextStyle(
|
style: TextStyle(
|
||||||
fontSize: 16,
|
fontSize: 16,
|
||||||
fontWeight: FontWeight.w600,
|
fontWeight: FontWeight.w600,
|
||||||
color: Colors.white)),
|
color: AppTheme.primaryDark)),
|
||||||
const Spacer(),
|
const Spacer(),
|
||||||
if (_loadedOrder != null)
|
if (_loadedOrder != null)
|
||||||
IconButton(
|
IconButton(
|
||||||
icon: const Icon(Icons.print_outlined, color: Colors.white),
|
icon: const Icon(Icons.print_outlined, color: AppTheme.primaryDark),
|
||||||
tooltip: '打印',
|
tooltip: '打印',
|
||||||
onPressed: () => safePrint(context, () => printStockOutOrder(_loadedOrder!)),
|
onPressed: () => safePrint(context, () => printStockOutOrder(_loadedOrder!)),
|
||||||
),
|
),
|
||||||
|
|||||||
Reference in New Issue
Block a user