jQery操作

                IList<OrderContainerInfo> listOrderContainer = new OrderContainer().GetList(tempOrderInfo.Order_Id);
                IList<OrderCartonningInfo>[] listVerifyBillOrder = new OrderCartonning().GetList(listOrderContainer);
                string str1 = ConverterClient.Serialize(listOrderContainer);
                string str2 = ConverterClient.Serialize(listVerifyBillOrder);
                //RetObj retObj = new RetObj()
                //{
                //    Str = "1",
                //    ListOrderContainer = listOrderContainer,
                //    ArrListVerifyBillOrder = listVerifyBillOrder
                //};
                string[] arrStr = { "1", str1, str2 };
                context.Response.Write(new JavaScriptSerializer().Serialize(arrStr));
                context.Response.End();

 

        success: function (data) {
            var retObj = eval(data);
            var obj1 = eval(retObj[0]);
            var obj2 = eval(retObj[1]);
            var obj3 = eval(retObj[2]);
//            alert(obj3[0][0].Order_Container_Id);
//            jQ("#orderContainer").empty();
            orderContainerUI.SetOrderContainerList(obj2, obj3, false);
            //            if (str != null && str != "undefined") {
            //                if (str == "1") { alert("上传成功"); }
            //                else if (str == "2") { alert("只能上传Excel格式的文件"); }
            //                else if (str == "3") { alert("文件不能大于1M"); }
            //                else if (str == "4") { alert("请选择要上传的文件"); }
            //                else { alert('操作失败!'); }
            //            }
            //            else alert('操作失败!');
        },

你可能感兴趣的:(操作)