diff --git a/Stone.WinForm/Stone.WinBiz/JISAdmin/F_EDI_JIS5000Sequence.cs b/Stone.WinForm/Stone.WinBiz/JISAdmin/F_EDI_JIS5000Sequence.cs index c872d8c..e59ad59 100644 --- a/Stone.WinForm/Stone.WinBiz/JISAdmin/F_EDI_JIS5000Sequence.cs +++ b/Stone.WinForm/Stone.WinBiz/JISAdmin/F_EDI_JIS5000Sequence.cs @@ -119,8 +119,8 @@ namespace Stone.WinBiz.JISAdmin } catch (Exception ex) { - MyLogger.Write(file.Name + " 处理失败,原因为:" + ex.Message); - + // MyLogger.Write(file.Name + " 处理失败,原因为:" + ex.Message); + MyLogger.Write(file.Name + " 处理失败,原因为:报文异常解析失败!"); if (sr != null) sr.Close(); drJIS_Log["EndTime"] = MyDateTime.GetServerDateTime(); @@ -287,6 +287,11 @@ namespace Stone.WinBiz.JISAdmin if (strState == "0" || string.IsNullOrEmpty(strState)) strPartMsg += "卸货点 " + location + " 已失效!" + Environment.NewLine; } + else + { + strPartMsg += "卸货点 " + location + " 未在系统中定义效!" + Environment.NewLine; + } + //校验卸货点、卸货点代码是否匹配 strsql = "select top 1 * from t_Location" + " where Code = '" + location + "'" + diff --git a/Stone.WinForm/Stone.WinBiz/JISAdmin/F_JIS5000_Print.cs b/Stone.WinForm/Stone.WinBiz/JISAdmin/F_JIS5000_Print.cs index 358b3a2..ddcf5d3 100644 --- a/Stone.WinForm/Stone.WinBiz/JISAdmin/F_JIS5000_Print.cs +++ b/Stone.WinForm/Stone.WinBiz/JISAdmin/F_JIS5000_Print.cs @@ -833,7 +833,7 @@ namespace Stone.WinBiz.JISAdmin //ARD+9169691-03+24+L723190709++90000841838' //金杯李尔不换行 //string line = "ARD+{0}+{1}+{2}:000000++{3}'\r\n"; - string line = "ARD+{0}+{1}+{2}:000000++{3}'"; + string line = "ARD+{0}+{1}+{2}:000000++{3}:00000'"; object[] obj = new object[4]; obj[0] = drData["PartNumber"].ToString().Trim(); //零件号 obj[1] = drData["Qty"].ToString().Trim(); //数量 diff --git a/Stone.WinForm/Stone.WinModule/Standard/frmJISVDA.cs b/Stone.WinForm/Stone.WinModule/Standard/frmJISVDA.cs index cd4df84..9cca0b6 100644 --- a/Stone.WinForm/Stone.WinModule/Standard/frmJISVDA.cs +++ b/Stone.WinForm/Stone.WinModule/Standard/frmJISVDA.cs @@ -619,10 +619,10 @@ namespace Stone.WinModule.Standard drVDA["OrderNumber"] = orderNumber; drVDA["LocationCode"] = locationCode; drVDA["releaseId"] = ""; - // drVDA["IsPrintLabel"] = 1; + drVDA["IsPrintLabel"] = 1; // drVDA["IsPackingVerification"] = 1; // drVDA["IsShipingVerification"] = 1; - // drVDA["IsPrintASN"] = 1; + drVDA["IsPrintASN"] = 1; // drVDA["IsUpload"] = 1; // drVDA["UploadTime"] = DateTime.Now; // drVDA["PrintASNTime"] = DateTime.Now;