feat(pl): 展示各装送段用证配置与独立占用明细并保留历史计量口径。
This commit is contained in:
1 parent
706260ff7a
commit
b764eb02a7
10 files changed
+497
-40
No files matched your search
@@ -167,7 +167,15 @@ export const legalDocumentApi = {
|
||||
request.patch(`${legalBase}/${id}`, { products }).then(pickBxData<LegalDocument>)
|
||||
}
|
||||
|
||||
export type MeasurementVersion = 'per_stop_v2' | 'legacy_single_side'
|
||||
export interface QuotaSourceOption {
|
||||
sourceStopId?: string
|
||||
stopOrder?: number
|
||||
contractNo?: string | null
|
||||
bindingsReadable?: boolean
|
||||
certificates?: { certType: CertType; certId: string; certNo: string; quantityUnit: string }[]
|
||||
isToxic?: boolean
|
||||
isExplosive?: boolean
|
||||
sourceStopType: 'load' | 'delivery'
|
||||
sourceStopProductId: string
|
||||
planProductId: string
|
||||
@@ -202,6 +210,7 @@ export interface QuotaCondition {
|
||||
note: string
|
||||
}
|
||||
export interface QuotaConfiguration {
|
||||
measurementVersion?: MeasurementVersion
|
||||
sourceMapping?: QuotaSourcePair[] | null
|
||||
purchaseCertIds: string[]
|
||||
transportCertIds: string[]
|
||||
@@ -209,6 +218,8 @@ export interface QuotaConfiguration {
|
||||
conditions: QuotaCondition[]
|
||||
}
|
||||
export interface PlanQuota {
|
||||
measurementVersion?: MeasurementVersion
|
||||
stopProducts?: QuotaSourceOption[]
|
||||
planId: string
|
||||
planNo: string
|
||||
licensePlate?: string
|
||||
|
||||
Reference in new issue
Block a user