优化追溯

This commit is contained in:
zc
2026-03-04 18:04:32 +08:00
parent 1e64e776ce
commit 0c40b20df7
2 changed files with 77 additions and 8 deletions

View File

@@ -12,7 +12,6 @@ export interface WorkOrderResp {
photoUrl: string
totalWeight: string
totalCount: string
workOrderInfos: Array<WorkOrderInfoResp>
createUserString: string
updateUserString: string
}
@@ -24,6 +23,7 @@ export interface WorkOrderInfoResp {
weightTime: string
quantity: string
weight: string
imgUrl: string
calculatedWeight: string
}
@@ -46,7 +46,7 @@ export function listWorkOrder(query: WorkOrderPageQuery) {
/** @desc 查询工作订单详情 */
export function getWorkOrder(id: string) {
return http.get<WorkOrderResp>(`${BASE_URL}/${id}`)
return http.get<Array<WorkOrderInfoResp>>(`${BASE_URL}/${id}`)
}
/** @desc 删除工作订单 */