+":"+bill.SERVICEEDICODE//4 DELIVERY TERM 交货条款 X(9) CY-CY(pier-pier/port):30CY-CFS(pier/port-door):29CFS-CY(door-pier/port):28CFS-CFS(door-door):27 M
+":"+formatEdiStr("txt",InttrEdi.SENDCOMPANYCODE)//5 BOOKING PARTY 订舱人说明 X(70) 货代方企业名称或代码 C
+":ONEY"//6 ISSUE PARTY CODE 签单人代码 X(13) 即接受订舱的人的代码 M
+":"//7 ISSUE PARTY 签单人说明 X(35) C
+":"//8 APPLICANT 询价单位 X(13) 向船公司询价的单位代码 C
+":"//9 FOB BK PARTY 国外订舱单位 X(13) 国外FOB货订舱单位的代码 C
+":"//10 B/L TRANSHIP ID 转船标识 X(1) Y/N C
+":"//11 BATCH ID 分批 X(1) Y/N C
+":"//12 SHIPMENT DATE 装期 9(8) CCYYMMDD C
+":"//13 EXPIRY DATE 效期 9(8) CCYYMMDD C
+":"+bill.CONTRACTNO//14 QUOTATION NO. 运费协议号 X(30) MAERSK为必选 C
+":"//15 CHARGE TYPE 费率本代码 X(1) C
+":"+bill.CONTRACTNO//16 S/C NO. 合约号 X(30) C
+":"//17 BOOKING NO. 船公司订舱编号 X(20) 船公司系统内部订舱编号 C
+":"//18 SLOT CHARTER ID 舱位互用标识 X(1) C
+":"+sendno//19 AMS CODE AMS代码 X(15) C
//注:QUOTATION NO.项填本票订舱货的运价是通过向中集询价后定下的特殊运价编号。
+"'");
}
else
if(InttrEdi.filetype=="E")
{
//2023-03-03 修改运输条款SERVICE改为EDI的映射值,经过韩工确认
r.WriteLine("02"
+":"+bill.ORDERNO//2 REFERENCE NO. 运编号 X(35) 一般为流水号 M
+":"+bill.MBLNO//3 B\L NO. 提单号 X(20) 船公司的提单号 C
+":"+bill.SERVICE//4 DELIVERY TERM 交货条款 X(9) CY-CY(pier-pier/port):30CY-CFS(pier/port-door):29CFS-CY(door-pier/port):28CFS-CFS(door-door):27 M
+":"+bill.SERVICEEDICODE//4 DELIVERY TERM 交货条款 X(9) CY-CY(pier-pier/port):30CY-CFS(pier/port-door):29CFS-CY(door-pier/port):28CFS-CFS(door-door):27 M
+":"+formatEdiStr("txt",!string.IsNullOrWhiteSpace(InttrEdi.ForWarderName)?InttrEdi.ForWarderName.Replace("\n"," ").Replace("\r"," "):"")//5 BOOKING PARTY 订舱人说明 X(70) 货代方企业名称或代码 C
+":"+InttrEdi.RECEIVECODE//6 ISSUE PARTY CODE 签单人代码 X(13) 即接受订舱的人的代码 M
+":"+bill.ORDERNO//2 REFERENCE NO. 运编号 X(35) 一般为流水号 M
+":"+bill.MBLNO//3 B\L NO. 提单号 X(20) 船公司的提单号 C
+":"+bill.SERVICE//4 DELIVERY TERM 交货条款 X(9) CY-CY(pier-pier/port):30CY-CFS(pier/port-door):29CFS-CY(door-pier/port):28CFS-CFS(door-door):27 M
+":"+bill.SERVICEEDICODE//4 DELIVERY TERM 交货条款 X(9) CY-CY(pier-pier/port):30CY-CFS(pier/port-door):29CFS-CY(door-pier/port):28CFS-CFS(door-door):27 M
+":"+formatEdiStr("txt",!string.IsNullOrWhiteSpace(InttrEdi.ForWarderName)?InttrEdi.ForWarderName.Replace("\n"," ").Replace("\r"," "):"")//5 BOOKING PARTY 订舱人说明 X(70) 货代方企业名称或代码 C
+":"+InttrEdi.RECEIVECODE//6 ISSUE PARTY CODE 签单人代码 X(13) 即接受订舱的人的代码 M