增加价格
This commit is contained in:
@@ -51,6 +51,10 @@ namespace NX.ERP.U8.Store
|
||||
|
||||
headXml.setAttribute("cwhcode", storeOut.Whcode);
|
||||
headXml.setAttribute("csource", storeOut.Source);
|
||||
|
||||
|
||||
|
||||
|
||||
if (storeOut.Source == "生产订单")
|
||||
{
|
||||
headXml.setAttribute("cbustype", "领料");
|
||||
@@ -104,6 +108,17 @@ namespace NX.ERP.U8.Store
|
||||
#region 明细
|
||||
|
||||
bodyXml = domBody.createElement("z:row");
|
||||
var metail = new NX.ERP.U8.MaterialDAL().GetInvPrice(detail.InvCode, 1, storeOut.Whcode, out var _cost);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bodyXml.setAttribute("iunitcost", _cost);
|
||||
var info = new Account.Accinformation();
|
||||
bodyXml.setAttribute("iprice", info.FormatMoney(_cost * detail.Quantity));
|
||||
|
||||
|
||||
//bodyXml.setAttribute("autoid", n);
|
||||
bodyXml.setAttribute("cinvcode", detail.InvCode);
|
||||
bodyXml.setAttribute("iquantity", detail.Quantity);
|
||||
@@ -216,7 +231,17 @@ namespace NX.ERP.U8.Store
|
||||
}
|
||||
#region 明细
|
||||
|
||||
bodyXml = domBody.createElement("z:row"); //bodyXml.setAttribute("autoid", n);
|
||||
bodyXml = domBody.createElement("z:row");
|
||||
var metail = new NX.ERP.U8.MaterialDAL().GetInvPrice(detail.InvCode, 1, storeOut.Whcode, out var _cost);
|
||||
|
||||
|
||||
|
||||
|
||||
|
||||
bodyXml.setAttribute("iunitcost", _cost);
|
||||
var info = new Account.Accinformation();
|
||||
bodyXml.setAttribute("iprice", info.FormatMoney(_cost * detail.Quantity));
|
||||
|
||||
bodyXml.setAttribute("cinvcode", detail.InvCode);
|
||||
bodyXml.setAttribute("iquantity", detail.Quantity);
|
||||
bodyXml.setAttribute("irowno", n + 1);
|
||||
|
||||
Reference in New Issue
Block a user