123456789101112131415161718192021222324252627282930313233343536 |
- # urls.py
- from django.urls import path,re_path
- from . import views
- urlpatterns = [
- path('createInboundApply', views.InboundApplyCreate.as_view()),
- path('createOutboundApply', views.OutboundApplyCreate.as_view()),
- path('updateBatchInfo', views.BatchUpdate.as_view()),
- path('productInfo', views.ProductInfo.as_view()),
- path('generateinbound', views.GenerateInbound.as_view()),
- path('generateoutbound', views.GenerateOutbound.as_view()),
- path('inboundBills/', views.InboundBills.as_view({"get": "list"}),name="inboundBills"),
- re_path(r'^inboundBills/(?P<pk>\d+)/$', views.InboundBills.as_view({
- 'get': 'retrieve'
- }), name="inboundBills_1"),
- path('outboundBills/', views.OutboundBills.as_view({"get": "list"}),name="outboutBills"),
- re_path(r'^outboundBills/(?P<pk>\d+)/$', views.OutboundBills.as_view({
- 'get': 'retrieve'
- }), name="outboundBills_1"),
- path('materials/', views.Materials.as_view({"get": "list"}),name="Materials"),
- re_path(r'^materials/(?P<pk>\d+)/$', views.Materials.as_view({
- 'get': 'retrieve',
- }), name="Materials_1"),
- path('outmaterials/', views.OutMaterials.as_view({"get": "list"}),name="OutMaterials"),
- re_path(r'^outmaterials/(?P<pk>\d+)/$', views.OutMaterials.as_view({
- 'get': 'retrieve',
- }), name="OutMaterials_1"),
- ]
|