forked from erp-dev/erp
fix: appversions
This commit is contained in:
@@ -46,14 +46,20 @@ from .views.shipment import (
|
||||
ShipmentDeliveryByPrintingOrderView,
|
||||
ShipmentDeliveryCancelView,
|
||||
ShipmentDeliveryDetailView,
|
||||
ShipmentDeliveryPrintingJobListView,
|
||||
ShipmentDeliveryListCreateView,
|
||||
ShipmentDeliveryStatusUpdateView,
|
||||
ShipmentSalesItemCustomerListView,
|
||||
ShipmentListCreateView,
|
||||
ShipmentDetailView,
|
||||
ShipmentExternalCreateView,
|
||||
ShipmentPrintingJobListView,
|
||||
)
|
||||
from .views.settlement.views import (
|
||||
DesignerWorkflowTaskSummaryView,
|
||||
PlateOrderDesignerSummaryView,
|
||||
PlateOrderSummaryView,
|
||||
)
|
||||
from .views.settlement.views import PlateOrderSummaryView
|
||||
|
||||
# 创建 DRF Router for Stateflow
|
||||
stateflow_router = DefaultRouter()
|
||||
@@ -352,6 +358,11 @@ urlpatterns = [
|
||||
ShipmentDetailView.as_view(),
|
||||
name="shipment_detail",
|
||||
),
|
||||
path(
|
||||
"shipment/shipments/<int:pk>/printing-jobs/",
|
||||
ShipmentPrintingJobListView.as_view(),
|
||||
name="shipment_printing_jobs",
|
||||
),
|
||||
path(
|
||||
"shipment/shipments/<int:pk>/status/",
|
||||
ShipmentStatusUpdateView.as_view(),
|
||||
@@ -377,6 +388,11 @@ urlpatterns = [
|
||||
ShipmentDeliveryDetailView.as_view(),
|
||||
name="shipment_delivery_detail",
|
||||
),
|
||||
path(
|
||||
"shipment/deliveries/<int:pk>/printing-jobs/",
|
||||
ShipmentDeliveryPrintingJobListView.as_view(),
|
||||
name="shipment_delivery_printing_jobs",
|
||||
),
|
||||
path(
|
||||
"shipment/deliveries/<int:pk>/status/",
|
||||
ShipmentDeliveryStatusUpdateView.as_view(),
|
||||
@@ -436,6 +452,16 @@ urlpatterns = [
|
||||
PlateOrderSummaryView.as_view(),
|
||||
name="plate_order_summary",
|
||||
),
|
||||
path(
|
||||
"settlement/plate-orders/designer-summary/",
|
||||
PlateOrderDesignerSummaryView.as_view(),
|
||||
name="plate_order_designer_summary",
|
||||
),
|
||||
path(
|
||||
"settlement/workflows/designer-task-summary/",
|
||||
DesignerWorkflowTaskSummaryView.as_view(),
|
||||
name="designer_workflow_task_summary",
|
||||
),
|
||||
# 主 Router (printing-orders 等)
|
||||
path("", include(main_router.urls)),
|
||||
]
|
||||
|
||||
Reference in New Issue
Block a user