diff --git a/UFIDA.U8.Framework.Api.ControlObject/ST/USERPCO.cs b/UFIDA.U8.Framework.Api.ControlObject/ST/USERPCO.cs index a64a24b..16a9ab8 100644 --- a/UFIDA.U8.Framework.Api.ControlObject/ST/USERPCO.cs +++ b/UFIDA.U8.Framework.Api.ControlObject/ST/USERPCO.cs @@ -117,17 +117,19 @@ namespace UFIDA.U8.Framework.Api.ControlObject.ST logInfo.Debug(domHead.xml); logInfo.Debug(domBody.xml); + + logInfo.Debug(domPosition.xml); } logInfo.Debug("执行插入操作..."); - var cmd = new Command - { - CommandText = "Select '开始执行插入操作'", - ActiveConnection = baseLogin.Connection - }; - object rsts = new Recordset(); - cmd.Execute(out rsts); - res.bSuccess = co.Insert(sVouchType, domHead, domBody, domPosition, ref errorMsg, baseLogin.Connection, ref vouchId, ref domMsg, bCheck, bBeforCheckStock, bIsRedVouch, sAddedState, bReMote); + //var cmd = new Command + //{ + // CommandText = "Select '开始执行插入操作'", + // ActiveConnection = baseLogin.Connection + //}; + //object rsts = new Recordset(); + //cmd.Execute(out rsts); + res.bSuccess = co.Insert(sVouchType, domHead, domBody, null, ref errorMsg, baseLogin.Connection, ref vouchId, ref domMsg, bCheck, bBeforCheckStock, bIsRedVouch, sAddedState, bReMote); if (res.bSuccess) { diff --git a/UFIDA.U8.Framework.Api/App_Data/API_Meta.db b/UFIDA.U8.Framework.Api/App_Data/API_Meta.db index 088808a..d557413 100644 Binary files a/UFIDA.U8.Framework.Api/App_Data/API_Meta.db and b/UFIDA.U8.Framework.Api/App_Data/API_Meta.db differ diff --git a/UFIDA.U8.Framework.Api/App_Data/采购入库单模板.json b/UFIDA.U8.Framework.Api/App_Data/采购入库单模板.json index eafc6f8..c3137ea 100644 --- a/UFIDA.U8.Framework.Api/App_Data/采购入库单模板.json +++ b/UFIDA.U8.Framework.Api/App_Data/采购入库单模板.json @@ -1,19 +1,15 @@ -{ - - "ddate": "2022-10-25", - "cwhcode": "04", - "cexch_name": "人民币", - "bredvouch": 0, - "brdflag": 1, - "bincost": true, - "cdepcode": "0407", - "cbustype": "普通采购", - "cmaker": "demo", - "cmemo": "", - "body": [ - { - "cinvcode": "F010-80102251", - "iquantity": 10 - } - ] +{ + "cbustype": "普通采购", + "cwhcode": "04", + "ddate": "2025-10-25", + "ccode": "", + "cvencode": "03007", + "cmaker": "demo", + "cmemo": "", + "body": [ + { + "cinvcode": "01019002087", + "iquantity": 10 + } + ] } \ No newline at end of file