禁止利润统计按钮多开窗口
This commit is contained in:
1 parent
88d75ff914
commit
4d11f4bdd3
1 file changed
+10
-3
@@ -1706,14 +1706,21 @@ namespace _29WxOrderWpf.Ctrls.OrderCtrls
|
||||
FilterOrders();
|
||||
}
|
||||
|
||||
private DialogWindow _statisticsWindow;
|
||||
private void btn_ShowShopRevenueStatisticsView(object sender, RoutedEventArgs e)
|
||||
{
|
||||
new DialogWindow()
|
||||
if (_statisticsWindow == null)
|
||||
{
|
||||
_statisticsWindow = new DialogWindow()
|
||||
{
|
||||
Title = "统计",
|
||||
Content = new ShopRevenueStatisticsView(),
|
||||
|
||||
}.Show();
|
||||
};
|
||||
_statisticsWindow.Closed += (s, e) => _statisticsWindow = null;
|
||||
}
|
||||
_statisticsWindow.Show();
|
||||
|
||||
}
|
||||
|
||||
/// <summary>
|
||||
@@ -1774,7 +1781,7 @@ namespace _29WxOrderWpf.Ctrls.OrderCtrls
|
||||
string referer = "https://mobile.yangkeduo.com/complaint.html?mode=128&after_sales_id=" + after_sales_id +
|
||||
"&order_sn=" + order_sn + "";
|
||||
|
||||
return HttpResponseYkdBLL.YangkeduoPostResponse(buyer, url, body , referer);
|
||||
return HttpResponseYkdBLL.YangkeduoPostResponse(buyer, url, body, referer);
|
||||
}
|
||||
}
|
||||
}
|
||||
Reference in new issue
Block a user