新增上传文件通知报价

This commit is contained in:
2026-03-17 16:37:37 +08:00
parent fdf9f65b4c
commit 5d1f6128a5
2 changed files with 76 additions and 3 deletions
+7 -2
View File
@@ -79,6 +79,7 @@ public partial class uploadFile : System.Web.UI.Page
// return;
//}
//CeErpTradeCell.GetByCtid("1717009344450030601");
if (Request.Files.Count < 1)
{
conErc("空文件!");
@@ -424,8 +425,11 @@ public partial class uploadFile : System.Web.UI.Page
//CeErpTradeCell.UpdateRelationOrder(entity);
CeErpTradeCell.UpdateRelationOrder(entity.ctid);
CeErpProduct product = CeErpProduct.GetById(entity.ProductId);
string param = "[{ \"product_type\": \"" + product.PType + "\", \"remark\": \"" + entity.seller_memo + "\" }]";
sysHttpClient(param);
if (product != null)
{
string param = "[{ \"product_type\": \"" + product.PType + "\",\"remark\": \"" + entity.seller_memo + "\",\"index\": \"" + entity.OrderSn + "\",\"orderid\": \"" + entity.ctid + "\",\"price\": \"" + entity.payment + "\"}]";
sysHttpClient(param);
}
CeErpTradeLog.AddLog(entity.ctid, entity.OrderState, userId, "上传设计文件-" + saveFile);
if (ctid.IndexOf("S_") >= -1)
{
@@ -650,6 +654,7 @@ public partial class uploadFile : System.Web.UI.Page
{
var response = client.SendAsync(request).Result;
response.EnsureSuccessStatusCode();
writeLog(param + "-" + response.Content.ReadAsStringAsync().Result);
return response.Content.ReadAsStringAsync().Result;
}
catch (Exception e)