|
|
|
@ -14,6 +14,15 @@ using TradeUsedSale.Enums;
|
|
|
|
|
using TradeUsedSale.Repositories;
|
|
|
|
|
using TradeUsedSale.Repositories.Models;
|
|
|
|
|
using NPOI.HSSF.Record.Formula.Functions;
|
|
|
|
|
using NPOI.HSSF.UserModel;
|
|
|
|
|
using NPOI.SS.UserModel;
|
|
|
|
|
using System.Web.Services;
|
|
|
|
|
using NPOI.HSSF.Record.Chart;
|
|
|
|
|
using System.Data;
|
|
|
|
|
using System.Windows.Forms;
|
|
|
|
|
using TradeData;
|
|
|
|
|
using NetLibrary.Data;
|
|
|
|
|
using NetLibrary.ReportPrint;
|
|
|
|
|
|
|
|
|
|
namespace TradeManageNew.OuterService
|
|
|
|
|
{
|
|
|
|
@ -1574,6 +1583,7 @@ namespace TradeManageNew.OuterService
|
|
|
|
|
{
|
|
|
|
|
throw new Exception($"There is no product with ID {sku.GoodsId}");
|
|
|
|
|
}
|
|
|
|
|
List<string> filePaths = new List<string>(i.ImageUrls.Split(',', (char)StringSplitOptions.RemoveEmptyEntries));
|
|
|
|
|
var newOrderUsedSalePlatform =
|
|
|
|
|
new TradeUsedSale.Repositories.Models.DT_OrderUsedSalePlatform
|
|
|
|
|
{
|
|
|
|
@ -1587,7 +1597,7 @@ namespace TradeManageNew.OuterService
|
|
|
|
|
WarehouseLocation = warehouseLocation,
|
|
|
|
|
WarehousePositionId = storePosition.PostionId,
|
|
|
|
|
WarehousePositionCode = storePosition.PostionCode,
|
|
|
|
|
ImageUrls = JsonConvert.SerializeObject(i.ImageUrls),
|
|
|
|
|
ImageUrls = JsonConvert.SerializeObject(filePaths),
|
|
|
|
|
CreationTime = DateTime.Now,
|
|
|
|
|
CreatorId = model.UserId,
|
|
|
|
|
TrackingCode = backmodel.TrackCode
|
|
|
|
@ -1968,7 +1978,10 @@ namespace TradeManageNew.OuterService
|
|
|
|
|
md.Data = null;
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
}
|
|
|
|
|
catch (Exception ex)
|
|
|
|
|