1可设置是否直发拍单 2优化订单取号状态判断逻辑
This commit is contained in:
1 parent
9789a4686f
commit
5b9ed01fa1
7 files changed
+125
-65
No files matched your search
@@ -1557,20 +1557,27 @@ namespace AllBase.Model.DBModel
|
||||
|
||||
// 直拍按钮
|
||||
BtnDirectBuyOrderVisibility = Visibility.Collapsed;
|
||||
if (GlobalConfig.CurrentBuyPlatform == "pdd")
|
||||
{
|
||||
}
|
||||
else if (GlobalConfig.CurrentBuyPlatform == "tb")
|
||||
if (BaseClass.Setting.SwitchEnableDirectBuy && this.ItemOrder?.status < 30)
|
||||
{
|
||||
//if (GlobalConfig.CurrentBuyPlatform == "pdd")
|
||||
//{
|
||||
//}
|
||||
//else if (GlobalConfig.CurrentBuyPlatform == "tb")
|
||||
//{
|
||||
if (_itemOrderIsWaitBuy == true && this.BuyGoodsBtnTxt != "关联拍单")
|
||||
BtnDirectBuyOrderVisibility = Visibility.Visible;
|
||||
if (_itemOrderIsAbnormal == true && this.refund_status <= 1)
|
||||
else if (_itemOrderIsAbnormal == true && this.refund_status <= 1)
|
||||
{
|
||||
//if (BtnAbnormalBtnVisibility == Visibility.Collapsed && (this.ItemOrder.out_order_no.IsNullOrEmpty() || this.ItemOrder.out_after_sale_status == "退款成功"))
|
||||
if (this.ItemOrder.out_order_no.IsNullOrEmpty() || this.ItemOrder.out_after_sale_status == "退款成功")
|
||||
BtnDirectBuyOrderVisibility = Visibility.Visible;
|
||||
}
|
||||
else
|
||||
BtnDirectBuyOrderVisibility = Visibility.Collapsed;
|
||||
//}
|
||||
}
|
||||
else
|
||||
BtnDirectBuyOrderVisibility = Visibility.Collapsed;
|
||||
}
|
||||
|
||||
public string RefundStatusStr
|
||||
|
||||
Reference in new issue
Block a user