Преглед изворни кода

feat(web-admin): add stockStatus to QC material batch list API.

Co-authored-by: Cursor <cursoragent@cursor.com>
zlwu пре 2 месеци
родитељ
комит
d8b61c523d
1 измењених фајлова са 1 додато и 0 уклоњено
  1. 1 0
      web-admin/src/api/qc-material.ts

+ 1 - 0
web-admin/src/api/qc-material.ts

@@ -113,6 +113,7 @@ export function fetchQcMaterialBatchList(params?: {
   keyword?: string
   keyword?: string
   materialId?: string
   materialId?: string
   status?: string
   status?: string
+  stockStatus?: 'all' | 'available' | 'exhausted'
 }) {
 }) {
   return request.get<PageList<QcMaterialBatch>>({
   return request.get<PageList<QcMaterialBatch>>({
     url: '/web/admin/qc-material-batches',
     url: '/web/admin/qc-material-batches',