Browse Source

Merge remote-tracking branch 'origin/master'

fenghaifu 2 years ago
parent
commit
0467171bfe

+ 3 - 1
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splfi/service/impl/SyPackingListFabricServiceImpl.java

@@ -1510,10 +1510,12 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
 					//mapSort.put(item.getId(),orderIrowno);
 					mapItem3.put("ITAXUNITPRICE",orderDataItem2.get("iTaxUnitPrice"));//原币含税单价(如果传空,取来源单据)(以含税单价为准自动计算相关价格及金额)
 					mapItem3.put("ITAXRATE",orderDataItem2.get("iTaxRate"));//税率(如果传空,取来源单据,无来源单据,取存货档案对应的销项税率)
+					map6.put("iTaxRate",orderDataItem2.get("iTaxRate"));
+					mapItem6.put("iTaxRate",orderDataItem2.get("iTaxRate"));
 					mapItem3.put("SOAUTOIDCOL","ISOSID");//来源单据明细ID对应字段名(如果取销售订单主键,需传固定值ISOSID)
 					mapItem3.put("AUTOID_SO",orderDataItem2.get("iSOsID"));//来源单据明细ID
 					mapt.put("poid", orderDataItem2.get("id"));
-					System.out.println("销售订单子表的行号\t"+orderDataItem2.get("irowno"));
+					//System.out.println("销售订单子表的行号\t"+orderDataItem2.get("irowno"));
 				}else if(mapt.get("account").equals("103")) {
 					throw new JeecgBootException(mapt.get("account")+"账套,委外订单子表行id"+mapItem.get("AUTOID_PO")+"的isosid为空");
 				}else if(mapt.get("account").equals("102")) {

+ 2 - 0
jeecg-boot-module-system/src/main/java/org/jeecg/modules/splt/service/impl/SyPackingListTailoringServiceImpl.java

@@ -1321,6 +1321,8 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 					mapItem3.put("ITAXRATE",orderDataItem2.get("iTaxRate"));//税率(如果传空,取来源单据,无来源单据,取存货档案对应的销项税率)
 					mapItem3.put("SOAUTOIDCOL","ISOSID");//来源单据明细ID对应字段名(如果取销售订单主键,需传固定值ISOSID)
 					mapItem3.put("AUTOID_SO",orderDataItem2.get("iSOsID"));//来源单据明细ID
+					map6.put("iTaxRate",orderDataItem2.get("iTaxRate"));
+					mapItem6.put("iTaxRate",orderDataItem2.get("iTaxRate"));
 					mapt.put("poid", orderDataItem2.get("id"));
 				}
 				//}