提交
This commit is contained in:
1 parent
ca6aca2b14
commit
f70dc26206
63 files changed
+589912
-9127
No files matched your search
@@ -23,6 +23,7 @@ function mapListQuery(query: ContractQuery = {}): Record<string, any> {
|
||||
pageSize: query.pageSize ?? 20
|
||||
}
|
||||
const fields: (keyof ContractQuery)[] = [
|
||||
'keyword',
|
||||
'contractNo',
|
||||
'contractName',
|
||||
'customerName',
|
||||
|
||||
@@ -9,6 +9,8 @@
|
||||
export interface ContractQuery {
|
||||
pageNum?: number
|
||||
pageSize?: number
|
||||
/** 即时检索:合同编号 / 合同产品名称 / 产品拼音首字母 */
|
||||
keyword?: string
|
||||
contractNo?: string
|
||||
contractName?: string
|
||||
customerId?: number | string
|
||||
|
||||
@@ -380,6 +380,11 @@ export const driverApi = {
|
||||
// 计划管理 API
|
||||
// =============================================================================
|
||||
|
||||
export interface PlanContractLink {
|
||||
contractId: string
|
||||
contractNo?: string
|
||||
}
|
||||
|
||||
export interface PlanProduct {
|
||||
id: string
|
||||
planId: string
|
||||
@@ -418,6 +423,11 @@ export interface PlanProduct {
|
||||
remark?: string
|
||||
}
|
||||
|
||||
export interface PlanContractLink {
|
||||
contractId: string
|
||||
contractNo?: string
|
||||
}
|
||||
|
||||
export interface Plan {
|
||||
id: string
|
||||
planNo: string
|
||||
@@ -431,6 +441,8 @@ export interface Plan {
|
||||
completeStatus: string
|
||||
contractId?: string
|
||||
contractNo?: string
|
||||
supplierContracts?: PlanContractLink[]
|
||||
demanderContracts?: PlanContractLink[]
|
||||
supplierId?: string
|
||||
supplierName?: string
|
||||
destinationId?: string
|
||||
@@ -479,6 +491,8 @@ export interface Plan {
|
||||
createBy?: string
|
||||
createTime: string
|
||||
products?: PlanProduct[]
|
||||
supplierContracts?: PlanContractLink[]
|
||||
demanderContracts?: PlanContractLink[]
|
||||
}
|
||||
|
||||
export interface PlanQuery {
|
||||
@@ -520,7 +534,7 @@ export interface PlanTransportCreateBlock {
|
||||
}
|
||||
|
||||
export interface PlanCreateFullPayload {
|
||||
contractId: string
|
||||
contractId?: string
|
||||
createDate: string
|
||||
planDate?: string | null
|
||||
belongsCompany: string
|
||||
@@ -556,6 +570,8 @@ export interface PlanCreateFullPayload {
|
||||
followUserId?: string
|
||||
followUserName?: string
|
||||
remark?: string
|
||||
supplierContracts?: PlanContractLink[]
|
||||
demanderContracts?: PlanContractLink[]
|
||||
products: Array<{
|
||||
productId: string
|
||||
productNo: string
|
||||
|
||||
Reference in new issue
Block a user