|
|
@ -350,7 +350,28 @@ namespace DS.WMS.Core.Op.Method
|
|
|
|
}
|
|
|
|
}
|
|
|
|
#endregion
|
|
|
|
#endregion
|
|
|
|
//更新原单信息
|
|
|
|
//更新原单信息
|
|
|
|
info.CustomerNo = info.CustomerNo + "-GP";
|
|
|
|
if (info.CustomerNo.Contains("-GP"))
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
var strArr = info.CustomerNo.Split('-');
|
|
|
|
|
|
|
|
var last = strArr.LastOrDefault();
|
|
|
|
|
|
|
|
if (last == "GP")
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
info.CustomerNo = info.CustomerNo + "-2";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
int num = int.Parse(last);
|
|
|
|
|
|
|
|
num = num + 1;
|
|
|
|
|
|
|
|
var first = strArr.FirstOrDefault();
|
|
|
|
|
|
|
|
info.CustomerNo = info.CustomerNo + "-GP" + "-" + num;
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
else
|
|
|
|
|
|
|
|
{
|
|
|
|
|
|
|
|
info.CustomerNo = info.CustomerNo + "-GP";
|
|
|
|
|
|
|
|
}
|
|
|
|
|
|
|
|
|
|
|
|
info.IsBooking = false;
|
|
|
|
info.IsBooking = false;
|
|
|
|
info.IsCustoms = false;
|
|
|
|
info.IsCustoms = false;
|
|
|
|
info.IsLand = false;
|
|
|
|
info.IsLand = false;
|
|
|
|