예제 #1
0
        public JsonResult GetCustomerCreditInfo(string customerNo, string currencyNo)
        {
            //return Json(new { suc = false, msg = "信用额度:<span style='color:green'>8000</span>;已用额度:9000;超出额度:<span style='color:red'>1000</span>" });
            var ot = new OtherSv();

            return(Json(ot.GetCustomerCreditInfo(ot.GetCustomerId(customerNo), ot.GetCurrencyId(currencyNo))));
        }
예제 #2
0
        public JsonResult GetProductPriceInfo(string itemNo)
        {
            var result = new OtherSv().GetProductPriceInfo(currentUser.userId, itemNo);

            if (result == null)
            {
                return(Json(new ResultModel()
                {
                    suc = false
                }));
            }
            return(Json(new ResultModel()
            {
                suc = true, extra = result
            }));
        }