This commit is contained in:
linfso 2024-08-23 22:45:43 +08:00
parent 5983afb98c
commit cdc0436b4b
4 changed files with 11 additions and 7 deletions

File diff suppressed because one or more lines are too long

View File

@ -27,15 +27,20 @@ public class ItemHelper {
}
ArrayList<ItemCell> printItems = new ArrayList<>();
printItems.add(new ItemCell("packageWJC",MapUtils.getString(orderMap,"packageWJC",""),24,true, Element.ALIGN_CENTER,"Text"));
printItems.add(new ItemCell("packageWJC",MapUtils.getString(orderMap,"packageWJC",""),20,true, Element.ALIGN_CENTER,"Text"));
printItems.add(new ItemCell("logisticNo",MapUtils.getString(orderMap,"logisticNo",""),9,true, Element.ALIGN_CENTER,"Text"));
String consignee_mobile=MapUtils.getString(orderMap,"consignee","")+" "+MapUtils.getString(orderMap,"mobile","");
printItems.add(new ItemCell("consignee",consignee_mobile,8,true, Element.ALIGN_LEFT,"Text"));
String consignee=MapUtils.getString(orderMap,"consignee","")+" "+MapUtils.getString(orderMap,"mobile","");
printItems.add(new ItemCell("consignee",consignee,8,true, Element.ALIGN_LEFT,"Text"));
String receiveCountryName_receiveProvinceName=MapUtils.getString(orderMap,"receiveCountryName","")+" "+MapUtils.getString(orderMap,"receiveProvinceName","");
printItems.add(new ItemCell("receiveCountryName",receiveCountryName_receiveProvinceName,8,true, Element.ALIGN_LEFT,"Text"));
printItems.add(new ItemCell("k3",MapUtils.getString(orderMap,"k3",""),16,true, Element.ALIGN_CENTER,"Text"));
printItems.add(new ItemCell("company",MapUtils.getString(orderMap,"company",""),8,true, Element.ALIGN_LEFT,"Text"));
printItems.add(new ItemCell("sendDate",MapUtils.getString(orderMap,"sendDate",""),8,true, Element.ALIGN_CENTER,"Text"));
@ -53,9 +58,8 @@ public class ItemHelper {
+"|"+MapUtils.getString(orderMap,"totalVolume","")+"方"
;
// subSeqNum/parcelQty|billWeightkg|totalVolume方
printItems.add(new ItemCell("parcelQty",parcelQty,12,true, Element.ALIGN_CENTER,"Text"));
printItems.add(new ItemCell("packType","【"+MapUtils.getString(orderMap,"packType","")+"】",8,true, Element.ALIGN_CENTER,"Text"));
printItems.add(new ItemCell("paymentType","【"+MapUtils.getString(orderMap,"paymentType","")+"】",8,true, Element.ALIGN_CENTER,"Text"));
printItems.add(new ItemCell("dispatchType","【"+MapUtils.getString(orderMap,"dispatchType","")+"】",8,true, Element.ALIGN_CENTER,"Text"));