diff --git a/hb_server/apps/sam/views.py b/hb_server/apps/sam/views.py index f6e51c1..e4902a8 100644 --- a/hb_server/apps/sam/views.py +++ b/hb_server/apps/sam/views.py @@ -201,6 +201,7 @@ class SaleProductViewSet(ListModelMixin, DestroyModelMixin, CreateModelMixin, Ge if obj.is_mtested: raise exceptions.APIException('已进行军检') obj.remark = request.data.get('remark', None) + obj.is_mtested = True obj.is_mtestok = request.data.get('is_mtestok') obj.save() return Response() \ No newline at end of file