var data=data.sort(function(a,b){return b.kprq < a.kprq ? -1 : 1 })
[{
	"fp_je": 200,
	"c_url": "",
	"kpfs": "1",
	"fp_zl": "普通发票",
	"c_jpg_url": "",
	"fp_hm": "14319945",
	"kprq": "2018-08-14"
}, {
	"fp_je": 200,
	"c_url": null,
	"kpfs": "0",
	"fp_zl": "增值税专用发票",
	"c_jpg_url": null,
	"fp_hm": "12345688",
	"kprq": "2018-08-10"
}]

  

posted on 2018-08-22 10:13  chenlw101  阅读(127)  评论(0编辑  收藏  举报