feat(web-admin): driver feedback dialog brand qty entry

Co-authored-by: Cursor <cursoragent@cursor.com>
This commit is contained in:
zlwuandCursor committed 2026-07-31 05:31:22 +08:00
1 parent 2a215b2e1f
commit b7236329c2
5 files changed
+458 -69

No files matched your search

+16 -4
View File
@@ -416,7 +416,7 @@ export interface Plan {
id: string
planNo: string
createDate: string
planDate: string
planDate?: string | null
belongsCompany: string
planType: string
followStatus: string
@@ -509,9 +509,9 @@ export interface PlanTransportCreateBlock {
export interface PlanCreateFullPayload {
contractId: string
createDate: string
planDate: string
planDate?: string | null
belongsCompany: string
planType: string
planType?: string
contractNo?: string
supplierId?: string
supplierName?: string
@@ -591,11 +591,18 @@ export interface PlanArchiveBody {
freight?: PlanArchiveFreightBlock
}
export interface PlanDriverFeedbackProductItem {
planProductId: string
actualQty: number
brandQtys?: PlanArchiveBrandQtyItem[]
}
export interface PlanDriverFeedbackUpdateBody {
feedbackQty?: number | null
feedbackRemark?: string | null
feedbackImages?: string[]
feedbackTime?: string | null
products?: PlanDriverFeedbackProductItem[]
}
export interface PlanSiteFeedbackUpdateBody {
@@ -626,6 +633,9 @@ export const planApi = {
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`),
waitNotice: (id: string) => request.post<Plan>(`/transport/plan/${id}/wait-notice`),
cancelWaitNotice: (id: string) =>
request.post<Plan>(`/transport/plan/${id}/cancel-wait-notice`),
getArrangeInfo: (id: string) => request.get<PlanArrangeInfo>(`/transport/plan/${id}/arrange-info`),
archive: (id: string, data?: PlanArchiveBody) =>
request.post<Plan>(`/transport/plan/${id}/archive`, data),
@@ -636,7 +646,7 @@ export const planApi = {
delete: (id: string) => request.delete(`/transport/plan/${id}`),
createFromContract: (data: {
contractId: string
planDate: string
planDate?: string | null
createDate?: string
followUserId?: string
followUserName?: string
@@ -776,6 +786,7 @@ export interface PlIoOrderItem {
productNo?: string
productName?: string
brandSummary?: string
brandName?: string
specification?: string
unit?: string
unitLabel?: string
@@ -783,6 +794,7 @@ export interface PlIoOrderItem {
actualQty?: number
qtySource?: string
packageSpec?: string
deliveryMethod?: string
remark?: string
}