Commit d70f0b3f by qinjianhui

feat: 左侧状态数结构替换

parent 59104af9
......@@ -11,11 +11,9 @@ import type {
SearchForm,
StatusTreeNode,
} from '@/types/api/factoryOrderNew'
// 左侧状态树 - 先保留接口定义,实际数据在前端写死
export function getStatusTreeApi() {
export function getPodOrderStateGroupListApi() {
return axios.get<never, BaseRespData<StatusTreeNode[]>>(
'factory/orderNew/getStatusTree',
'factory/podOrder/findStateGroupList',
)
}
......@@ -26,7 +24,7 @@ export function getFactoryOrderNewListApi(
statusCode?: string,
) {
return axios.post<never, BasePaginationData<FactoryOrderNewListData>>(
'factory/orderNew/list_page',
'factory/podOrder/list_page',
{
...data,
currentPage,
......
export interface StatusTreeNode {
code: string
remark: string
count: number
children?: StatusTreeNode[]
status: string
statusName: string
quantity: number
children: StatusTreeNode[] | null
}
export interface SearchForm {
......
......@@ -312,7 +312,6 @@ const handleDelete = () => {
}
const handleReArrange = (row: BatchManageData) => {
// 后端未提供“批次 -> 商品ID列表”映射时,暂用行 id 作为占位
arrangeDialogRef.value?.open({
productIdList: [row.id],
title: '重排',
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment