/// <summary>
        /// 保存商品
        /// </summary>
        /// <param name="goods"></param>
        /// <param name="price"></param>
        /// <returns></returns>
        public string SaveGoods(GoodInfo goods, List <string> price)
        {
            var  loginUser = (UserInfo)ViewBag.User;;
            Guid managerId = (Guid)ViewBag.ManagerId;
            bool res       = false;

            goods.LastUpdateTime = DateTime.Now;
            if (goods.Id == Guid.Empty)
            {
                goods.Id             = Guid.NewGuid();
                goods.CreateUserId   = managerId;
                goods.CreateUserName = loginUser.UserName;
                goods.CreateTime     = DateTime.Now;
            }
            string erpId = _manager.GetErpId(goods.GoodsNum);

            goods.ErpId = erpId;
            res         = _manager.UpdateGoodsInfo(goods);

            return(res.ToString());
        }