Browse Source

订单单价

huxy 1 year ago
parent
commit
110f0db037

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

@@ -2134,7 +2134,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 							jsonObject.put("IORITAXCOST",item.getCustomsDeclarationUnitPrice());//改成使用报关单价
 						}
 						if(item.getOmpoAccount().equals("103")&&account.equals("102")){
-							jsonObject.put("IORITAXCOST",item.getCustomsDeclarationUnitPrice().multiply(item.getAccountPrice()));//改成使用报关单价
+							jsonObject.put("IORITAXCOST",item.getUnitPrice().multiply(item.getAccountPrice()));//改成使用报关单价
 						}
 						getcFree(jsonObject,map);
 						jsonObject.put("CDEFINE28",item.getSmallPo());//小po
@@ -2340,7 +2340,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 							jsonObject.put("ITAXUNITPRICE",item.getCustomsDeclarationUnitPrice());//改成使用报关单价
 						}
 						if(item.getOmpoAccount().equals("103")&&account.equals("103")){
-							jsonObject.put("ITAXUNITPRICE",item.getCustomsDeclarationUnitPrice().multiply(item.getAccountPrice()));//改成使用报关单价*成衣参考单价
+							jsonObject.put("ITAXUNITPRICE",item.getUnitPrice().multiply(item.getAccountPrice()));//改成使用报关单价*成衣参考单价
 						}
 						break;
 					}