This commit is contained in:
zlwu committed 2026-07-05 10:07:24 +08:00
1 parent 33c038b8d9
commit 54b27a3f0e
253 files changed
+30060 -14298

No files matched your search

+7
View File
@@ -394,7 +394,11 @@ export interface Plan {
notifyMessage?: string
followUserId?: string
followUserName?: string
hazardCertReady?: number
hazardCertReadyBy?: string
hazardCertReadyTime?: string
remark?: string
createBy?: string
createTime: string
products?: PlanProduct[]
}
@@ -522,6 +526,8 @@ export const planApi = {
id: string,
products: Array<{ id: string; purchaseCertUrl?: string; transportCertUrl?: string }>
) => request.patch<Plan>(`/transport/plan/${id}/product-certs`, { products }),
setHazardCertReady: (id: string, ready: boolean) =>
request.patch<Plan>(`/transport/plan/${id}/hazard-cert-ready`, { ready }),
cancel: (id: string) => request.post<Plan>(`/transport/plan/${id}/cancel`),
getArrangeInfo: (id: string) => request.get<PlanArrangeInfo>(`/transport/plan/${id}/arrange-info`),
archive: (id: string, data?: PlanArchiveBody) =>
@@ -769,6 +775,7 @@ export interface FreightSettlement {
transports?: Transport[]
plans?: SettlementPlanSummary[]
approvalFlow?: SettlementApprovalFlowItem[]
approvalHistory?: SettlementApprovalFlowItem[]
vouchers?: RemittanceVoucher[]
}
+13 -6
View File
@@ -1,21 +1,28 @@
import { publicPlGet, publicPlPost, publicPlUpload } from '@/utils/http/public-pl'
import type { PublicTransportProduct } from '@/api/pl/public-transport'
export interface PublicTransportSitePage {
batchNo?: string
businessType: string
date?: string
partnerCompany: string
product: string
specification?: string
quantity: number
vehicleNo: string
planNo?: string
status?: string
remark?: string
pickupAddress?: string
pickupLng?: number | null
pickupLat?: number | null
pickupTime?: string
pickupNotes?: string
destinationName?: string
destinationAddress?: string
destinationLng?: number | null
destinationLat?: number | null
deliveryTime?: string
destinationNotes?: string
products: PublicTransportProduct[]
siteFeedbackRemark?: string
siteFeedbackImages: string[]
siteFeedbackTime?: string
readOnly: boolean
voided: boolean
}
+13
View File
@@ -6,6 +6,13 @@ export interface PublicTransportProduct {
packageSpec?: string
unit?: string
quantity?: number
remark?: string
}
export interface PublicTransportPersonnel {
personnelName: string
phoneNo?: string
role?: string
}
export interface PublicTransportPage {
@@ -15,12 +22,18 @@ export interface PublicTransportPage {
pickupAddress?: string
pickupLng?: number | null
pickupLat?: number | null
pickupTime?: string
pickupNotes?: string
destinationName?: string
destinationAddress?: string
destinationLng?: number | null
destinationLat?: number | null
deliveryTime?: string
destinationNotes?: string
licensePlate?: string
driverName?: string
driverPhone?: string
otherPersonnel?: PublicTransportPersonnel[]
products: PublicTransportProduct[]
feedbackRemark?: string
feedbackImages: string[]