淘宝异常拍单功能
This commit is contained in:
1 parent
92fc8cf5b8
commit
a4802f4ba1
4 files changed
+14
-2
No files matched your search
@@ -69,7 +69,10 @@
|
||||
VerticalAlignment="Center"
|
||||
Panel.ZIndex="99"
|
||||
d:Text="TextBlock"
|
||||
Background="#C0FFFFFF"
|
||||
FontSize="20"
|
||||
Foreground="Red"
|
||||
IsHitTestVisible="False"
|
||||
Text="{Binding ErrorMsg}"
|
||||
TextWrapping="Wrap"
|
||||
Visibility="{Binding ErrorMsg, Converter={StaticResource HasTextVisibility}}" />
|
||||
|
||||
@@ -1622,7 +1622,7 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
|
||||
ErrorMsg = "中转地址对应的中转仓不存在,请核对";
|
||||
return;
|
||||
}
|
||||
if (string.IsNullOrEmpty(txtBuyOrderIdVal.Trim()))
|
||||
if (string.IsNullOrEmpty(txtBuyOrderIdVal?.Trim()))
|
||||
{
|
||||
ErrorMsg = "缺少拍单订单号,请拍单后再提交";
|
||||
return;
|
||||
@@ -1719,7 +1719,7 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
|
||||
|
||||
orderItem.ItemTransitOrders.Insert(0, new oms_wei_external_procurement_log_info()
|
||||
{
|
||||
buyer_account = buyer.buyer_nick,
|
||||
buyer_account = buyer.buyer_id,
|
||||
id = 0,
|
||||
order_no = orderItem.order_id,
|
||||
order_sku_id = orderItem.sku_id,
|
||||
@@ -1782,6 +1782,8 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
|
||||
// 利润计算重置为最小值,控件Resource更新时将计算利润
|
||||
orderItem.ProfitCount = decimal.MinValue;
|
||||
var order = orderItem?.ItemOrder;
|
||||
orderItem.SetOrderItemTextProperty();
|
||||
order.SetOrderTextProperty();
|
||||
MainWindow.Instance.orderListCtrl.FilterOneOrder(order, true);
|
||||
}
|
||||
#endregion
|
||||
|
||||
@@ -538,6 +538,8 @@ namespace _29WxOrderWpf.Ctrls.OrderCtrls
|
||||
taobaoBuyView.ViewModel.InitUrl = "https://s.taobao.com/search?";
|
||||
taobaoBuyView.ViewModel.IsMappingGoods = true;
|
||||
}
|
||||
if (isAbnormalOrder)
|
||||
taobaoBuyView.ViewModel.AbnormalTransitWarehouseOrderInfo = orderItem.ItemTransitOrder;
|
||||
new DialogWindow()
|
||||
{
|
||||
Title = "淘宝买手登录",
|
||||
|
||||
Reference in new issue
Block a user