yxj
2025-09-19 734bdf743c112134da3093cc62f9cc18a82b0087
WebAPI/Controllers/XSGL/Kf_SellOutBillController.cs
@@ -2033,6 +2033,48 @@
        }
        #endregion
        #region 销售出库单 价格查询
        [Route("Kf_SellOutBill/GetKf_CheckSellOutBill_BalanceQuery")]
        [HttpGet]
        public object GetKf_CheckSellOutBill_BalanceQuery(string HInterID, string user)
        {
            try
            {
                //判断查询权限
                if (!DBUtility.ClsPub.Security_Log("Kf_SellOutBill_Money", 1, false, user))
                {
                    objJsonResult.code = "0";
                    objJsonResult.count = 0;
                    objJsonResult.Message = "无权限查询!";
                    objJsonResult.data = null;
                    return objJsonResult;
                }
                DataSet ds2 = oCN.RunProcReturn("exec h_p_Kf_CheckSellOutBill_CrediControl " + HInterID, "h_p_Kf_CheckSellOutBill_BalanceQuery");
                if (ds2 == null)
                {
                    throw new Exception("无返回值!");
                }else
                {
                    objJsonResult.code = "1";
                    objJsonResult.count = 1;
                    objJsonResult.Message = "Sucess!";
                    objJsonResult.data = ds2.Tables[0];
                    return objJsonResult;
                }
            }
            catch (Exception e)
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "Exception!" + e.ToString();
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion
        #region 样品销售出库 审核/反审核
        /// <summary>
        /// </summary>