1
0
forked from erp-dev/erp

feat: added print_count api, added merchant setting model, added manual mode setting for purchase order

This commit is contained in:
2025-11-28 15:01:11 +08:00
parent 53f2a24b20
commit 0c62398120
36 changed files with 1634 additions and 478 deletions

11
api_v1/enums.py Normal file
View File

@@ -0,0 +1,11 @@
from django.db import models
class PrintCountObjectType(models.TextChoices):
PRINTING_ORDER = 'printing_order', '印染订单'
PLATE_ORDER = 'plate_order', '开版订单'
@classmethod
def values(cls):
return [choice.value for choice in cls]