فهرست منبع

销售发票改回获取表头税率

huxy 1 سال پیش
والد
کامیت
053cb12796

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

@@ -2227,7 +2227,7 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 			jsonObject1.put("CEXCH_NAME",order.get("cexch_name"));//币种名称
 			jsonObject1.put("iTaxRate",order.get("iTaxRate"));//税率
 			if(account.equals("103")){
-				jsonObject1.put("iTaxRate","13.0000000000");//税率
+				//jsonObject1.put("iTaxRate","13.00000000");//税率
 			}
 			if(!order.get("cexch_name").equals("人民币")){//不为人民币
 				SimpleDateFormat sf1 = new SimpleDateFormat("yyyy-M-dd");
@@ -2286,8 +2286,8 @@ public class SyPackingListTailoringServiceImpl extends ServiceImpl<SyPackingList
 				//jsonObject.put("CDEFINE23",syPackingListTailoringMapper.getUnit(item.getInventoryCode()));//报关单位
 				jsonObject.put("CDEFINE23",item.getDeclarationUnit());//报关单位
 				jsonObject.put("CDEFINE31",item.getDeclarationName());//存货名称
-				//if(iTaxRate!=null){
 				jsonObject.put("iTaxRate",order.get("iTaxRate"));//税率
+				//if(iTaxRate!=null){
 				//}
 				jsonObject.put("CWHCODE",syPackingListFabricItemMapper.getVencode(item.getSupplier()));//获取仓库编码
 				jsonArrays.add(jsonObject);