@ -265,7 +265,7 @@ namespace CK.SCP.Common
_client.Disconnect(true);
Console.WriteLine("MailKit Send Success:" + _message.To.Mailboxes.First());
}
catch (Exception ex)
catch (SmtpException ex)
{
Console.WriteLine(ex.Message);
Console.WriteLine();
@ -591,6 +591,11 @@ namespace CK.SCP.Controller
});
print.Total = SUM.ToString("F6");
var detail = detailList.FirstOrDefault(q => !string.IsNullOrEmpty(q.Remake));
if (detail != null)
print.Remake = detail.Remake;
var dt = ConvertHelper.ToDataTable(new List<V_MPO_PRINT> { print });
ds.Tables.Add(dt);
var dt1 = ConvertHelper.ToDataTable(lsDetail);
@ -61,5 +61,7 @@ namespace CK.SCP.Models.ScpEntity
public string CType_DESC { get; set; }
[DisplayName("订单行号")]
public string PURDOCITEMNO { get; set; }
[DisplayName("备注")]
public string Remake { get; set; }
@ -15,6 +15,7 @@
public string FIRSTTELNO { get; set; }
public string STAGEDESC { get; set; }
public string Total { get; set; }
@ -1850,6 +1850,7 @@ namespace CK.SCP.GrupUniApi.Controller
orderdetail.CostCenterDes = initem.COSTCENTERDES;
orderdetail.StoreLocation = initem.STORELOCATION;
orderdetail.PURDOCITEMNO = initem.PURDOCITEMNO;
orderdetail.Remake = initem.REMARK;
InPoDetailList.Add(orderdetail);
var maxlist1 = new xxDiMaxes_Order