增加采购模块的自动审核
This commit is contained in:
@@ -42,6 +42,7 @@ namespace UFIDA.U8.Framework.Api.ControlObject.ST
|
|||||||
/// <param name="bReMote"></param>
|
/// <param name="bReMote"></param>
|
||||||
/// <param name="bAudit"></param>
|
/// <param name="bAudit"></param>
|
||||||
/// <param name="bPrintDom"></param>
|
/// <param name="bPrintDom"></param>
|
||||||
|
/// <param name="bVerify"></param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
/// <exception cref="Exception"></exception>
|
/// <exception cref="Exception"></exception>
|
||||||
public async Task<BaseResult<string>> Insert(BaseLogin baseLogin, Dictionary<string, object> dictionary, string cCardNum, string sVouchType, bool bGetCode = false, string codeKey = "", bool bCheck = true, bool bBeforCheckStock = true, bool bIsRedVouch = false, string sAddedState = "", bool bReMote = false, bool bAudit = false, bool bPrintDom = false,bool bVerify=false)
|
public async Task<BaseResult<string>> Insert(BaseLogin baseLogin, Dictionary<string, object> dictionary, string cCardNum, string sVouchType, bool bGetCode = false, string codeKey = "", bool bCheck = true, bool bBeforCheckStock = true, bool bIsRedVouch = false, string sAddedState = "", bool bReMote = false, bool bAudit = false, bool bPrintDom = false,bool bVerify=false)
|
||||||
|
|||||||
Binary file not shown.
@@ -980,7 +980,7 @@
|
|||||||
日志组件
|
日志组件
|
||||||
</summary>
|
</summary>
|
||||||
</member>
|
</member>
|
||||||
<member name="M:UFIDA.U8.Framework.Api.Controllers.U8.PUController.VoucherSave(System.String,System.String,System.Collections.Generic.Dictionary{System.String,System.Object},System.Boolean,System.String,System.String,System.String,System.Int32,UFIDA.U8.Framework.Api.ControlObject.PU.UseMode,System.String,System.String,System.Nullable{System.Boolean})">
|
<member name="M:UFIDA.U8.Framework.Api.Controllers.U8.PUController.VoucherSave(System.String,System.String,System.Collections.Generic.Dictionary{System.String,System.Object},System.Boolean,System.String,System.String,System.Int32,UFIDA.U8.Framework.Api.ControlObject.PU.UseMode,System.String,System.String,System.Nullable{System.Boolean})">
|
||||||
<summary>
|
<summary>
|
||||||
保存单据
|
保存单据
|
||||||
</summary>
|
</summary>
|
||||||
@@ -990,12 +990,11 @@
|
|||||||
<param name="bPositive">红蓝标识:True,蓝字</param>
|
<param name="bPositive">红蓝标识:True,蓝字</param>
|
||||||
<param name="sBillType">发票类型(普通发票 ppurbill,专用发票 purbill,运费发票 ypurbill);到货单类型(到货单 0,退货单 1,拒收单 2)</param>
|
<param name="sBillType">发票类型(普通发票 ppurbill,专用发票 purbill,运费发票 ypurbill);到货单类型(到货单 0,退货单 1,拒收单 2)</param>
|
||||||
<param name="sBusType">业务类型:普通采购,直运采购,受托代销</param>
|
<param name="sBusType">业务类型:普通采购,直运采购,受托代销</param>
|
||||||
<param name="sPtcode"></param>
|
|
||||||
<param name="VoucherState">单据状态:2新增,1修改,0非编辑</param>
|
<param name="VoucherState">单据状态:2新增,1修改,0非编辑</param>
|
||||||
<param name="UserMode">CS 0,BS 1;一般CS</param>
|
<param name="UserMode">CS 0,BS 1;一般CS</param>
|
||||||
<param name="sOverDetailsXml">为空</param>
|
<param name="sOverDetailsXml">为空</param>
|
||||||
<param name="tradeid"></param>
|
<param name="tradeid">业务ID</param>
|
||||||
<param name="bVerify"></param>
|
<param name="bVerify">是否审核</param>
|
||||||
<returns></returns>
|
<returns></returns>
|
||||||
<exception cref="T:System.Exception"></exception>
|
<exception cref="T:System.Exception"></exception>
|
||||||
</member>
|
</member>
|
||||||
|
|||||||
@@ -41,11 +41,13 @@ namespace UFIDA.U8.Framework.Api.Controllers.U8
|
|||||||
/// <param name="VoucherState">单据状态:2新增,1修改,0非编辑</param>
|
/// <param name="VoucherState">单据状态:2新增,1修改,0非编辑</param>
|
||||||
/// <param name="UserMode">CS 0,BS 1;一般CS</param>
|
/// <param name="UserMode">CS 0,BS 1;一般CS</param>
|
||||||
/// <param name="sOverDetailsXml">为空</param>
|
/// <param name="sOverDetailsXml">为空</param>
|
||||||
|
/// <param name="tradeid">业务ID</param>
|
||||||
|
/// <param name="bVerify">是否审核</param>
|
||||||
/// <returns></returns>
|
/// <returns></returns>
|
||||||
/// <exception cref="Exception"></exception>
|
/// <exception cref="Exception"></exception>
|
||||||
[HttpPost]
|
[HttpPost]
|
||||||
[Route("api/U8/PU/{cCardNum}/VoucherSave")]
|
[Route("api/U8/PU/{cCardNum}/VoucherSave")]
|
||||||
public async Task<BaseResult<string>> VoucherSave(string cAccId, string cCardNum, [FromBody] Dictionary<string, object> input, bool bPositive = true, string sBillType = null, string sBusType = "", int VoucherState = 2, UseMode UserMode = UseMode.CS, string sOverDetailsXml = null, string tradeid = null)
|
public async Task<BaseResult<string>> VoucherSave(string cAccId, string cCardNum, [FromBody] Dictionary<string, object> input, bool bPositive = true, string sBillType = null, string sBusType = "", int VoucherState = 2, UseMode UserMode = UseMode.CS, string sOverDetailsXml = null, string tradeid = null, bool? bVerify = null)
|
||||||
{
|
{
|
||||||
try
|
try
|
||||||
{
|
{
|
||||||
@@ -157,7 +159,7 @@ namespace UFIDA.U8.Framework.Api.Controllers.U8
|
|||||||
|
|
||||||
var co = new clsVoucherCO_PU();
|
var co = new clsVoucherCO_PU();
|
||||||
|
|
||||||
var res = await co.VoucherSave(baseLogin, input, cCardNum, (vouchertype)Convert.ToInt32(voucherInfo.VoucherType), bPositive, sBillType, sBusType, VoucherState, UserMode, sOverDetailsXml, bGetCode, codeKey, voucherInfo.bVerify, voucherInfo.bPrintDom, voucherInfo.iswfcontrolled, voucherInfo.cFlowFieldName);
|
var res = await co.VoucherSave(baseLogin, input, cCardNum, (vouchertype)Convert.ToInt32(voucherInfo.VoucherType), bPositive, sBillType, sBusType, VoucherState, UserMode, sOverDetailsXml, bGetCode, codeKey, bVerify ?? voucherInfo.bVerify, voucherInfo.bPrintDom, voucherInfo.iswfcontrolled, voucherInfo.cFlowFieldName);
|
||||||
|
|
||||||
res.tradeid = tradeid;
|
res.tradeid = tradeid;
|
||||||
|
|
||||||
|
|||||||
Reference in New Issue
Block a user