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
2bd67dac
Commit
2bd67dac
authored
Apr 01, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
feat: 状态推送功能开发
parent
8a21c7ac
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
3 deletions
+17
-3
src/api/factoryOrderNew.ts
+8
-0
src/views/order/factoryOrderNew/index.vue
+9
-3
No files found.
src/api/factoryOrderNew.ts
View file @
2bd67dac
...
@@ -468,3 +468,10 @@ export function submitPodPrintOrderCompleteApi(
...
@@ -468,3 +468,10 @@ export function submitPodPrintOrderCompleteApi(
data
,
data
,
)
)
}
}
export
function
statusPushApi
(
ids
:
(
string
|
number
)[])
{
return
axios
.
post
<
never
,
BaseRespData
<
never
>>
(
'factory/podOrder/statusPush'
,
ids
,
)
}
\ No newline at end of file
src/views/order/factoryOrderNew/index.vue
View file @
2bd67dac
...
@@ -922,6 +922,7 @@ import {
...
@@ -922,6 +922,7 @@ import {
getSingleQueryPodOrderApi
,
getSingleQueryPodOrderApi
,
submitPodPrintOrderCompleteApi
,
submitPodPrintOrderCompleteApi
,
getFactoryOrderNewOperateDetailApi
,
getFactoryOrderNewOperateDetailApi
,
statusPushApi
,
}
from
'@/api/factoryOrderNew'
}
from
'@/api/factoryOrderNew'
import
{
filePath
}
from
'@/api/axios'
import
{
filePath
}
from
'@/api/axios'
import
{
OrderData
}
from
'@/types/api/podMakeOrder'
import
{
OrderData
}
from
'@/types/api/podMakeOrder'
...
@@ -1454,6 +1455,7 @@ const handleCancelOrder = () => {
...
@@ -1454,6 +1455,7 @@ const handleCancelOrder = () => {
cancelOrderDialogRef
.
value
?.
open
(
getSelectedIds
())
cancelOrderDialogRef
.
value
?.
open
(
getSelectedIds
())
}
}
const
handleRefreshProductInfo
=
async
()
=>
{
const
handleRefreshProductInfo
=
async
()
=>
{
if
(
!
ensureSelection
())
return
try
{
try
{
await
ElMessageBox
.
confirm
(
'确定刷新商品信息吗?'
,
'提示'
,
{
await
ElMessageBox
.
confirm
(
'确定刷新商品信息吗?'
,
'提示'
,
{
type
:
'warning'
,
type
:
'warning'
,
...
@@ -1860,9 +1862,13 @@ const handleGetTrackingNumber = async () => {
...
@@ -1860,9 +1862,13 @@ const handleGetTrackingNumber = async () => {
successText
:
'获取跟踪号成功'
,
successText
:
'获取跟踪号成功'
,
}
)
}
)
}
}
const
handleStatusPush
=
()
=>
{
const
handleStatusPush
=
async
()
=>
{
if
(
!
ensureSelection
())
return
await
executeBatchAction
({
ElMessage
.
info
(
'状态推送功能待集成'
)
getIds
:
getSelectedIds
,
api
:
(
ids
)
=>
statusPushApi
(
ids
as
number
[]),
confirmText
:
'确定推送至ERP吗?'
,
successText
:
'状态推送成功'
,
}
)
}
}
onMounted
(()
=>
{
onMounted
(()
=>
{
loadStatusTreeCounts
()
loadStatusTreeCounts
()
...
...
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