This commit is contained in:
linfso 2024-09-14 11:01:46 +08:00
parent 4b00481c3d
commit f60709d822

View File

@ -97,6 +97,7 @@ public class Oms2cCommonController extends BaseController
extBillInfo.put("destinationName","");
extBillInfo.put("estimateDate","");
extBillInfo.put("productTypeName","");
extBillInfo.put("waybillStatus","");
try {
AjaxResult ar = this.iRpcWaybillSvc.getWaybillDetailByOms(mailno, "");
@ -113,10 +114,28 @@ public class Oms2cCommonController extends BaseController
Date estimateDate = DateUtils.parseDate(estimateDateStr);
String productTypeName = jobjData.getString("productTypeName");
String blSign= jobjData.getString("blSign");
String waybillStatus= jobjData.getString("waybillStatus");
String waybillStatusStr = "运输中";
if("1".equals(blSign)){
waybillStatusStr="已签收";
}else{
if("10".equals(waybillStatus)){
waybillStatusStr="已揽收";
}
else if("40".equals(waybillStatus)){{
waybillStatusStr="派送中";
}
else{
waybillStatusStr="运输中";
}
}
extBillInfo.put("sendSiteName",sendSiteName);
extBillInfo.put("destinationName",destinationName);
extBillInfo.put("estimateDate",DateUtils.parseDateToStr(DateUtils.YYYY_MM_DD,estimateDate));
extBillInfo.put("productTypeName",productTypeName);
extBillInfo.put("waybillStatus",waybillStatusStr);
}
}