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
7c1373d5
Commit
7c1373d5
authored
Apr 02, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 刷新商品信息修改
parent
2bd67dac
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
20 additions
and
11 deletions
+20
-11
src/api/factoryOrderNew.ts
+11
-8
src/types/api/factoryOrderNew.ts
+1
-0
src/views/order/components/WeightDialog.vue
+6
-1
src/views/order/factoryOrderNew/component/WaitingRestockTable.vue
+2
-2
No files found.
src/api/factoryOrderNew.ts
View file @
7c1373d5
...
...
@@ -91,8 +91,8 @@ export function getFactoryOrderNewLogApi(id: number | string) {
}
export
function
refreshProductInfoApi
(
data
:
{
orderIds
?:
(
number
|
string
)
productIds
?:
(
number
|
string
)
orderIds
?:
number
|
string
productIds
?:
number
|
string
})
{
return
axios
.
post
<
never
,
BaseRespData
<
void
>>
(
'factory/podOrderProduct/refreshProductInfo'
,
...
...
@@ -185,10 +185,14 @@ export function batchDeleteApi(ids: (number | string)[]) {
)
}
export
function
restockCheckApi
(
id
:
number
|
string
)
{
return
axios
.
post
<
never
,
BaseRespData
<
void
>>
(
'factory/orderNew/restockCheck'
,
{
id
},
export
function
restockCheckApi
(
factoryId
:
number
|
string
,
thirdSkuCode
:
string
,
warehouseId
:
number
|
string
,
)
{
return
axios
.
get
<
never
,
BaseRespData
<
void
>>
(
'factory/podOrder/replenishVerify'
,
{
params
:
{
factoryId
,
thirdSkuCode
,
warehouseId
}
},
)
}
...
...
@@ -474,4 +478,4 @@ export function statusPushApi(ids: (string | number)[]) {
'factory/podOrder/statusPush'
,
ids
,
)
}
\ No newline at end of file
}
src/types/api/factoryOrderNew.ts
View file @
7c1373d5
...
...
@@ -221,6 +221,7 @@ export interface RestockData {
currencyCode
?:
string
currencyName
?:
string
sumOccupyInventory
?:
number
thirdSkuCode
?:
string
}
export
interface
PickCompleteData
{
...
...
src/views/order/components/WeightDialog.vue
View file @
7c1373d5
...
...
@@ -22,7 +22,12 @@
placeholder=
""
>
<el-option
label=
"跟踪号"
value=
"trackingNumber"
></el-option>
<el-option
label=
"交运单号"
value=
"shopNumber"
></el-option>
<el-option
label=
"客户单号"
value=
"shopNumber"
></el-option>
<el-option
v-if=
"isNewOrder"
label=
"客户交运单号"
value=
"customerNo"
></el-option>
</el-select>
<input
ref=
"weighInput"
...
...
src/views/order/factoryOrderNew/component/WaitingRestockTable.vue
View file @
7c1373d5
...
...
@@ -135,7 +135,7 @@ const columns = [
prop
:
'stockOutNum'
,
label
:
'缺货数量'
,
width
:
90
,
align
:
'right'
align
:
'right'
,
},
{
label
:
'可用数量'
,
...
...
@@ -178,7 +178,7 @@ const handleReset = () => {
const
handleRestockCheck
=
async
(
row
:
RestockData
)
=>
{
try
{
await
restockCheckApi
(
row
.
id
)
await
restockCheckApi
(
row
.
id
,
row
.
thirdSkuCode
??
''
,
row
.
warehouseId
)
ElMessage
.
success
(
'补货校验成功'
)
refresh
()
}
catch
(
e
)
{
...
...
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