|
|
@@ -513,12 +513,13 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
#region 发货
|
|
|
|
|
|
[HttpPost]
|
|
|
- public string Send(Orders data, string IdList)
|
|
|
+ public string Send(Orders data, string IdList, string SnNosList)
|
|
|
{
|
|
|
Dictionary<string, object> Fields = new Dictionary<string, object>();
|
|
|
|
|
|
Fields.Add("ErpName", data.ErpName); //物流名称
|
|
|
Fields.Add("ErpCode", data.ErpCode); //运单号
|
|
|
+ Fields.Add("SnNos", SnNosList); //SN编号
|
|
|
Fields.Add("SendStatus", 1); //发货状态
|
|
|
Fields.Add("Status", 3); //状态
|
|
|
Fields.Add("SendDate", DateTime.Now); //发货时间
|
|
|
@@ -573,7 +574,7 @@ namespace MySystem.Areas.Admin.Controllers
|
|
|
RedisDbconn.Instance.AddList("RefundQueue", SendData);
|
|
|
}
|
|
|
}
|
|
|
- return "退货失败";
|
|
|
+ return "success";
|
|
|
}
|
|
|
|
|
|
#endregion
|