Ver código fonte

出库Bug修改:库位组排除full

flower_mr 1 semana atrás
pai
commit
3b9a78ad6e
93 arquivos alterados com 73 adições e 36 exclusões
  1. 1 1
      bin/queries.py
  2. 3 0
      logs/error.log
  3. 33 0
      logs/server.log
  4. 1 0
      templates/dist/spa/css/16.4b9e275f.css
  5. 0 0
      templates/dist/spa/css/17.3b82583b.css
  6. 0 1
      templates/dist/spa/css/17.c26144d8.css
  7. 1 0
      templates/dist/spa/css/18.01a9029f.css
  8. 0 0
      templates/dist/spa/css/19.31ab8f86.css
  9. 0 0
      templates/dist/spa/css/20.0d4c4716.css
  10. 0 0
      templates/dist/spa/css/21.e0fd7d29.css
  11. 0 0
      templates/dist/spa/css/22.8f3f6188.css
  12. 0 0
      templates/dist/spa/css/23.4a53120f.css
  13. 0 0
      templates/dist/spa/css/24.368d1e05.css
  14. 0 0
      templates/dist/spa/css/25.e4f041cc.css
  15. 0 0
      templates/dist/spa/css/26.7a23b7fb.css
  16. 0 0
      templates/dist/spa/css/27.0faa4aeb.css
  17. 1 1
      templates/dist/spa/css/3.cd59f5a0.css
  18. 1 1
      templates/dist/spa/index.html
  19. 1 0
      templates/dist/spa/js/16.cee84e51.js
  20. BIN
      templates/dist/spa/js/16.cee84e51.js.gz
  21. 0 1
      templates/dist/spa/js/17.69da295c.js
  22. BIN
      templates/dist/spa/js/17.69da295c.js.gz
  23. 1 1
      templates/dist/spa/js/16.4169f2ae.js
  24. BIN
      templates/dist/spa/js/16.4169f2ae.js.gz
  25. 1 0
      templates/dist/spa/js/18.20ba4467.js
  26. BIN
      templates/dist/spa/js/18.20ba4467.js.gz
  27. BIN
      templates/dist/spa/js/18.852a1e39.js.gz
  28. 1 1
      templates/dist/spa/js/18.852a1e39.js
  29. BIN
      templates/dist/spa/js/19.392c3531.js.gz
  30. 1 1
      templates/dist/spa/js/19.b76ca281.js
  31. BIN
      templates/dist/spa/js/20.9bc46687.js.gz
  32. 1 1
      templates/dist/spa/js/20.9bc46687.js
  33. BIN
      templates/dist/spa/js/21.6b3615f0.js.gz
  34. BIN
      templates/dist/spa/js/22.0374c685.js.gz
  35. 1 1
      templates/dist/spa/js/21.4ca64365.js
  36. BIN
      templates/dist/spa/js/21.4ca64365.js.gz
  37. 1 1
      templates/dist/spa/js/22.0374c685.js
  38. BIN
      templates/dist/spa/js/23.159638d0.js.gz
  39. 1 1
      templates/dist/spa/js/23.6301f11c.js
  40. 1 1
      templates/dist/spa/js/24.97e44218.js
  41. 1 1
      templates/dist/spa/js/25.370c1177.js
  42. 1 1
      templates/dist/spa/js/26.a3fcc9e7.js
  43. 1 1
      templates/dist/spa/js/27.55ede22e.js
  44. BIN
      templates/dist/spa/js/28.d4bb0207.js.gz
  45. BIN
      templates/dist/spa/js/29.91db8875.js.gz
  46. 1 1
      templates/dist/spa/js/28.d4bb0207.js
  47. BIN
      templates/dist/spa/js/29.e45f8f97.js.gz
  48. 1 0
      templates/dist/spa/js/3.54ff5a38.js
  49. BIN
      templates/dist/spa/js/3.54ff5a38.js.gz
  50. 0 1
      templates/dist/spa/js/3.61d43d4a.js
  51. BIN
      templates/dist/spa/js/3.61d43d4a.js.gz
  52. 1 1
      templates/dist/spa/js/29.91db8875.js
  53. BIN
      templates/dist/spa/js/30.a76270fb.js.gz
  54. BIN
      templates/dist/spa/js/31.67bb9c0c.js.gz
  55. 1 1
      templates/dist/spa/js/30.08bc3e2a.js
  56. BIN
      templates/dist/spa/js/30.08bc3e2a.js.gz
  57. 1 1
      templates/dist/spa/js/31.67bb9c0c.js
  58. BIN
      templates/dist/spa/js/32.8891987a.js.gz
  59. BIN
      templates/dist/spa/js/32.9cca3f49.js.gz
  60. 1 1
      templates/dist/spa/js/32.9cca3f49.js
  61. BIN
      templates/dist/spa/js/33.c4da9cdd.js.gz
  62. BIN
      templates/dist/spa/js/33.d48e6fd8.js.gz
  63. 1 1
      templates/dist/spa/js/33.d48e6fd8.js
  64. BIN
      templates/dist/spa/js/34.5f3e1414.js.gz
  65. BIN
      templates/dist/spa/js/34.f0448d3a.js.gz
  66. BIN
      templates/dist/spa/js/35.76ef290f.js.gz
  67. 1 1
      templates/dist/spa/js/34.f0448d3a.js
  68. BIN
      templates/dist/spa/js/35.d6790c60.js.gz
  69. 1 1
      templates/dist/spa/js/35.76ef290f.js
  70. BIN
      templates/dist/spa/js/36.065ef517.js.gz
  71. BIN
      templates/dist/spa/js/36.883bf4d5.js.gz
  72. BIN
      templates/dist/spa/js/37.2cbbbf8b.js.gz
  73. 1 1
      templates/dist/spa/js/36.883bf4d5.js
  74. BIN
      templates/dist/spa/js/37.94be7006.js.gz
  75. BIN
      templates/dist/spa/js/38.4cafcd97.js.gz
  76. 1 1
      templates/dist/spa/js/37.2cbbbf8b.js
  77. BIN
      templates/dist/spa/js/38.d34ba656.js.gz
  78. 1 1
      templates/dist/spa/js/38.4cafcd97.js
  79. BIN
      templates/dist/spa/js/39.863ee5e9.js.gz
  80. BIN
      templates/dist/spa/js/39.e4125491.js.gz
  81. 1 1
      templates/dist/spa/js/39.e4125491.js
  82. BIN
      templates/dist/spa/js/40.5dcfdebe.js.gz
  83. 1 1
      templates/dist/spa/js/40.b956eaac.js
  84. 1 1
      templates/dist/spa/js/41.9fda93d7.js
  85. 1 1
      templates/dist/spa/js/42.b1605c6e.js
  86. 0 1
      templates/dist/spa/js/44.441d720c.js
  87. 1 1
      templates/dist/spa/js/43.baf04fb8.js
  88. 0 1
      templates/dist/spa/js/71.8bee2b2d.js
  89. 1 0
      templates/dist/spa/js/71.e4dba7bb.js
  90. 1 0
      templates/dist/spa/js/app.8c5f7264.js
  91. BIN
      templates/dist/spa/js/app.8c5f7264.js.gz
  92. 0 1
      templates/dist/spa/js/app.e69382a4.js
  93. BIN
      templates/dist/spa/js/app.e69382a4.js.gz

