修复显示作废(显示错误)订单无法作废重拍的问题
This commit is contained in:
1 parent
04584600c8
commit
e492457516
5 files changed
+181
-125
No files matched your search
@@ -1837,17 +1837,22 @@ namespace AllBase.Model.DBModel
|
||||
/// <returns></returns>
|
||||
public bool GetIsAbnormalOrderRebuy()
|
||||
{
|
||||
if (order_id == "3740040052771291904")
|
||||
{
|
||||
|
||||
}
|
||||
|
||||
var order_item = this;
|
||||
|
||||
// 不是异常单的不可异常重拍
|
||||
if (order_item?.ItemOrder?.IsAbnormal != true)
|
||||
return false;
|
||||
// 买手未退款的,中转正式取号以后的,不可异常重拍
|
||||
if (order_item.ItemTransitOrder?.refund_status != "买手退款成功" ||
|
||||
if (order_item.ItemTransitOrderWithVoid?.refund_status != "买手退款成功" ||
|
||||
order_item.WarehouseWaybillStatusStr == "中转已取号" || order_item.WarehouseWaybillStatusStr == "中转已入库" || order_item.WarehouseWaybillStatusStr == "中转已出库")
|
||||
return false;
|
||||
// 已正式取号的,不可异常重拍
|
||||
if (order_item.ItemTransitOrder?.pre_allocated_order_no == 1 || order_item.ItemTransitOrder?.pre_allocated_order_no == 3)
|
||||
if (order_item.ItemTransitOrderWithVoid?.pre_allocated_order_no == 1 || order_item.ItemTransitOrderWithVoid?.pre_allocated_order_no == 3)
|
||||
return false;
|
||||
// 仓库异常的异常单不可异常重拍
|
||||
List<string> rawMsgKeyWords = new List<string> { "取号异常", "无法调用" };
|
||||
|
||||
Reference in new issue
Block a user