|
@@ -1604,7 +1604,7 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
if(orderDataItem!=null&&orderDataItem.containsKey("iSOsID")&&orderDataItem.get("iSOsID")!=null){
|
|
|
|
|
|
Map<String,Object> orderDataItem2=new HashMap<>();
|
|
|
- if (mapt.get("orderNumber").equals("one")){
|
|
|
+ if (mapt.get("number").equals("one")){
|
|
|
String id=item.getSyOrderDataItemId();
|
|
|
if ((id.indexOf('('))>-1){
|
|
|
id=id.substring(3,id.indexOf("(")-1);
|
|
@@ -1617,10 +1617,10 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
orderDataItem2=syPackingListTailoringMapper.getSoMainItem(orderDataItem.get("iSOsID").toString());
|
|
|
}
|
|
|
mapItem3.put("AUTOID_SO",orderDataItem2.get("iSOsID"));
|
|
|
- System.out.println("销售订单\n"+orderDataItem2);
|
|
|
orderIrowno.setIrowno(orderDataItem2.get("irowno").toString());
|
|
|
orderIrowno.setOrderNumber(orderDataItem2.get("cSOCode").toString());
|
|
|
|
|
|
+ mapItem3.put("BSALEPRICE","1");
|
|
|
mapItem3.put("ITAXUNITPRICE",orderDataItem2.get("iTaxUnitPrice"));
|
|
|
mapItem3.put("ITAXRATE",orderDataItem2.get("iTaxRate"));
|
|
|
map6.put("iTaxRate",orderDataItem2.get("iTaxRate"));
|
|
@@ -1730,6 +1730,22 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
mapItem4.put("SOAUTOIDCOL","IDLSID");
|
|
|
|
|
|
|
|
|
+
|
|
|
+
|
|
|
+ if(item.getAccount().equals("102")&&mapt.get("account").equals("102")){
|
|
|
+
|
|
|
+ mapItem3.put("ITAXUNITPRICE",item.getPrice());
|
|
|
+ }else if(item.getAccount().equals("102")&&mapt.get("account").equals("102")){
|
|
|
+
|
|
|
+ mapItem.put("IORITAXCOST",item.getPrice());
|
|
|
+ }
|
|
|
+ if(item.getAccount().equals("102")&&mapt.get("account").equals("102")){
|
|
|
+ mapItem5.put("IORITAXCOST",item.getPrice());
|
|
|
+ }
|
|
|
+ if(item.getAccount().equals("102")&&mapt.get("account").equals("102")){
|
|
|
+ mapItem6.put("ITAXUNITPRICE",item.getPrice());
|
|
|
+ }
|
|
|
+
|
|
|
mapItem5.put("CINVCODE",item.getInventoryCode());
|
|
|
|
|
|
mapItem6.put("CINVCODE",item.getInventoryCode());
|
|
@@ -1769,6 +1785,8 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
mapt.put("itemSort",mapSort);
|
|
|
System.out.println("mapsort\n"+mapSort);
|
|
|
}
|
|
|
+
|
|
|
+ mapt.put("number","two");
|
|
|
if(mapList2!=null&&mapList2.size()>0){
|
|
|
text(mapList2,"材料出库单");
|
|
|
text(mapList7,"染厂采购入库单");
|