|
|
@ -256,7 +256,7 @@ namespace VOL.WMS.Services
|
|
|
|
public override WebResponseContent Import(List<IFormFile> files)
|
|
|
|
public override WebResponseContent Import(List<IFormFile> files)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
|
|
|
|
|
|
|
|
DownLoadTemplateColumns = x => new { x.CUSTOMERNAME,x.GOODSOWNER,x.GOODSNAME,x.MBLNO,x.CNTRNO,x.CUSTOMNO,x.PKGS,x.KGS,x.CBM,x.NETWEIGHT,x.STORAGEUNIT,x.STORAGEUNITCOUNT,x.RULEUNIT,x.RULEUNITCOUNT,x.INDATE,x.OPNAME,x.ACCBOOKNO,x.STORAGENAME,x.AREANAME,x.GOODSMODEL,x.GOODSHSCODE,x.COUNTRY,x.RULEAMOUNT,x.REMARK,x.KINDPKGS,x.PALLET };
|
|
|
|
DownLoadTemplateColumns = x => new { x.CUSTOMERNAME,x.GOODSOWNER,x.GOODSNAME,x.MBLNO,x.CNTRNO,x.CUSTOMNO,x.PKGS,x.KGS,x.CBM,x.NETWEIGHT,x.STORAGEUNIT,x.STORAGEUNITCOUNT,x.RULEUNIT,x.RULEUNITCOUNT,x.INDATE,x.OPNAME,x.ACCBOOKNO,x.STORAGENAME,x.AREANAME,x.GOODSMODEL,x.GOODSHSCODE,x.COUNTRY,x.RULEAMOUNT,x.REMARK,x.KINDPKGS,x.PALLET,x.SALENAME };
|
|
|
|
|
|
|
|
|
|
|
|
var WmsImportList = base.GetListByExcel(files,out WebResponseContent _webResponseContent);
|
|
|
|
var WmsImportList = base.GetListByExcel(files,out WebResponseContent _webResponseContent);
|
|
|
|
|
|
|
|
|
|
|
@ -378,7 +378,7 @@ namespace VOL.WMS.Services
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
var 入库计划 = get入库计划(goods, 仓库List);
|
|
|
|
var 入库计划 = get入库计划(goods, 仓库List, 库管List);
|
|
|
|
var 入库计划明细 = get入库计划明细(入库计划, goods);
|
|
|
|
var 入库计划明细 = get入库计划明细(入库计划, goods);
|
|
|
|
入库计划明细List.Add(入库计划明细);
|
|
|
|
入库计划明细List.Add(入库计划明细);
|
|
|
|
|
|
|
|
|
|
|
@ -546,7 +546,7 @@ namespace VOL.WMS.Services
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
private OP_WMS_IN_PLAN get入库计划( VW_OP_WMS_IMPORT detail, List<OP_WMS_STOREHOUSE> 仓库List)
|
|
|
|
private OP_WMS_IN_PLAN get入库计划( VW_OP_WMS_IMPORT detail, List<OP_WMS_STOREHOUSE> 仓库List, List<Sys_DictionaryList> userlist)
|
|
|
|
{
|
|
|
|
{
|
|
|
|
var result = new OP_WMS_IN_PLAN();
|
|
|
|
var result = new OP_WMS_IN_PLAN();
|
|
|
|
|
|
|
|
|
|
|
@ -591,6 +591,8 @@ namespace VOL.WMS.Services
|
|
|
|
|
|
|
|
|
|
|
|
result.REMARK = detail.REMARK;
|
|
|
|
result.REMARK = detail.REMARK;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
result.SALE = getuserid(detail.SALENAME, userlist);
|
|
|
|
|
|
|
|
|
|
|
|
return result;
|
|
|
|
return result;
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|