优化拍单
This commit is contained in:
1 parent
00e0503dec
commit
65caf003aa
5 files changed
+15
-3
No files matched your search
@@ -1097,6 +1097,7 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
|
||||
body["orderSkuId"] = orderItem.sku_id; // 微信商品skuId
|
||||
body["outOrderNo"] = "tb_" + txtBuyOrderIdVal.Trim(); // 拍单订单号
|
||||
body["outAmount"] = (txtBuyPriceVal.ParseToDecimal() * 100).ParseToInt() + ""; // 外采金额
|
||||
body["buyerId"] = buyer.buyer_id; // 买手ID
|
||||
body["buyerAccount"] = buyer.buyer_id; // 买手ID
|
||||
body["purchaserNote"] = BaseClass.NickName; // 购买软件账户备注
|
||||
body["express1Company"] = ""; // 物流公司编号
|
||||
|
||||
@@ -1812,6 +1812,7 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
|
||||
body["orderSkuId"] = orderItem.sku_id; // 微信商品skuId
|
||||
body["outOrderNo"] = "tb_" + txtBuyOrderIdVal.Trim(); // 拍单订单号
|
||||
body["outAmount"] = (txtBuyPriceVal.ParseToDecimal() * 100).ParseToInt() + ""; // 外采金额
|
||||
body["buyerId"] = buyer.buyer_id; // 买手ID
|
||||
body["buyerAccount"] = buyer.buyer_id; // 买手ID
|
||||
body["purchaserNote"] = BaseClass.NickName; // 购买软件账户备注
|
||||
body["express1Company"] = ""; // 物流公司编号
|
||||
|
||||
@@ -1485,7 +1485,6 @@
|
||||
Margin="0,0,0,0"
|
||||
HorizontalAlignment="Center"
|
||||
d:Visibility="Visible"
|
||||
Click="btnAbnormalOrderRebuy_Click"
|
||||
Content="额外拍单"
|
||||
Style="{StaticResource BasePageButtonLightStyle}"
|
||||
Visibility="{Binding BtnAbnormalOrderExtraBuyVisibility}" />
|
||||
|
||||
@@ -1546,6 +1546,14 @@ namespace AllBase.Model.DBModel
|
||||
set { this.SetValue(x => x.BtnAbnormalOrderRebuyVisibility, value); }
|
||||
}
|
||||
/// <summary>
|
||||
/// 异常额外包裹按钮可见性
|
||||
/// </summary>
|
||||
public Visibility BtnAbnormalOrderExtraBuyVisibility
|
||||
{
|
||||
get { return this.GetValue(x => x.BtnAbnormalOrderExtraBuyVisibility); }
|
||||
set { this.SetValue(x => x.BtnAbnormalOrderExtraBuyVisibility, value); }
|
||||
}
|
||||
/// <summary>
|
||||
/// 直发按钮可见条件
|
||||
/// </summary>
|
||||
public Visibility BtnDirectBuyOrderVisibility
|
||||
@@ -1583,6 +1591,8 @@ namespace AllBase.Model.DBModel
|
||||
_btnAbnormalOrderRebuyVisibility = Visibility.Collapsed;
|
||||
BtnAbnormalOrderRebuyVisibility = _btnAbnormalOrderRebuyVisibility;
|
||||
|
||||
BtnAbnormalOrderExtraBuyVisibility = Visibility.Collapsed;
|
||||
|
||||
// 直拍按钮
|
||||
BtnDirectBuyOrderVisibility = Visibility.Collapsed;
|
||||
if (BaseClass.Setting.SwitchEnableDirectBuy && this.ItemOrder?.status < 30)
|
||||
|
||||
@@ -1500,6 +1500,7 @@ namespace TemuKJD.ToolForms
|
||||
body["orderSkuId"] = orderItem.sku_id; // 微信商品skuId
|
||||
body["outOrderNo"] = txtBuyOrderId.Text.Trim(); // 拍单订单号
|
||||
body["outAmount"] = (txtBuyPrice.Text.ParseToDecimal() * 100).ParseToInt() + ""; // 外采金额
|
||||
body["buyerId"] = buyer.buyer_id; // 买手ID
|
||||
body["buyerAccount"] = buyer.buyer_nick; // 买手昵称
|
||||
body["purchaserNote"] = BaseClass.NickName; // 购买软件账户备注
|
||||
body["express1Company"] = ""; // 物流公司编号
|
||||
@@ -1670,8 +1671,7 @@ namespace TemuKJD.ToolForms
|
||||
|
||||
else if (BuyType == "transit_extra")
|
||||
{
|
||||
|
||||
#region 正常中转拍单
|
||||
#region 秒退额外拍单
|
||||
if (AbnormalTransitWarehouseOrderInfo == null)
|
||||
{
|
||||
JObject body = new JObject();
|
||||
@@ -1679,6 +1679,7 @@ namespace TemuKJD.ToolForms
|
||||
body["orderSkuId"] = orderItem.sku_id; // 微信商品skuId
|
||||
body["outOrderNo"] = txtBuyOrderId.Text.Trim(); // 拍单订单号
|
||||
body["outAmount"] = (txtBuyPrice.Text.ParseToDecimal() * 100).ParseToInt() + ""; // 外采金额
|
||||
body["buyerId"] = buyer.buyer_id; // 买手ID
|
||||
body["buyerAccount"] = buyer.buyer_nick; // 买手昵称
|
||||
body["purchaserNote"] = BaseClass.NickName; // 购买软件账户备注
|
||||
body["express1Company"] = ""; // 物流公司编号
|
||||
|
||||
Reference in new issue
Block a user