|
|
@ -100,7 +100,7 @@ namespace VOL.WMS.Controllers
|
|
|
|
public string FILENAME { get; set; }
|
|
|
|
public string FILENAME { get; set; }
|
|
|
|
public string FILETYPE { get; set; }
|
|
|
|
public string FILETYPE { get; set; }
|
|
|
|
public string PWORKTYPE { get; set; }
|
|
|
|
public string PWORKTYPE { get; set; }
|
|
|
|
|
|
|
|
public string WMSDOID { get; set; }
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
/// <summary>
|
|
|
|
/// <summary>
|
|
|
@ -115,7 +115,7 @@ namespace VOL.WMS.Controllers
|
|
|
|
if (files == null ) return webResponseContent.Error("请上传文件");
|
|
|
|
if (files == null ) return webResponseContent.Error("请上传文件");
|
|
|
|
|
|
|
|
|
|
|
|
//跟前端的控件名称保持一致
|
|
|
|
//跟前端的控件名称保持一致
|
|
|
|
var WMSDOID = Request.Form["WMSDOID"];
|
|
|
|
//var WMSDOID = Request.Form["WMSDOID"];
|
|
|
|
|
|
|
|
|
|
|
|
//var limitFiles = files.Where(x => x.Length > LimitUpFileSizee * 1024 * 1024).Select(s => s.FileName);
|
|
|
|
//var limitFiles = files.Where(x => x.Length > LimitUpFileSizee * 1024 * 1024).Select(s => s.FileName);
|
|
|
|
//if (limitFiles.Count() > 0)
|
|
|
|
//if (limitFiles.Count() > 0)
|
|
|
@ -145,7 +145,7 @@ namespace VOL.WMS.Controllers
|
|
|
|
{
|
|
|
|
{
|
|
|
|
GID = Guid.NewGuid(),
|
|
|
|
GID = Guid.NewGuid(),
|
|
|
|
CNTRNO = "",
|
|
|
|
CNTRNO = "",
|
|
|
|
PID = Guid.Parse(WMSDOID),
|
|
|
|
PID = Guid.Parse(JsonParam.WMSDOID),
|
|
|
|
FILENAME = JsonParam.FILENAME,
|
|
|
|
FILENAME = JsonParam.FILENAME,
|
|
|
|
IMGPATH = filePath + fileName,
|
|
|
|
IMGPATH = filePath + fileName,
|
|
|
|
FILETYPE = JsonParam.FILETYPE,
|
|
|
|
FILETYPE = JsonParam.FILETYPE,
|
|
|
|