修复退货包裹按钮功能写反的bug

This commit is contained in:
wule committed 2026-11-06 21:18:36 +08:00
1 parent 1ee4c99647
commit 9789a4686f
2 files changed
+4 -4

No files matched your search

@@ -1161,12 +1161,12 @@ namespace _29WxOrderWpf.Ctrls.OrderCtrls
if (transitOrder != null)
{
bool isOutWarehouse = sender == btnAddEditTransitWarehouseAfterSale_n1;
bool isOutWarehouse = sender == btnAddEditTransitWarehouseAfterSale_n2;
ShowReturnPackageWindow(orderItem, orderItem.TransitPackageLatest, isOutWarehouse);
}
else if (extOrder != null)
{
bool isOutWarehouse = sender == btnAddEditTransitWarehouseAfterSale_n1;
bool isOutWarehouse = sender == btnAddEditTransitWarehouseAfterSale_n2;
ShowReturnPackageWindow(orderItem, orderItem.TransitPackageLatest, isOutWarehouse);
}
@@ -144,12 +144,12 @@ public partial class OrderTransitListDetailCtrl : UserControl
if (transitOrder != null)
{
bool isOutWarehouse = sender == btnAddEditTransitWarehouseAfterSale_n1;
bool isOutWarehouse = sender == btnAddEditTransitWarehouseAfterSale_n2;
OrderListRowItemCtrl.ShowReturnPackageWindow(orderItem, transitDetailInfo, isOutWarehouse);
}
else if (extOrder != null)
{
bool isOutWarehouse = sender == btnAddEditTransitWarehouseAfterSale_n1;
bool isOutWarehouse = sender == btnAddEditTransitWarehouseAfterSale_n2;
OrderListRowItemCtrl.ShowReturnPackageWindow(orderItem, transitDetailInfo, isOutWarehouse);
}