SVN r1233
SVN-Revision: r1233
This commit is contained in:
+2
@@ -248,6 +248,7 @@ namespace Lskj.PubBomImport
|
||||
this.gcMain.Name = "gcMain";
|
||||
this.gcMain.SiftEnumObj = Lskj.Control.GridControlEx.HeaderSiftEnum.Sum;
|
||||
this.gcMain.Size = new System.Drawing.Size(500, 444);
|
||||
this.gcMain.SysModel = null;
|
||||
this.gcMain.TabIndex = 16;
|
||||
//
|
||||
// gc_Right
|
||||
@@ -259,6 +260,7 @@ namespace Lskj.PubBomImport
|
||||
this.gc_Right.Name = "gc_Right";
|
||||
this.gc_Right.SiftEnumObj = Lskj.Control.GridControlEx.HeaderSiftEnum.Sum;
|
||||
this.gc_Right.Size = new System.Drawing.Size(367, 444);
|
||||
this.gc_Right.SysModel = null;
|
||||
this.gc_Right.TabIndex = 18;
|
||||
//
|
||||
// FrmMain
|
||||
|
||||
@@ -3911,8 +3911,6 @@ namespace Lskj.PubBomImport
|
||||
string suffix = Path.GetExtension(File);
|
||||
string name = fileInfo.Name;
|
||||
DateTime creationTime = fileInfo.CreationTime;
|
||||
byte[] fileBytes = ConvertFileToBytes(File);
|
||||
string fileStream = Convert.ToBase64String(fileBytes);
|
||||
string userId = ERPInfo.Instance.UserId;
|
||||
DateTime uploadTime = DateTime.Now;
|
||||
string code = "";
|
||||
@@ -4112,8 +4110,7 @@ namespace Lskj.PubBomImport
|
||||
catch (Exception ex)
|
||||
{
|
||||
returnMsg = ex.Message;
|
||||
throw new Exception($"文件{Path.GetFileName(filePath)}上传失败\r\n{ex.Message}");
|
||||
isUpload = false;
|
||||
throw new Exception($"文件{Path.GetFileName(filePath)}上传失败\r\n{ex.Message}", ex);
|
||||
}
|
||||
msg = returnMsg;
|
||||
outFileId = fileId;
|
||||
|
||||
Reference in New Issue
Block a user