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
4bfeb551
Commit
4bfeb551
authored
Apr 14, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
fix: 等待补货查询修改
parent
5ef49b88
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
15 additions
and
13 deletions
+15
-13
src/views/order/factoryOrderNew/component/WaitingRestockTable.vue
+15
-13
No files found.
src/views/order/factoryOrderNew/component/WaitingRestockTable.vue
View file @
4bfeb551
...
...
@@ -9,7 +9,7 @@
>
<ElFormItem
label=
"库存SKU"
>
<ElInput
v-model=
"filterForm.
stock
Sku"
v-model=
"filterForm.
warehouse
Sku"
placeholder=
"库存SKU"
clearable
style=
"width: 150px"
...
...
@@ -17,7 +17,7 @@
</ElFormItem>
<ElFormItem
label=
"款号"
>
<ElInput
v-model=
"filterForm.
style
No"
v-model=
"filterForm.
product
No"
placeholder=
"款号"
clearable
style=
"width: 150px"
...
...
@@ -68,8 +68,8 @@ import TableView from '@/components/TableView.vue'
import
usePageList
from
'@/utils/hooks/usePageList'
const
filterForm
=
reactive
({
stock
Sku
:
''
,
style
No
:
''
,
warehouse
Sku
:
''
,
product
No
:
''
,
})
const
{
...
...
@@ -86,8 +86,8 @@ const {
query
:
async
(
current
,
size
)
=>
{
const
res
=
await
getRestockListApi
(
{
stockSku
:
filterForm
.
stock
Sku
||
undefined
,
styleNo
:
filterForm
.
style
No
||
undefined
,
warehouseSku
:
filterForm
.
warehouse
Sku
||
undefined
,
productNo
:
filterForm
.
product
No
||
undefined
,
},
current
,
size
,
...
...
@@ -123,7 +123,7 @@ const columns = [
minWidth
:
140
,
showOverflowTooltip
:
true
,
},
{
prop
:
'
supplierProductNo'
,
label
:
'款号'
,
width
:
130
},
{
prop
:
'
productNo'
,
label
:
'款号'
,
width
:
130
,
align
:
'center'
},
{
prop
:
'warehouseSku'
,
label
:
'库存SKU'
,
...
...
@@ -138,9 +138,7 @@ const columns = [
render
:
(
row
:
RestockData
)
=>
{
const
v
=
row
.
usableInventory
??
0
return
(
<
span
style
=
"color: #f56c6c; font-weight: bold"
>
{
Math
.
abs
(
v
)}
<
/span
>
<
span
style
=
"color: #f56c6c; font-weight: bold"
>
{
Math
.
abs
(
v
)}
<
/span
>
)
},
},
...
...
@@ -177,8 +175,8 @@ const handleSearch = () => {
}
const
handleReset
=
()
=>
{
filterForm
.
stock
Sku
=
''
filterForm
.
style
No
=
''
filterForm
.
warehouse
Sku
=
''
filterForm
.
product
No
=
''
refresh
()
}
...
...
@@ -193,7 +191,11 @@ const handleRestockCheck = async (row: RestockData) => {
return
}
try
{
const
res
=
await
restockCheckApi
(
row
.
id
,
row
.
warehouseSku
??
''
,
row
.
warehouseId
)
const
res
=
await
restockCheckApi
(
row
.
id
,
row
.
warehouseSku
??
''
,
row
.
warehouseId
,
)
if
(
res
.
code
!==
200
)
return
ElMessage
.
success
(
'补货校验成功'
)
refresh
()
...
...
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