直接调拨单上传调用方法修改,增加客户为小卫时,HSupID字段取值特殊处理
2个文件已修改
21 ■■■■■ 已修改文件
Model/仓库管理/ClsKf_MoveStockBillMain.cs 1 ●●●● 补丁 | 查看 | 原始文档 | blame | 历史
WebAPI/Controllers/条码管理/WEBSController.cs 20 ●●●●● 补丁 | 查看 | 原始文档 | blame | 历史
Model/²Ö¿â¹ÜÀí/ClsKf_MoveStockBillMain.cs
@@ -33,5 +33,6 @@
        public string HInvoiceBillNo;        //   å‘票编号
        public Int64 HProjectID;        //-项目
        public Int64 HCusID;
    }
}
WebAPI/Controllers/ÌõÂë¹ÜÀí/WEBSController.cs
@@ -3880,6 +3880,10 @@
        [HttpPost]
        public object set_SaveMoveStockBill_Json([FromBody] JObject oMain)
        {
            //获取系统参数
            string sErrMsg = "";
            if (oSystemParameter.ShowBill(ref sErrMsg) == true)
            {
            var _value = oMain["oMain"].ToString();
            string msg1 = _value.ToString();
            try
@@ -3896,7 +3900,14 @@
                websLsmain.HDeptID = lsmain[0].HDeptID;
                websLsmain.HWHID = lsmain[0].HWHID;
                websLsmain.HSCWHID = lsmain[0].HSCWHID;
                    if (oSystemParameter.omodel.WMS_CampanyName == "小卫") //系统参数  å®¢æˆ·å®šåˆ¶åŒ–名称     ç©ºç™½ä¸ºé€šç”¨
                    {
                        websLsmain.HSupID = lsmain[0].HCusID;
                    }
                    else
                    {
                websLsmain.HSupID = lsmain[0].HSupID;
                    }
                websLsmain.HKeeperID = lsmain[0].HKeeperID;
                websLsmain.HSecManagerID = lsmain[0].HSecManagerID;
                websLsmain.HEmpID = lsmain[0].HEmpID;
@@ -3974,6 +3985,15 @@
                return objJsonResult;
            }
        }
            else
            {
                objJsonResult.code = "0";
                objJsonResult.count = 0;
                objJsonResult.Message = "获取系统参数失败! " + sErrMsg;
                objJsonResult.data = null;
                return objJsonResult;
            }
        }
        #endregion