This commit is contained in:
zlwu committed 2026-06-12 15:17:54 +08:00
1 parent 4ea71a1bae
commit 3abe69c1cc
83 files changed
+33505 -21867

No files matched your search

@@ -22,8 +22,14 @@ export interface ProductionWorkOrderItem {
workOrderStatus: string
createTime?: string
remark?: string
labStorageCode?: string
protocolStatus?: string
bizType?: string
bizTypeLabel?: string
/** 出库工单:关联申请单号 */
applicationNo?: string
applicationName?: string
channelName?: string
/** 出库工单:患者/用户姓名 */
patientName?: string
/** 出库工单:当前为第几次输注计划 */
@@ -127,3 +133,31 @@ export function fetchUpdateProductionWorkOrder(id: string, data: { remark?: stri
export function fetchDeleteProductionWorkOrder(id: string) {
return request.del({ url: `/web/admin/production-work-orders/${id}` })
}
export interface ProductionCellProductOption {
id: string
cellProductId?: string
productCode?: string
productName?: string
productTypeName?: string
passage?: string
storageSlotName?: string
taskId?: string
taskNo?: string
}
export function fetchProductionWorkOrderCellProductOptions(workOrderId: string) {
return request.get<ProductionCellProductOption[]>({
url: `/web/admin/production-work-orders/${workOrderId}/cell-product-options`
})
}
export function fetchCreateQcFromProduction(
workOrderId: string,
data: { cellProductId: string; productionTaskId?: string; remark?: string }
) {
return request.post({
url: `/web/admin/production-work-orders/${workOrderId}/qc-work-orders`,
data
})
}
+43
View File
@@ -15,6 +15,38 @@ export type SampleReceptionCheckResult = {
checkItemId?: string
}
export type QcProtocolPaymentDetailSummary = {
installmentNo?: number | null
installmentLabel?: string
installmentDueDate?: string
dueAmount?: number | null
transferAmount?: number | null
payStatus?: string
payStatusLabel?: string
}
export type QcProtocolPaymentSummary = {
payMode?: string
payModeLabel?: string
contractAmount?: number | null
receivedAmount?: number | null
pendingAmount?: number | null
statusHint?: string
overallPayStatus?: string
overallPayStatusLabel?: string
overallPayStatusTagType?: string
installmentCount?: number | null
paymentDetails?: QcProtocolPaymentDetailSummary[]
}
export type QcBasicExperimentFeeSummary = {
saleAmount?: number | null
paymentAmount?: number | null
transferAmount?: number | null
payStatus?: string
payStatusLabel?: string
}
export type QcWorkOrderReceptionDetail = {
protocolNo?: string
sampleCode?: string
@@ -93,6 +125,15 @@ export type QcWorkOrder = {
/** 出库工单:输注计划总次数 */
totalCourseCount?: number | null
infusionTime?: string
triggerSource?: string
triggerSourceLabel?: string
productionWorkOrderId?: string
productionWorkOrderNo?: string
productionTaskId?: string
protocolStatus?: string
protocolStatusLabel?: string
paymentSummary?: QcProtocolPaymentSummary | null
feeSummary?: QcBasicExperimentFeeSummary | null
}
export type QcWorkOrderDetail = QcWorkOrder & {
@@ -139,6 +180,7 @@ export function fetchQcWorkOrderList(params?: {
createTimeEnd?: string
infusionTimeStart?: string
infusionTimeEnd?: string
triggerSource?: string
}) {
return request.get<PageList<QcWorkOrder>>({
url: '/web/admin/qc-work-orders',
@@ -249,6 +291,7 @@ export type OutboundQcDetailProduct = {
export type OutboundQcDetail = {
workOrder: QcWorkOrderDetail
feeSummary?: QcBasicExperimentFeeSummary | null
application?: OutboundQcDetailApplication
patient?: OutboundQcDetailPatient
infusionPlan?: OutboundQcDetailInfusionPlan