桌面端原材料入场记录完善
This commit is contained in:
@@ -84,7 +84,11 @@ public partial class RawMaterialEntryOperationView : UserControl
|
||||
|
||||
if (DataContext is RawMaterialEntryOperationViewModel vm && !_initialized)
|
||||
{
|
||||
vm.InitializeForAdd();
|
||||
//update-begin---author:jiangxh ---date:20260731 for:【原料入场】Loaded 兜底不覆盖导航编辑态-----------
|
||||
// 有导航参数时由 INavigationAware.OnNavigatedTo 初始化;此处仅无参兜底为新增。
|
||||
if (!vm.HasAppliedNavigation)
|
||||
vm.InitializeForAdd();
|
||||
//update-end---author:jiangxh ---date:20260731 for:【原料入场】Loaded 兜底不覆盖导航编辑态-----------
|
||||
_initialized = true;
|
||||
_ = vm.LoadTodayEntriesOnFirstShowAsync();
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user