From fe4782024b58742f763989b457973b95382adf7b Mon Sep 17 00:00:00 2001 From: ch <37327@LLOOCCY> Date: 星期四, 23 十二月 2021 14:45:34 +0800 Subject: [PATCH] 修改了 销售出库、产品入库单据缓存列表功能 --- WebAPI/Controllers/WebAPIController.cs | 39 +++++++++++++++++++++++++++++++++++++++ 1 files changed, 39 insertions(+), 0 deletions(-) diff --git a/WebAPI/Controllers/WebAPIController.cs b/WebAPI/Controllers/WebAPIController.cs index 8efa4cc..23d85d3 100644 --- a/WebAPI/Controllers/WebAPIController.cs +++ b/WebAPI/Controllers/WebAPIController.cs @@ -187,6 +187,45 @@ } + + //鎾ら攢缂撳瓨鍒楄〃璁板綍 + [Route("Web/Rescind_Json")] + [HttpGet] + public object Rescind_Json(long sHInterID, string sBillNo, string sBillType) + { + string sErrMsg = string.Empty; + try + { + if (webserver.RescindBillList(sHInterID, sBillNo, sBillType, ref sErrMsg)) + { + objJsonResult.code = "0"; + objJsonResult.count = 1; + objJsonResult.Message = "鍒犻櫎鎴愬姛锛�"; + objJsonResult.data = null; + return objJsonResult; + } + else + { + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍒犻櫎澶辫触锛�"; Web / GetOrganizations + objJsonResult.data = null; + return objJsonResult; + } + } + catch (Exception) + { + + objJsonResult.code = "0"; + objJsonResult.count = 0; + objJsonResult.Message = "鍒犻櫎澶辫触锛�"; + objJsonResult.data = null; + return objJsonResult; + } + + } + + //鍒犻櫎缂撳瓨鍒楄〃璁板綍 [Route("Web/Delete_Json")] [HttpGet] -- Gitblit v1.9.1