|
@@ -2971,11 +2971,12 @@ public class SyPackingListFabricServiceImpl extends ServiceImpl<SyPackingListFab
|
|
|
List<Object> autoIds=new ArrayList<>();
|
|
List<Object> autoIds=new ArrayList<>();
|
|
|
for (SyPackingListFabricItem item : listFabricItems){
|
|
for (SyPackingListFabricItem item : listFabricItems){
|
|
|
JSONObject jsonObject=new JSONObject();
|
|
JSONObject jsonObject=new JSONObject();
|
|
|
- if(item.getMasterMetering().equalsIgnoreCase("KG")){
|
|
|
|
|
- jsonObject.put("IQUANTITY",item.getNetWeight());//净重
|
|
|
|
|
- }else{
|
|
|
|
|
- jsonObject.put("IQUANTITY",item.getActualDeclaredQuantity());//实际报关数量
|
|
|
|
|
- }
|
|
|
|
|
|
|
+// if(item.getMasterMetering().equalsIgnoreCase("KG")){
|
|
|
|
|
+// jsonObject.put("IQUANTITY",item.getNetWeight());//净重
|
|
|
|
|
+// }else{
|
|
|
|
|
+// jsonObject.put("IQUANTITY",item.getActualDeclaredQuantity());//实际报关数量
|
|
|
|
|
+// }
|
|
|
|
|
+ jsonObject.put("IQUANTITY",item.getActualDeclaredQuantity());//实际报关数量
|
|
|
jsonObject.put("CINVCODE",item.getInventoryCode());//存货编码
|
|
jsonObject.put("CINVCODE",item.getInventoryCode());//存货编码
|
|
|
// jsonObject.put("CWHCODE",syPackingListFabricItemMapper.getVencode(item.getSupplier()));//获取仓库编码
|
|
// jsonObject.put("CWHCODE",syPackingListFabricItemMapper.getVencode(item.getSupplier()));//获取仓库编码
|
|
|
String cwhcode="PT0005";//辅料仓
|
|
String cwhcode="PT0005";//辅料仓
|