dengyu 1 year ago
commit 970bc77b66

@ -100,7 +100,7 @@ namespace VOL.WMS.Controllers
public string FILENAME { get; set; }
public string FILETYPE { get; set; }
public string PWORKTYPE { get; set; }
public string WMSDOID { get; set; }
}
/// <summary>
@ -115,7 +115,7 @@ namespace VOL.WMS.Controllers
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);
//if (limitFiles.Count() > 0)
@ -145,7 +145,7 @@ namespace VOL.WMS.Controllers
{
GID = Guid.NewGuid(),
CNTRNO = "",
PID = Guid.Parse(WMSDOID),
PID = Guid.Parse(JsonParam.WMSDOID),
FILENAME = JsonParam.FILENAME,
IMGPATH = filePath + fileName,
FILETYPE = JsonParam.FILETYPE,

Loading…
Cancel
Save