public ActionResult BagTagPrint(string outStorageId)
        {
            if (string.IsNullOrWhiteSpace(outStorageId))
            {
                return(View());
            }

            BagTagPrintModel model = GetBagTagPrint(outStorageId);

            //ui test data
            //model.BagTagNumber = "A-US-201412300001";
            //model.CountryName = "美国";
            //model.HasBattery = false;
            //model.Qty = 55;
            //model.TotalWeight = 24.5M;

            return(View(model));
        }
        private BagTagPrintModel GetBagTagPrint(string outStorageId)
        {
            var e = _fubService.GetBagTagPrint(outStorageId);

            if (e == null)
            {
                return(null);
            }

            BagTagPrintModel model = new BagTagPrintModel();

            model.BagTagNumber = e.BagTagNumber;
            model.CountryName  = e.CountryName;
            model.HasBattery   = e.HasBattery;
            model.Qty          = e.Qty;
            model.TotalWeight  = e.TotalWeight;

            return(model);
        }