提交
This commit is contained in:
1 parent
4611dbc2b2
commit
ebf006eeff
46 files changed
+36802
-20974
No files matched your search
@@ -441,6 +441,8 @@ export interface PlanStopProduct {
|
||||
outboundQty?: number
|
||||
outboundPrice?: number
|
||||
outboundAmount?: number
|
||||
/** 本段归档品牌数量(与归档弹窗填写一致) */
|
||||
brandQtys?: Array<{ brandId: string; brandName?: string; qty: number; unitPrice?: number }>
|
||||
remark?: string
|
||||
}
|
||||
|
||||
@@ -623,6 +625,8 @@ export interface PlanQuery {
|
||||
hasHazardProduct?: number
|
||||
/** incomplete=至少一张必需危化证书未上传 */
|
||||
certUploadStatus?: string
|
||||
/** 0=未确认齐备 1=已确认齐备 */
|
||||
hazardCertReady?: number
|
||||
page?: number
|
||||
pageSize?: number
|
||||
}
|
||||
@@ -727,6 +731,8 @@ export interface PlanArchiveBrandQtyItem {
|
||||
brandId: string
|
||||
brandName?: string
|
||||
qty: number
|
||||
/** 本品牌单价(金额 = qty * unitPrice) */
|
||||
unitPrice?: number
|
||||
}
|
||||
|
||||
export interface TransportDriverProductFeedback {
|
||||
@@ -760,6 +766,7 @@ export interface PlanArchiveStopProductItem {
|
||||
inboundPrice?: number
|
||||
outboundQty?: number
|
||||
outboundPrice?: number
|
||||
brandQtys?: PlanArchiveBrandQtyItem[]
|
||||
}
|
||||
|
||||
export interface PlanArchiveLoadBlock {
|
||||
@@ -826,6 +833,10 @@ export interface PlanContractGapItem {
|
||||
supplierContracts: PlanContractLink[]
|
||||
demanderContracts: PlanContractLink[]
|
||||
products?: PlanProduct[]
|
||||
/** 段次合同完善:装货段 */
|
||||
load?: PlanLoad
|
||||
/** 段次合同完善:送货段列表 */
|
||||
deliveries?: PlanDelivery[]
|
||||
}
|
||||
|
||||
export interface PlanContractGapQuery {
|
||||
@@ -919,7 +930,11 @@ export const planApi = {
|
||||
exportContractGaps: (data: Record<string, any>) =>
|
||||
request.post('/transport/plan/contract-gaps/export', data, { responseType: 'blob' }),
|
||||
updateSideContracts: (id: string, side: 'supplier' | 'demander', contracts: PlanContractLink[]) =>
|
||||
request.put<PlanContractGapItem>(`/transport/plan/${id}/contracts/${side}`, { contracts })
|
||||
request.put<PlanContractGapItem>(`/transport/plan/${id}/contracts/${side}`, { contracts }),
|
||||
updateStopContracts: (
|
||||
id: string,
|
||||
data: { stopType: 'load' | 'delivery'; stopId: string; contracts: PlanContractLink[] }
|
||||
) => request.put<PlanContractGapItem>(`/transport/plan/${id}/stop-contracts`, data)
|
||||
}
|
||||
|
||||
// =============================================================================
|
||||
|
||||
Reference in new issue
Block a user