Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
F
factory_front
Overview
Overview
Details
Activity
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
1
Merge Requests
1
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
qinjianhui
factory_front
Commits
d70f0b3f
Commit
d70f0b3f
authored
Mar 19, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 左侧状态数结构替换
parent
59104af9
Expand all
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
7 additions
and
10 deletions
+7
-10
src/api/factoryOrderNew.ts
+3
-5
src/types/api/factoryOrderNew.ts
+4
-4
src/views/order/factoryOrderNew/component/BatchManageTable.vue
+0
-1
src/views/order/factoryOrderNew/index.vue
+0
-0
No files found.
src/api/factoryOrderNew.ts
View file @
d70f0b3f
...
...
@@ -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
,
...
...
src/types/api/factoryOrderNew.ts
View file @
d70f0b3f
export
interface
StatusTreeNode
{
code
:
string
remark
:
string
count
:
number
children
?:
StatusTreeNode
[]
status
:
string
statusName
:
string
quantity
:
number
children
:
StatusTreeNode
[]
|
null
}
export
interface
SearchForm
{
...
...
src/views/order/factoryOrderNew/component/BatchManageTable.vue
View file @
d70f0b3f
...
...
@@ -312,7 +312,6 @@ const handleDelete = () => {
}
const
handleReArrange
=
(
row
:
BatchManageData
)
=>
{
// 后端未提供“批次 -> 商品ID列表”映射时,暂用行 id 作为占位
arrangeDialogRef
.
value
?.
open
({
productIdList
:
[
row
.
id
],
title
:
'重排'
,
...
...
src/views/order/factoryOrderNew/index.vue
View file @
d70f0b3f
This diff is collapsed.
Click to expand it.
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
You are about to add
0
people
to the discussion. Proceed with caution.
Finish editing this message first!
Cancel
Please
register
or
sign in
to comment