前台
let jsonArray = [];
//循环所有选中行对象
$(".ship_req_qty").each(function (){
jsonArray.push({"no":***,"val":data});
}
});
var param = "jsonArray="+encodeURIComponent(JSON.stringify(jsonArray));
submitActionPP("***",param);
后台
String jsonParam = request.getParameter("jsonArray");
JSONArray jsonArray = new JSONArray(jsonParam);
List<HashMap<String, Object>> addList = thisForm.getAddList();
// 后台原始数据
for (int j = 0; j < addList.size(); j++) {
String line_no = String.valueOf(addList.get(j).get("line_no"));
// 前台最新数据
int status = 0;
for (int