From 4e4e27f574ea2cfd38b6c250c639595f7a6053e2 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?=E9=82=B1=E6=95=8F=E5=81=A5?= Date: Tue, 18 Feb 2025 17:05:31 +0800 Subject: [PATCH] =?UTF-8?q?=E6=B5=8B=E8=AF=95=E5=AE=8C=E6=88=90?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- .../ST/USERPCO.cs | 18 +++++----- UFIDA.U8.Framework.Api/App_Data/API_Meta.db | Bin 69632 -> 69632 bytes .../App_Data/采购入库单模板.json | 32 ++++++++---------- 3 files changed, 24 insertions(+), 26 deletions(-) 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 088808aaf72d476ac818a8212e74f6beaddeb1a6..d5574131d1e5a55bff4f3983e7d970d6db4c2d43 100644 GIT binary patch delta 78 zcmV-U0I~mopag)R1dtm6Jdqqj1v~&QdU3I2r+)*#51Fxn8x6B5jTr#}fU$vj0S`hA k3_lGF0231}ClvqyPPkpgur+)*y51Fxn8x6B5jTr#}eX)Ug0SrP7 k3;+`oEhiNK4J(t&k0}pVNlq;^Mo>joF-b@`MN*=WfTY7082|tP 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