From 1aa7d51769e69ae582360b83e2d63a5bb6fd273c Mon Sep 17 00:00:00 2001 From: caoqianming Date: Mon, 13 Oct 2025 15:45:04 +0800 Subject: [PATCH] =?UTF-8?q?feat:=20material=E6=B7=BB=E5=8A=A0create=5Ftime?= =?UTF-8?q?=E7=9A=84=E6=8E=92=E5=BA=8F=E6=9D=A1=E4=BB=B6?= MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit --- apps/mtm/views.py | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/apps/mtm/views.py b/apps/mtm/views.py index c5c640be..2bd530b2 100644 --- a/apps/mtm/views.py +++ b/apps/mtm/views.py @@ -39,7 +39,7 @@ class MaterialViewSet(CustomModelViewSet): ordering = ['name', 'model', 'specification', 'type', 'process', 'process__sort', 'sort', 'id', 'number'] ordering_fields = ['name', 'model', 'specification', - 'type', 'process', 'process__sort', 'sort', 'id', 'number'] + 'type', 'process', 'process__sort', 'sort', 'id', 'number', 'create_time'] def perform_destroy(self, instance): from apps.inm.models import MaterialBatch