|
@@ -1481,6 +1481,15 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
|
|
|
mapSort.put(item.getId(),ivouchrowno);
|
|
|
}
|
|
|
|
|
|
+ //测试新区域
|
|
|
+ if(item.getAcSetNo().equals("102")&&mapt.get("account").equals("102")){//如果销售订单账套号等于102,当前推送到了102
|
|
|
+ //102销售发货单、102销售出库单
|
|
|
+ mapItem3.put("ITAXUNITPRICE",item.getCustomsDeclarationUnitPrice());
|
|
|
+ }else if(item.getAcSetNo().equals("102")&&mapt.get("account").equals("102")){//如果销售订单账套号等于102,当前推送到了101
|
|
|
+ //101采购入库单
|
|
|
+ mapItem.put("IORITAXCOST",item.getCustomsDeclarationUnitPrice());//修改成报关单价
|
|
|
+ }
|
|
|
+
|
|
|
mapItem.put("CINVCODE",item.getInventoryCode());//存货编码
|
|
|
mapItem.put("IQUANTITY",item.getTotal());//数量
|
|
|
//mapItem.put("INUM",orderDataItem.get("inum"));//明细ID(采购订单行ID/委外订单行ID)
|
|
@@ -2116,6 +2125,9 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
|
|
|
}else{
|
|
|
jsonObject.put("IORITAXCOST",syPackingListTailoringItemMapper.getiTaxPrice(map.get("AutoID").toString()));
|
|
|
}
|
|
|
+ if(item.getAcSetNo().equals("102")&&account.equals("101")){
|
|
|
+ jsonObject.put("IORITAXCOST",item.getCustomsDeclarationUnitPrice());//改成使用报关单价
|
|
|
+ }
|
|
|
getcFree(jsonObject,map);
|
|
|
break;
|
|
|
}
|
|
@@ -2314,6 +2326,9 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
|
|
|
autoIds.add(map.get("AutoID"));
|
|
|
jsonObject.put("AUTOID_DIS",map.get("AutoID"));
|
|
|
getcFree(jsonObject,map);
|
|
|
+ if(item.getAcSetNo().equals("102")&&account.equals("102")){
|
|
|
+ jsonObject.put("ITAXUNITPRICE",item.getCustomsDeclarationUnitPrice());//改成使用报关单价
|
|
|
+ }
|
|
|
break;
|
|
|
}
|
|
|
}
|