提交
This commit is contained in:
1 parent
28f233c922
commit
038a60b09e
478 files changed
+67530
-51951
No files matched your search
@@ -88,17 +88,18 @@ export type MaterialBatchOption = {
|
||||
}
|
||||
|
||||
export type StockInPayload = {
|
||||
stockInNo: string
|
||||
stockInDate: string
|
||||
expireDate: string
|
||||
catalogNo: string
|
||||
batchNo: string
|
||||
manufacturer: string
|
||||
unitPrice: number
|
||||
amount: number
|
||||
qty: number
|
||||
stockInNo?: string
|
||||
stockInDate?: string
|
||||
expireDate?: string
|
||||
catalogNo?: string
|
||||
batchNo?: string
|
||||
manufacturer?: string
|
||||
unitPrice?: number
|
||||
amount?: number
|
||||
qty?: number
|
||||
remark?: string
|
||||
stockInTime?: string
|
||||
operatorName?: string
|
||||
}
|
||||
|
||||
export type BatchStockInLine = StockInPayload & {
|
||||
@@ -184,6 +185,7 @@ export function fetchBatchStockInMaterial(data: {
|
||||
items: BatchStockInLine[]
|
||||
remark?: string
|
||||
stockInTime?: string
|
||||
operatorName?: string
|
||||
}) {
|
||||
return request.post<{ count: number }>({
|
||||
url: '/web/admin/material-batches/batch-stock-in',
|
||||
@@ -210,6 +212,7 @@ export function fetchBatchStockOutMaterial(data: {
|
||||
purpose?: string
|
||||
remark?: string
|
||||
stockOutTime?: string
|
||||
operatorName?: string
|
||||
}) {
|
||||
return request.post<{ count: number }>({
|
||||
url: '/web/admin/material-batches/batch-stock-out',
|
||||
@@ -222,6 +225,7 @@ export function fetchBatchDiscardMaterial(data: {
|
||||
discardReason: string
|
||||
remark?: string
|
||||
discardTime?: string
|
||||
operatorName?: string
|
||||
}) {
|
||||
return request.post<{ count: number }>({
|
||||
url: '/web/admin/material-batches/batch-discard',
|
||||
|
||||
Reference in new issue
Block a user