Bootstrap实现购物车功能,相同商品只加数量

HTML 




	
		
		
		
		
		
	

	
		
		
		
		
		

采购申请

序号 商品编号 物资名称 物资规格 物资数量 物资单位 操作

cgsq.json 

{
	"total": 1,
	"rows": [
		{
			"Material_id": 1,
			"Material_serial": 10001,
			"Material_name": "华为P30",
			"Material_specification": "16",
			"Material_unit":"件"
		},{
			"Material_id": 2,
			"Material_serial": 10002,
			"Material_name": "荣耀20",
			"Material_specification": "16",
			"Material_unit":"件"
		},{
			"Material_id": 3,
			"Material_serial": 10003,
			"Material_name": "外星人笔记本",
			"Material_specification": "16",
			"Material_unit":"台"
		}
		
	]
}

 

 

你可能感兴趣的:(前段框架,Bootstrap购物车)