Browse Source

更新版本

master
zhaoxinyu 11 months ago
parent
commit
caaa0b4fa6
  1. 2
      code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json
  2. 3
      code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs

2
code/src/Modules/SettleAccount/host/SettleAccount.HttpApi.Host/appsettings.json

@ -3,7 +3,7 @@
"CorsOrigins": "https://*.abc.com,http://localhost:9527,http://149.223.116.5:8088"
},
"ConnectionStrings": {
"Default": "Server=dev.ccwin-in.com,13326;Database=BJABP;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True",
"Default": "Server=10.60.101.83;Database=BJABP;User ID=sa;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True",
//"SettleAccountService": "Server=dev.ccwin-in.com,13326;Database=BQ_SA;User ID=ccwin-in;Password=Microsoft@2022;Trusted_Connection=False;TrustServerCertificate=True;",

3
code/src/Modules/SettleAccount/src/SettleAccount.Application/Entities/BQ/INVOICE_SERVICE.cs

@ -198,6 +198,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
{
inv.Qty = itm.Qty - first.Qty;//发票总数中去除
inv.Amt = Math.Round((itm.Qty - first.Qty) * itm.PRICE, 2);
inv.Extend2 = $"C{invoiceGrp.ClientCode}";
}
//inv.BussiessType = EnumBusinessType.MaiDanJianBBAC;
//if (invoiceGrp.Site == "1046")
@ -221,7 +222,7 @@ namespace Win.Sfs.SettleAccount.Entities.BQ
var first= invoiceGrpDetailsCopy.FirstOrDefault(p=>p.PartCode==itm.PartCode);
inv.InjectFrom(first);
inv.LU = itm.LU;
inv.PartCode = itm.RealPartCode;
inv.PartCode = itm.PartCode;
inv.Qty = itm.Qty;
inv.PRICE = first.PRICE;
inv.Amt = Math.Round(itm.Qty * first.PRICE, 2);

Loading…
Cancel
Save