Esempio n. 1
0
        public JsonResult LoadCarrierSettlementExpression(string carrierId, string planType)
        {
            string   strErrText;
            DDSystem dd = new DDSystem();
            CarrierSettlementExpression data = dd.LoadCarrierSettlementExpression(long.Parse(carrierId), planType, LoginAccountId, LoginStaffName, out strErrText);

            if (data == null)
            {
                return(Json(null, JsonRequestBehavior.AllowGet));
            }
            else
            {
                var ret = new
                {
                    TransportChargeExpression = data.TransportChargeExpression,
                    TransportPriceExpression  = data.TransportPriceExpression
                };
                return(Json(ret, JsonRequestBehavior.AllowGet));
            }
        }