{"result":"ok","list":[{"msg":"","VBELN":"","MAKTX":"MMD-AP0186MHY-C"},{""msg":"","VBELN":"","MAKTX":"MMD-AP0186MHY-C"},{"msg":"","VBELN":"","MAKTX":"MMD-AP0186MHY-C"},{"msg":"","VBELN":"","MAKTX":"MMD-AP0186MHY-C"},{"msg":"","VBELN":"","MAKTX":"MMD-AP0215MHY-C"]}
这样一条JSON数据,根据MAKTX动态生成表格,不同的MAKTX才会生成新的表格,表格里面有一个span元素叫做数量,值为这条数据中相同的MAKTX的个数,没有相同的则为1,怎么写js