02 2024 档案
摘要:一个需求就是把近几年的每月的销售总额进行统计并进行图形展示,具体代码如下 performances = models.Performance.objects.annotate( year=ExtractYear('create_time'), month=ExtractMonth('create_t
阅读全文
摘要:<input type="number" id="inputValue" value="10" min="10" max="200" step="10" onkeydown="return false" onchange="updatePrice"> 这里重要的是onkeydown="return
阅读全文