+ 1 - 1
bin/queries.py

@@ -251,7 +251,7 @@ class LocationQueries:
         x ('maintenance', '维护中')
         """
         layer_solution_type =[]
-        location_group_obj =LocationGroupModel.objects.filter(current_batch=batch_number).all().exclude(status=['available','full','disabled','maintenance'])
+        location_group_obj = LocationGroupModel.objects.filter(current_batch=batch_number).exclude(status__in=['available', 'full', 'disabled', 'maintenance'])
         if not location_group_obj:
             return None
         else:

+ 3 - 0
logs/error.log

@@ -9312,3 +9312,6 @@ Traceback (most recent call last):
     ('count', self.page.paginator.count),
 AttributeError: 'MyPageNumberPagination' object has no attribute 'page'
 [2025-05-27 02:39:26,857][django.server.log_message():187] [ERROR] "GET /container/out_detail/1/ HTTP/1.1" 500 123485
+[2025-05-27 03:33:53,643][django.request.log_response():241] [ERROR] Internal Server Error: /container/container_wcs/
+[2025-05-27 03:34:26,417][django.request.log_response():241] [ERROR] Internal Server Error: /container/container_wcs/
+[2025-05-27 03:34:49,167][django.request.log_response():241] [ERROR] Internal Server Error: /container/container_wcs/

+ 33 - 0
logs/server.log

@@ -27838,3 +27838,36 @@ AttributeError: 'MyPageNumberPagination' object has no attribute 'page'
 [2025-05-27 03:20:02,465][django.server.log_message():187] [INFO] "GET /container/out_detail/2/ HTTP/1.1" 200 1365
 [2025-05-27 03:20:02,503][django.server.log_message():187] [INFO] "GET /bound/list/2/ HTTP/1.1" 200 401
 [2025-05-27 03:20:02,511][django.server.log_message():187] [INFO] "GET /bound/outdetail/?bound_list=2 HTTP/1.1" 200 4605
+[2025-05-27 03:33:53,643][django.request.log_response():241] [ERROR] Internal Server Error: /container/container_wcs/
+[2025-05-27 03:34:26,417][django.request.log_response():241] [ERROR] Internal Server Error: /container/container_wcs/
+[2025-05-27 03:34:49,167][django.request.log_response():241] [ERROR] Internal Server Error: /container/container_wcs/
+[2025-05-27 03:43:03,970][django.server.log_message():187] [INFO] "GET /container/container_wcs/ HTTP/1.1" 200 255
+[2025-05-27 03:43:09,947][django.server.log_message():187] [INFO] "GET /bin/?layer=1&warehouse_code=W01&max_page=1000&shelf_name=A%E5%8C%BA%E8%B4%A7%E6%9E%B6 HTTP/1.1" 200 193652
+[2025-05-27 03:43:15,498][django.server.log_message():187] [INFO] "GET /warehouse/boundcodetype/ HTTP/1.1" 200 250
+[2025-05-27 03:43:15,505][django.server.log_message():187] [INFO] "OPTIONS /wms/inboundBills/?page=1&base_type=0&page_size=11 HTTP/1.1" 200 0
+[2025-05-27 03:43:15,548][django.server.log_message():187] [INFO] "GET /warehouse/boundtype/ HTTP/1.1" 200 233
+[2025-05-27 03:43:15,604][django.server.log_message():187] [INFO] "GET /warehouse/department/ HTTP/1.1" 200 2858
+[2025-05-27 03:43:15,648][django.server.log_message():187] [INFO] "GET /warehouse/boundbusiness/ HTTP/1.1" 200 229
+[2025-05-27 03:43:15,676][django.server.log_message():187] [INFO] "GET /wms/inboundBills/?page=1&base_type=0&page_size=11 HTTP/1.1" 200 52
+[2025-05-27 03:43:17,649][django.server.log_message():187] [INFO] "GET /bin/?layer=1&warehouse_code=W01&max_page=1000&shelf_name=A%E5%8C%BA%E8%B4%A7%E6%9E%B6 HTTP/1.1" 200 193652
+[2025-05-27 03:43:20,175][django.server.log_message():187] [INFO] "OPTIONS /container/list/?page=1&page_size=11 HTTP/1.1" 200 0
+[2025-05-27 03:43:20,224][django.server.log_message():187] [INFO] "GET /container/list/?page=1&page_size=11 HTTP/1.1" 200 1845
+[2025-05-27 03:43:39,835][django.server.log_message():187] [INFO] "OPTIONS /bound/list/?page=1&base_type=0&page_size=11 HTTP/1.1" 200 0
+[2025-05-27 03:43:39,838][django.server.log_message():187] [INFO] "OPTIONS /warehouse/department/?max_page=1000 HTTP/1.1" 200 0
+[2025-05-27 03:43:39,915][django.server.log_message():187] [INFO] "GET /warehouse/boundcodetype/ HTTP/1.1" 200 250
+[2025-05-27 03:43:40,038][django.server.log_message():187] [INFO] "GET /warehouse/department/?max_page=1000 HTTP/1.1" 200 9376
+[2025-05-27 03:43:40,096][django.server.log_message():187] [INFO] "GET /bound/list/?page=1&base_type=0&page_size=11 HTTP/1.1" 200 2463
+[2025-05-27 03:43:40,143][django.server.log_message():187] [INFO] "GET /warehouse/status/ HTTP/1.1" 200 600
+[2025-05-27 03:43:40,144][django.server.log_message():187] [INFO] "GET /warehouse/boundbusiness/ HTTP/1.1" 200 229
+[2025-05-27 03:43:40,148][django.server.log_message():187] [INFO] "GET /warehouse/boundtype/ HTTP/1.1" 200 233
+[2025-05-27 03:43:40,597][django.server.log_message():187] [INFO] "OPTIONS /bound/batch/count/?page=1&page_size=11 HTTP/1.1" 200 0
+[2025-05-27 03:43:40,637][django.server.log_message():187] [INFO] "GET /bound/batch/count/?page=1&page_size=11 HTTP/1.1" 200 624
+[2025-05-27 03:43:43,713][django.server.log_message():187] [INFO] "OPTIONS /bound/batch/count/3/ HTTP/1.1" 200 0
+[2025-05-27 03:43:43,819][django.server.log_message():187] [INFO] "GET /bound/batch/count/3/ HTTP/1.1" 200 5255
+[2025-05-27 03:43:53,200][django.server.log_message():187] [INFO] "OPTIONS /bound/batch/?page=1&page_size=11 HTTP/1.1" 200 0
+[2025-05-27 03:43:53,289][django.server.log_message():187] [INFO] "GET /bound/batch/?page=1&page_size=11 HTTP/1.1" 200 6481
+[2025-05-27 03:43:56,162][django.server.log_message():187] [INFO] "OPTIONS /bound/batch/?page=2&page_size=11 HTTP/1.1" 200 0
+[2025-05-27 03:43:56,243][django.server.log_message():187] [INFO] "GET /bound/batch/?page=2&page_size=11 HTTP/1.1" 200 6576
+[2025-05-27 03:43:57,779][django.server.log_message():187] [INFO] "OPTIONS /bound/batch/?page=3&page_size=11 HTTP/1.1" 200 0
+[2025-05-27 03:43:57,867][django.server.log_message():187] [INFO] "GET /bound/batch/?page=3&page_size=11 HTTP/1.1" 200 6603
+[2025-05-27 03:43:59,908][django.server.log_message():187] [INFO] "GET /container/list/?page=1&page_size=11 HTTP/1.1" 200 1845

+ 1 - 0
templates/dist/spa/css/16.4b9e275f.css

@@ -0,0 +1 @@
+.q-date__calendar-item--selected[data-v-14be086a]{transition:all 0.3s ease;background-color:#1976d2!important}.q-date__range[data-v-14be086a]{background-color:rgba(25,118,210,0.1)}[data-v-14be086a] .q-field__label{margin-top:8px;align-self:center}[data-v-14be086a] .q-field__control-container{padding-left:50px;margin-top:-5px}

templates/dist/spa/css/16.3b82583b.css → templates/dist/spa/css/17.3b82583b.css


+ 0 - 1
templates/dist/spa/css/17.c26144d8.css

@@ -1 +0,0 @@
-.q-date__calendar-item--selected[data-v-6bac0e87]{transition:all 0.3s ease;background-color:#1976d2!important}.q-date__range[data-v-6bac0e87]{background-color:rgba(25,118,210,0.1)}[data-v-6bac0e87] .q-field__label{margin-top:8px;align-self:center}[data-v-6bac0e87] .q-field__control-container{padding-left:50px;margin-top:-5px}

+ 1 - 0
templates/dist/spa/css/18.01a9029f.css

@@ -0,0 +1 @@
+.q-date__calendar-item--selected[data-v-a7c541c6]{transition:all 0.3s ease;background-color:#1976d2!important}.q-date__range[data-v-a7c541c6]{background-color:rgba(25,118,210,0.1)}[data-v-a7c541c6] .q-field__label{margin-top:8px;align-self:center}[data-v-a7c541c6] .q-field__control-container{padding-left:50px;margin-top:-5px}

templates/dist/spa/css/18.31ab8f86.css → templates/dist/spa/css/19.31ab8f86.css


templates/dist/spa/css/19.0d4c4716.css → templates/dist/spa/css/20.0d4c4716.css


templates/dist/spa/css/20.e0fd7d29.css → templates/dist/spa/css/21.e0fd7d29.css


templates/dist/spa/css/21.8f3f6188.css → templates/dist/spa/css/22.8f3f6188.css


templates/dist/spa/css/22.4a53120f.css → templates/dist/spa/css/23.4a53120f.css


templates/dist/spa/css/23.368d1e05.css → templates/dist/spa/css/24.368d1e05.css


templates/dist/spa/css/24.e4f041cc.css → templates/dist/spa/css/25.e4f041cc.css


templates/dist/spa/css/25.7a23b7fb.css → templates/dist/spa/css/26.7a23b7fb.css


templates/dist/spa/css/26.0faa4aeb.css → templates/dist/spa/css/27.0faa4aeb.css


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/css/3.cd59f5a0.css


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/index.html


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 0
templates/dist/spa/js/16.cee84e51.js


BIN
templates/dist/spa/js/16.cee84e51.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 1
templates/dist/spa/js/17.69da295c.js


BIN
templates/dist/spa/js/17.69da295c.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/16.4169f2ae.js


BIN
templates/dist/spa/js/16.4169f2ae.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 0
templates/dist/spa/js/18.20ba4467.js


BIN
templates/dist/spa/js/18.20ba4467.js.gz


BIN
templates/dist/spa/js/18.852a1e39.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/18.852a1e39.js


BIN
templates/dist/spa/js/19.392c3531.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/19.b76ca281.js


BIN
templates/dist/spa/js/20.9bc46687.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/20.9bc46687.js


BIN
templates/dist/spa/js/21.6b3615f0.js.gz


BIN
templates/dist/spa/js/22.0374c685.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/21.4ca64365.js


BIN
templates/dist/spa/js/21.4ca64365.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/22.0374c685.js


BIN
templates/dist/spa/js/23.159638d0.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/23.6301f11c.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/24.97e44218.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/25.370c1177.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/26.a3fcc9e7.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/27.55ede22e.js


BIN
templates/dist/spa/js/28.d4bb0207.js.gz


BIN
templates/dist/spa/js/29.91db8875.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/28.d4bb0207.js


BIN
templates/dist/spa/js/29.e45f8f97.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 0
templates/dist/spa/js/3.54ff5a38.js


BIN
templates/dist/spa/js/3.54ff5a38.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 1
templates/dist/spa/js/3.61d43d4a.js


BIN
templates/dist/spa/js/3.61d43d4a.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/29.91db8875.js


BIN
templates/dist/spa/js/30.a76270fb.js.gz


BIN
templates/dist/spa/js/31.67bb9c0c.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/30.08bc3e2a.js


BIN
templates/dist/spa/js/30.08bc3e2a.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/31.67bb9c0c.js


BIN
templates/dist/spa/js/32.8891987a.js.gz


BIN
templates/dist/spa/js/32.9cca3f49.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/32.9cca3f49.js


BIN
templates/dist/spa/js/33.c4da9cdd.js.gz


BIN
templates/dist/spa/js/33.d48e6fd8.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/33.d48e6fd8.js


BIN
templates/dist/spa/js/34.5f3e1414.js.gz


BIN
templates/dist/spa/js/34.f0448d3a.js.gz


BIN
templates/dist/spa/js/35.76ef290f.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/34.f0448d3a.js


BIN
templates/dist/spa/js/35.d6790c60.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/35.76ef290f.js


BIN
templates/dist/spa/js/36.065ef517.js.gz


BIN
templates/dist/spa/js/36.883bf4d5.js.gz


BIN
templates/dist/spa/js/37.2cbbbf8b.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/36.883bf4d5.js


BIN
templates/dist/spa/js/37.94be7006.js.gz


BIN
templates/dist/spa/js/38.4cafcd97.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/37.2cbbbf8b.js


BIN
templates/dist/spa/js/38.d34ba656.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/38.4cafcd97.js


BIN
templates/dist/spa/js/39.863ee5e9.js.gz


BIN
templates/dist/spa/js/39.e4125491.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/39.e4125491.js


BIN
templates/dist/spa/js/40.5dcfdebe.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/40.b956eaac.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/41.9fda93d7.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/42.b1605c6e.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 1
templates/dist/spa/js/44.441d720c.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 1
templates/dist/spa/js/43.baf04fb8.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 1
templates/dist/spa/js/71.8bee2b2d.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 0
templates/dist/spa/js/71.e4dba7bb.js


Diferenças do arquivo suprimidas por serem muito extensas
+ 1 - 0
templates/dist/spa/js/app.8c5f7264.js


BIN
templates/dist/spa/js/app.8c5f7264.js.gz


Diferenças do arquivo suprimidas por serem muito extensas
+ 0 - 1
templates/dist/spa/js/app.e69382a4.js


BIN
templates/dist/spa/js/app.e69382a4.js.gz