百度查询中转仓拒收是否真正成功功能
This commit is contained in:
1 parent
2f1de60845
commit
040fe6ff52
8 files changed
+459
-7
No files matched your search
@@ -265,9 +265,9 @@
|
||||
HorizontalAlignment="Left"
|
||||
VerticalAlignment="Center"
|
||||
BorderBrush="{StaticResource mainColorBrush}"
|
||||
Click="chkSyncDirectOrderWaybill_Click"
|
||||
Content="同步物流单"
|
||||
FontSize="12"
|
||||
Click="chkSyncDirectOrderWaybill_Click"
|
||||
IsChecked="False" />
|
||||
</WrapPanel>
|
||||
|
||||
@@ -1070,7 +1070,8 @@
|
||||
<ComboBoxItem Content="请选择" />
|
||||
<ComboBoxItem Content="未申请" />
|
||||
<ComboBoxItem Content="申请中" />
|
||||
<ComboBoxItem Content="拒收失败" />
|
||||
<ComboBoxItem Content="申请失败" />
|
||||
<ComboBoxItem Content="申请成功" />
|
||||
<ComboBoxItem Content="拒收成功" />
|
||||
</ComboBox>
|
||||
</wpf:TitleContent>
|
||||
|
||||
@@ -1779,9 +1779,11 @@ namespace _29WxOrderWpf.Ctrls.OrderCtrls
|
||||
return true;
|
||||
if (cmbRejectStatusText == "申请中" && !order.orderItems.Any(oi => oi.AddEditTransitWarehouseRejectStr == "已申请拒收"))
|
||||
return true;
|
||||
if (cmbRejectStatusText == "拒收成功" && !order.orderItems.Any(oi => oi.AddEditTransitWarehouseRejectStr.StartsWith("申请拒收成功")))
|
||||
if (cmbRejectStatusText == "申请成功" && !order.orderItems.Any(oi => oi.AddEditTransitWarehouseRejectStr.StartsWith("申请成功")))
|
||||
return true;
|
||||
if (cmbRejectStatusText == "拒收失败" && !order.orderItems.Any(oi => oi.AddEditTransitWarehouseRejectStr.StartsWith("申请拒收失败")))
|
||||
if (cmbRejectStatusText == "申请失败" && !order.orderItems.Any(oi => oi.AddEditTransitWarehouseRejectStr.StartsWith("申请失败")))
|
||||
return true;
|
||||
if (cmbRejectStatusText == "拒收成功" && !order.orderItems.Any(oi => oi.AddEditTransitWarehouseRejectStr.StartsWith("拒收成功")))
|
||||
return true;
|
||||
|
||||
if (order.order_id == "3738674216947317248")
|
||||
|
||||
@@ -1077,8 +1077,20 @@ namespace _29WxOrderWpf.Ctrls.OrderCtrls
|
||||
|
||||
private void btnAddEditTransitWarehouseReject_Click(object sender, RoutedEventArgs e)
|
||||
{
|
||||
if (sender == btnAddEditTransitWarehouseReject)
|
||||
if (sender == btnAddEditTransitWarehouseReject && this.DataContext is oms_wei_order_item_info orderItem1 && !string.IsNullOrWhiteSpace(orderItem1.ItemTransitOrderWithVoid?.express_1_waybill))
|
||||
{
|
||||
BaiduGetWaybillInfoView buyerLoginForm = new BaiduGetWaybillInfoView(orderItem1);
|
||||
buyerLoginForm.ViewModel.InitUrl = "https://www.baidu.com/s?ie=UTF-8&wd=" + orderItem1.ItemTransitOrderWithVoid?.express_1_waybill;
|
||||
|
||||
new DialogWindow()
|
||||
{
|
||||
Width = 1280,
|
||||
Height = 800,
|
||||
Title = "物流拒收查询",
|
||||
Content = buyerLoginForm,
|
||||
}.Show();
|
||||
return;
|
||||
}
|
||||
|
||||
|
||||
string msg = $@"
|
||||
|
||||
Reference in new issue
Block a user