同步物流单功能
This commit is contained in:
1 parent
78ef8eedf3
commit
ce8fb3f311
21 files changed
+952
-198
No files matched your search
@@ -241,6 +241,14 @@ namespace AllBase.Model.DBModel
|
||||
get { return this.GetValue(x => x.PddBuyerAfterSaleAddressStr); }
|
||||
set { this.SetValue(x => x.PddBuyerAfterSaleAddressStr, value); }
|
||||
}
|
||||
|
||||
|
||||
public Visibility RejectOrReturnPackageBtnVisibility
|
||||
{
|
||||
get { return this.GetValue(x => x.RejectOrReturnPackageBtnVisibility); }
|
||||
set { this.SetValue(x => x.RejectOrReturnPackageBtnVisibility, value); }
|
||||
}
|
||||
|
||||
public void SetTransitOrder()
|
||||
{
|
||||
|
||||
@@ -309,6 +317,9 @@ namespace AllBase.Model.DBModel
|
||||
|
||||
}
|
||||
|
||||
|
||||
RejectOrReturnPackageBtnVisibility = ItemTransitOrderWithVoid != null ? Visibility.Visible : Visibility.Collapsed;
|
||||
|
||||
// 拦截退回操作信息
|
||||
InterceptReturnInfoStr = "";
|
||||
if (this.ItemTransitOrderWithVoid != null)
|
||||
@@ -320,7 +331,7 @@ namespace AllBase.Model.DBModel
|
||||
AddEditTransitWarehouseAfterSaleStr = "已添加";
|
||||
if (this.ItemTransitOrderAfterSale != null && (ItemTransitOrderWithVoid.intercept_return_status == 1 || !string.IsNullOrEmpty(ItemTransitOrderAfterSale.downstream_waybill)))
|
||||
AddEditTransitWarehouseAfterSaleStr = "拦截成功";
|
||||
if (this.ItemTransitOrderAfterSale != null && ItemTransitOrderWithVoid.intercept_return_status == 2)
|
||||
else if (this.ItemTransitOrderAfterSale != null && ItemTransitOrderWithVoid.intercept_return_status == 2)
|
||||
AddEditTransitWarehouseAfterSaleStr = "拦截失败";
|
||||
if (this.ItemTransitOrderWithVoid == null || (this.ItemRefund?.type != "REFUND" && !this.ItemOrder.IsAbnormal) ||
|
||||
TransitRefundStatusStr.Contains("退款成功") ||
|
||||
@@ -342,6 +353,12 @@ namespace AllBase.Model.DBModel
|
||||
TransitWarehouseAfterSaleWayBillStr = (this.ItemTransitOrderAfterSale?.downstream_express_code + "-" + this.ItemTransitOrderAfterSale?.downstream_waybill).Trim('-');
|
||||
|
||||
|
||||
// 拦截退回操作信息
|
||||
InterceptReturnInfoStr = "";
|
||||
if (this.ItemTransitOrderWithVoid != null && AddEditTransitWarehouseAfterSaleStr != "拦截成功")
|
||||
InterceptReturnInfoStr = this.ItemTransitOrderWithVoid.intercept_return_info;
|
||||
|
||||
|
||||
AddEditTransitWarehouseReturnOrderStr = "";
|
||||
if (ItemRefund?.return_detail.StartsWith(GlobalConfig.TransitReturnOrderReturnAddress) == true)
|
||||
{
|
||||
|
||||
Reference in new issue
Block a user