|
|
@ -195,21 +195,25 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
|
{ |
|
|
|
INVOICE_WAIT_DETAIL_BJ_DTO bj = new INVOICE_WAIT_DETAIL_BJ_DTO(); |
|
|
|
bj.LU = itm.LU; |
|
|
|
bj.PartCode = itm.PartCode; |
|
|
|
bj.InvbillNum=itm.InvbillNum; |
|
|
|
bj.PRICE = itm.PRICE; |
|
|
|
bj.InvbillNum = itm.InvbillNum; |
|
|
|
bj.InvGroupNum = itm.InvGroupNum; |
|
|
|
bj.DeliveryIndexNumber =itm.ExtraProperties["DeliveryIndexNumber"].ToSqlValue(); |
|
|
|
bj.Qty = itm.Qty; |
|
|
|
bj.PRICE = itm.PRICE; |
|
|
|
bj.Amt = Math.Round(itm.PRICE * itm.Qty, 2); |
|
|
|
bj.Extend1=itm.Extend1; |
|
|
|
bj.RealAmt = Math.Round(Math.Round(itm.PRICE * itm.Qty, 2) * 0.13m, 2); |
|
|
|
bj.TaxAmt = Math.Round(itm.PRICE * itm.Qty, 2) + Math.Round(Math.Round(itm.PRICE * itm.Qty, 2) * 0.13m, 2); |
|
|
|
bj.Extend1=itm.Extend1;//合同号
|
|
|
|
bj.VendorCode = itm.ExtraProperties["VendorCode"].ToSqlValue();//供应商代码
|
|
|
|
bj.VendorName = itm.ExtraProperties["VendorName"].ToSqlValue();//供应商名称
|
|
|
|
bj.DeliveryNumber = itm.ExtraProperties["DeliveryNumber"].ToSqlValue();//交货号;
|
|
|
|
bj.PN = itm.ExtraProperties["PN"].ToSqlValue();//
|
|
|
|
bj.PO=itm.ExtraProperties["PO"].ToSqlValue(); |
|
|
|
bj.ProductionGroup = itm.ExtraProperties["PartGroup"].ToSqlValue(); |
|
|
|
|
|
|
|
bj.BeginDate=itm.BeginDate; |
|
|
|
bj.EndDate = itm.EndDate; |
|
|
|
|
|
|
|
//bj.DeliveryNumber = itm.GetProperty("DeliveryNumber", "");//交货号
|
|
|
|
//bj.InvbillNum = itm.GetProperty("InvoiceNumber", "");//发票号
|
|
|
|
//bj.VendorCode = itm.GetProperty("VendorCode", "");//供应商代码
|
|
|
@ -236,7 +240,9 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
|
InvbillNum = itm.InvbillNum, |
|
|
|
InvGroupNum = itm.InvGroupNum, |
|
|
|
LU = itm.LU, |
|
|
|
PartCode = itm.PartCode, |
|
|
|
//PartCode = itm.PartCode,
|
|
|
|
PO=itm.PO, |
|
|
|
PN=itm.PN, |
|
|
|
PRICE = itm.PRICE, |
|
|
|
Qty = itm.Qty, |
|
|
|
Amt = itm.Amt, |
|
|
@ -248,8 +254,15 @@ namespace Win.Sfs.SettleAccount.Entities.BQ |
|
|
|
Extend1 = itm.Extend1, |
|
|
|
BeginDate = itm.BeginDate, |
|
|
|
EndDate = itm.EndDate, |
|
|
|
RealAmt=itm.RealAmt, |
|
|
|
TaxAmt=itm.TaxAmt, |
|
|
|
SettleDate = itm.SettleDate, |
|
|
|
ProductionGroup=itm.ProductionGroup |
|
|
|
}; |
|
|
|
entity.INVOICE_WAIT_DETAIL_BJ = bjquery.ToList(); |
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
} |
|
|
|
else |
|
|
|
{ |
|
|
|