This commit is contained in:
zlwu committed 2026-08-23 18:42:27 +08:00
1 parent b74d483682
commit dd1acdc787
50 files changed
+636156 -7218

No files matched your search

+15 -1
View File
@@ -393,6 +393,11 @@ export const driverApi = {
// 计划管理 API
// =============================================================================
export interface PlanDocumentAttachmentItem {
url: string
label: string
}
export interface PlanContractLink {
contractId: string
contractNo?: string
@@ -495,6 +500,7 @@ export interface Plan {
hazardCertReady?: number
hazardCertReadyBy?: string
hazardCertReadyTime?: string
erpEntered?: number
remark?: string
createBy?: string
createTime: string
@@ -507,6 +513,8 @@ export interface Plan {
canCopyToSite?: boolean
/** 列表:是否显示「复制磅单二维码」 */
canCopyPoundQrcode?: boolean
/** 列表:单据附件(司机/现场/出入库现场等) */
documentAttachments?: PlanDocumentAttachmentItem[]
}
export interface PlanQuery {
@@ -632,7 +640,11 @@ export interface TransportDriverProductFeedback {
export interface PlanArchiveProductItem {
id: string
actualQty: number
actualQty?: number
inboundQty?: number
inboundPrice?: number
outboundQty?: number
outboundPrice?: number
brandQtys?: PlanArchiveBrandQtyItem[]
}
@@ -723,6 +735,8 @@ export const planApi = {
) => request.patch<Plan>(`/transport/plan/${id}/product-certs`, { products }),
setHazardCertReady: (id: string, ready: boolean) =>
request.patch<Plan>(`/transport/plan/${id}/hazard-cert-ready`, { ready }),
setErpEntered: (id: string, entered: boolean) =>
request.patch<Plan>(`/transport/plan/${id}/erp-entered`, { entered }),
cancel: (id: string) => request.post<Plan>(`/transport/plan/${id}/cancel`),
waitNotice: (id: string) => request.post<Plan>(`/transport/plan/${id}/wait-notice`),
cancelWaitNotice: (id: string) =>