This commit is contained in:
zlwu committed 2026-06-25 12:41:07 +08:00
1 parent 66609c0e21
commit 0b50eff3d8
93 files changed
+40172 -30060

No files matched your search

+21 -10
View File
@@ -150,27 +150,38 @@ export function fetchDeleteProductionWorkOrder(id: string) {
return request.del({ url: `/web/admin/production-work-orders/${id}` })
}
export interface ProductionCellProductOption {
export interface ProductionQcDispatchOption {
id: string
cellProductId?: string
productCode?: string
productName?: string
productTypeName?: string
passage?: string
storageSlotName?: string
stepOutputId?: string
taskId?: string
taskNo?: string
taskName?: string
stepId?: string
processName?: string
outputTypeId?: string
outputTypeName?: string
outputName?: string
outputBarcode?: string
cellProductId?: string
}
export function fetchProductionWorkOrderCellProductOptions(workOrderId: string) {
return request.get<ProductionCellProductOption[]>({
/** @deprecated 使用 ProductionQcDispatchOption */
export type ProductionCellProductOption = ProductionQcDispatchOption
export function fetchProductionWorkOrderQcDispatchOptions(workOrderId: string) {
return request.get<ProductionQcDispatchOption[]>({
url: `/web/admin/production-work-orders/${workOrderId}/cell-product-options`
})
}
/** @deprecated 使用 fetchProductionWorkOrderQcDispatchOptions */
export function fetchProductionWorkOrderCellProductOptions(workOrderId: string) {
return fetchProductionWorkOrderQcDispatchOptions(workOrderId)
}
export function fetchCreateQcFromProduction(
workOrderId: string,
data: { cellProductId: string; productionTaskId?: string; remark?: string }
data: { productionStepOutputId: string; remark?: string }
) {
return request.post({
url: `/web/admin/production-work-orders/${workOrderId}/qc-work-orders`,