|
@@ -2134,16 +2134,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
|
|
|
jsonObject.put("IORITAXCOST",item.getCustomsDeclarationUnitPrice());//改成使用报关单价
|
|
|
}
|
|
|
if(item.getOmpoAccount().equals("103")&&account.equals("102")){
|
|
|
- List<DictModel> dictModels=sysDictService.queryDictItemsByCode("accountPrice");
|
|
|
- DictModel dictModel1=new DictModel();
|
|
|
- for (DictModel dictModel : dictModels){
|
|
|
- if (dictModel.getText().equals(account)){
|
|
|
- dictModel1=dictModel;
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- BigDecimal number=new BigDecimal(dictModel1.getValue());
|
|
|
- jsonObject.put("IORITAXCOST",item.getCustomsDeclarationUnitPrice().multiply(number));//改成使用报关单价
|
|
|
+ jsonObject.put("IORITAXCOST",item.getCustomsDeclarationUnitPrice().multiply(item.getAccountPrice()));//改成使用报关单价
|
|
|
}
|
|
|
getcFree(jsonObject,map);
|
|
|
jsonObject.put("CDEFINE28",item.getSmallPo());//小po
|
|
@@ -2349,16 +2340,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
|
|
|
jsonObject.put("ITAXUNITPRICE",item.getCustomsDeclarationUnitPrice());//改成使用报关单价
|
|
|
}
|
|
|
if(item.getOmpoAccount().equals("103")&&account.equals("103")){
|
|
|
- List<DictModel> dictModels=sysDictService.queryDictItemsByCode("accountPrice");
|
|
|
- DictModel dictModel1=new DictModel();
|
|
|
- for (DictModel dictModel : dictModels){
|
|
|
- if (dictModel.getText().equals(account)){
|
|
|
- dictModel1=dictModel;
|
|
|
- break;
|
|
|
- }
|
|
|
- }
|
|
|
- BigDecimal number=new BigDecimal(dictModel1.getValue());
|
|
|
- jsonObject.put("IORITAXCOST",item.getCustomsDeclarationUnitPrice().multiply(number));//改成使用报关单价
|
|
|
+ jsonObject.put("ITAXUNITPRICE",item.getCustomsDeclarationUnitPrice().multiply(item.getAccountPrice()));//改成使用报关单价*成衣参考单价
|
|
|
}
|
|
|
break;
|
|
|
}
|