var dataList = [ "6211125886667895", "6211125886667892", "6211125886667897" ]; for (var i = 0; i < dataList.length; i++) { //先创建好select里面的option元素 var option = document.createElement("option"); //给option的text赋值,这…
首先定义Model对象:var deliveryInfoModel = new DeliveryInfo(); 第二步定义嵌套的list对象:var list = new List<DeliveryInfoModel>(); 第三步定义嵌套的model对象:var model = new DeliveryInfoModel(); 第四步对定义的嵌套model对象赋值: model.DeliveryType = 1; model.DeliveryWay = 1; model.DeliveryCo…