优化读拼多多买手单
This commit is contained in:
1 parent
f89670877d
commit
a31b87b512
9 files changed
+451
-386
No files matched your search
@@ -337,7 +337,7 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
|
||||
ManualUpdateBuyOrderCommand = new DelegateCommand(ManualUpdateBuyOrder);
|
||||
UpdateTransitWarehouseCommand = new DelegateCommand(UpdateTransitWarehouse);
|
||||
|
||||
this.txtShopNameVal = orderItem.Shop.ShopAccount;
|
||||
this.txtShopNameVal = orderItem?.ItemOrder?.Shop?.ShopAccount;
|
||||
this.txtOrderIdVal = orderItem.order_id;
|
||||
this.txtShopSkuIdVal = orderItem.sku_id;
|
||||
this.txtShopGoodsIdVal = orderItem.product_id;
|
||||
@@ -1222,6 +1222,11 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
|
||||
if (BuyType == "direct")
|
||||
{
|
||||
#region 直发拍单
|
||||
if (orderItem.ItemOrder?.Shop == null)
|
||||
{
|
||||
this.ErrorMsg = "缺少店铺信息!";
|
||||
return;
|
||||
}
|
||||
|
||||
var url = BaseClass.Build29WxObjString("order/wx_get_order_item_ext_info");
|
||||
var data = UserLogin.GetSignaturex();
|
||||
@@ -1241,8 +1246,8 @@ namespace _29WxOrderWpf.Ctrls.BuyerCtrls
|
||||
order_id = orderItem.order_id,
|
||||
sku_id = orderItem.sku_id,
|
||||
out_order_id = "tb_" + txtBuyOrderIdVal.Trim(),
|
||||
shop_app_id = orderItem.Shop.ShopId,
|
||||
shop_name = orderItem.Shop.ShopAccount,
|
||||
shop_app_id = orderItem.ItemOrder?.Shop?.ShopId,
|
||||
shop_name = orderItem.ItemOrder?.Shop?.ShopAccount,
|
||||
buy_type = "直发",
|
||||
};
|
||||
var url1 = BaseClass.Build29WxObjString("order/wx_add_order_item_ext_info");
|
||||
|
||||
Reference in new issue
Block a user