提交
This commit is contained in:
1 parent
2de86b0500
commit
7f4c9720e9
37 files changed
+33121
-28528
No files matched your search
@@ -303,6 +303,36 @@ export function fetchDeleteOutputType(id: string) {
|
||||
return request.del({ url: `/web/admin/output-types/${id}` })
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// 生产产品类型(生产专用)
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
export function fetchProductionProductTypeList(params?: {
|
||||
page?: number
|
||||
pageSize?: number
|
||||
keyword?: string
|
||||
}) {
|
||||
return request.get<{
|
||||
list: any[]
|
||||
total: number
|
||||
page: number
|
||||
pageSize: number
|
||||
totalPages: number
|
||||
}>({ url: '/web/admin/production-product-types', params })
|
||||
}
|
||||
|
||||
export function fetchCreateProductionProductType(data: Record<string, any>) {
|
||||
return request.post({ url: '/web/admin/production-product-types', params: data })
|
||||
}
|
||||
|
||||
export function fetchUpdateProductionProductType(id: string, data: Record<string, any>) {
|
||||
return request.put({ url: `/web/admin/production-product-types/${id}`, params: data })
|
||||
}
|
||||
|
||||
export function fetchDeleteProductionProductType(id: string) {
|
||||
return request.del({ url: `/web/admin/production-product-types/${id}` })
|
||||
}
|
||||
|
||||
// ---------------------------------------------------------------------------
|
||||
// 耗材包管理
|
||||
// ---------------------------------------------------------------------------
|
||||
|
||||
Reference in new issue
Block a user