修复到仓无法中转仓退回的问题

This commit is contained in:
wule_5900x committed 2026-08-10 07:37:23 +08:00
1 parent 56135b9a36
commit 543eb2f3fc
3 files changed
+4 -4

No files matched your search

@@ -98,7 +98,7 @@ namespace _29WxOrderWpf.Windows.OrderWindows
private void btnAdd_Click(object sender, RoutedEventArgs e)
{
if (OrderItem?.ItemTransitOrder?.warehouse_status != 2)
if ((OrderItem?.ItemTransitOrder?.warehouse_status).ParseToInt() < 1)
{
BaseMsgWindow.ShowError("当前订单仓库状态不支持创建退货订单!");
return;