显示买手退款详情
This commit is contained in:
1 parent
5777c30048
commit
85259d8335
7 files changed
+248
-110
No files matched your search
@@ -2,6 +2,7 @@
|
||||
using AllBase;
|
||||
using AllBase.Helper;
|
||||
using AllBase.Model.DBModel;
|
||||
using NaiBa.Util.Extension;
|
||||
using Newtonsoft.Json.Linq;
|
||||
using System;
|
||||
using System.Collections.Generic;
|
||||
@@ -30,6 +31,9 @@ public partial class OrderTransitListDetailCtrl : UserControl
|
||||
public OrderTransitListDetailCtrl()
|
||||
{
|
||||
InitializeComponent();
|
||||
|
||||
this.txtOutOrderId.AddHandler(TextBox.MouseUpEvent, new MouseButtonEventHandler(txtOutOrderId_MouseLeftButtonUp), true);
|
||||
this.txtOutOrderBuyer.AddHandler(TextBox.MouseUpEvent, new MouseButtonEventHandler(txtOutOrderId_MouseLeftButtonUp), true);
|
||||
}
|
||||
|
||||
/// <summary> 作废包裹 </summary>
|
||||
@@ -230,4 +234,22 @@ public partial class OrderTransitListDetailCtrl : UserControl
|
||||
return FindParent<T>(parentObject);
|
||||
}
|
||||
}
|
||||
|
||||
private void txtOutOrderId_MouseLeftButtonUp(object sender, MouseButtonEventArgs e)
|
||||
{
|
||||
if (this.DataContext is oms_wei_order_item_transit_detail_info transitDetailInfo && transitDetailInfo.oms_wei_order_item_info is oms_wei_order_item_info orderItem)
|
||||
{
|
||||
var buyerId = txtOutOrderBuyer.Tag as string;
|
||||
var buyerName = txtOutOrderBuyer.Text;
|
||||
var outOrderId = txtOutOrderId.Text;
|
||||
if (string.IsNullOrEmpty(buyerName) || string.IsNullOrEmpty(outOrderId))
|
||||
{
|
||||
return;
|
||||
}
|
||||
|
||||
bool isShowOrderList = sender == txtOutOrderBuyer;
|
||||
|
||||
OrderBuyerOrdersHelper.ShowBuyerOrder(orderItem, buyerId, buyerName, outOrderId, isShowOrderList);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user