Browse Source

发货单接口修改

master
mingliang.tang 1 year ago
parent
commit
ceea849da8
  1. 11
      WebApiService/src/Win_in.Sfs.Scp.WebApi.Agent/AsnBackgroundWorker/AsnBackgroundWorker.cs

11
WebApiService/src/Win_in.Sfs.Scp.WebApi.Agent/AsnBackgroundWorker/AsnBackgroundWorker.cs

@ -147,15 +147,18 @@ namespace Win_in.Sfs.Scp.WebApi
VendorCode = asn.VendId, VendorCode = asn.VendId,
Contacts = asn.ReceiveUser, Contacts = asn.ReceiveUser,
Phone = "", Phone = "",
TruckNbr = asn.PlateNumber, TruckNbr = asn.PlateNumber,
Whse = "", Whse = "",
Dock = "", Dock = "RM1",
ShipDate = asn.ShipTime, ShipDate = asn.ShipTime,
DueDate = asn.ReceiveTime, DueDate = asn.ReceiveTime,
TimeWindow = asn.ReceivedPort, TimeWindow =asn.ReceivedPort,
Remark = asn.Remark, Remark = asn.Remark,
}; };
if (string.IsNullOrEmpty(asnMstr.TimeWindow))
{
asnMstr.TimeWindow = "00:00-00:00";
}
foreach (var barcode in barcodes) foreach (var barcode in barcodes)
{ {
var det = new AsnDet() var det = new AsnDet()

Loading…
Cancel
Save