|
@@ -181,6 +181,7 @@ namespace TeamAAS_VP.ViewModels.Product
|
|
|
/// </summary>
|
|
/// </summary>
|
|
|
async void ExecuteNextCommand()
|
|
async void ExecuteNextCommand()
|
|
|
{
|
|
{
|
|
|
|
|
+ ResetId();
|
|
|
if (MessageBox.Show(Lang.是否保存产品.Replace("[{0}]", ""), Lang.保存产品, MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes)
|
|
if (MessageBox.Show(Lang.是否保存产品.Replace("[{0}]", ""), Lang.保存产品, MessageBoxButton.YesNo, MessageBoxImage.Question) == MessageBoxResult.Yes)
|
|
|
{
|
|
{
|
|
|
var waiting = new WaitingControl();
|
|
var waiting = new WaitingControl();
|
|
@@ -203,7 +204,25 @@ namespace TeamAAS_VP.ViewModels.Product
|
|
|
param.Add("SelectProduct", SelectProduct);
|
|
param.Add("SelectProduct", SelectProduct);
|
|
|
_regionManager.RequestNavigate("ProductRegionContext", "ProductHome", param);
|
|
_regionManager.RequestNavigate("ProductRegionContext", "ProductHome", param);
|
|
|
}
|
|
}
|
|
|
-
|
|
|
|
|
|
|
+ private void ResetId()
|
|
|
|
|
+ {
|
|
|
|
|
+ if (FixedUpCamera1Procedure == null)
|
|
|
|
|
+ {
|
|
|
|
|
+ SelectProduct.FixedUpCamera1ProcedureId = Guid.Empty;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (FixedUpCamera2Procedure == null)
|
|
|
|
|
+ {
|
|
|
|
|
+ SelectProduct.FixedUpCamera2ProcedureId = Guid.Empty;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (FixedDownCameraProcedure == null)
|
|
|
|
|
+ {
|
|
|
|
|
+ SelectProduct.FixedDownCameraProcedureId = Guid.Empty;
|
|
|
|
|
+ }
|
|
|
|
|
+ if (MoveDownCameraLockPhotoProcedure == null)
|
|
|
|
|
+ {
|
|
|
|
|
+ SelectProduct.MoveDownCameraLockPhotoProcedureId = Guid.Empty;
|
|
|
|
|
+ }
|
|
|
|
|
+ }
|
|
|
/// <summary>
|
|
/// <summary>
|
|
|
/// 上一步
|
|
/// 上一步
|
|
|
/// </summary>
|
|
/// </summary>
|