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
0
Merge Requests
0
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
32a82b97
Commit
32a82b97
authored
Jun 17, 2026
by
qinjianhui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev_new_order_inventory_detail' into release_v2.27.0
parents
d884a0b1
1556e914
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
20 deletions
+3
-20
src/views/order/factoryOrderNew/component/OrderInventoryDialog.vue
+3
-20
No files found.
src/views/order/factoryOrderNew/component/OrderInventoryDialog.vue
View file @
32a82b97
...
@@ -153,20 +153,6 @@ const buildQueryParams = () => ({
...
@@ -153,20 +153,6 @@ const buildQueryParams = () => ({
inventoryStatus
:
filterForm
.
value
.
inventoryStatus
||
undefined
,
inventoryStatus
:
filterForm
.
value
.
inventoryStatus
||
undefined
,
})
})
const
applyQueryWarehouseName
=
(
records
:
OrderInventoryData
[])
=>
{
const
{
warehouseId
}
=
filterForm
.
value
if
(
!
warehouseId
)
{
return
records
}
const
warehouseName
=
props
.
warehouseList
.
find
((
w
)
=>
w
.
id
===
warehouseId
)
?.
name
return
records
.
map
((
record
)
=>
({
...
record
,
warehouseName
:
record
.
inventoryStatus
===
3
?
warehouseName
:
record
.
warehouseName
,
}))
}
const
{
const
{
loading
,
loading
,
currentPage
,
currentPage
,
...
@@ -185,10 +171,7 @@ const {
...
@@ -185,10 +171,7 @@ const {
current
,
current
,
size
,
size
,
)
)
return
{
return
res
.
data
...
res
.
data
,
records
:
applyQueryWarehouseName
(
res
.
data
.
records
),
}
},
},
})
})
...
@@ -272,8 +255,8 @@ const columns = [
...
@@ -272,8 +255,8 @@ const columns = [
return
(
return
(
<
span
<
span
style
=
{{
style
=
{{
color
:
row
.
inventoryStatus
===
3
?
'#E6A23C'
:
''
,
color
:
!
row
.
locationCode
?
'#E6A23C'
:
''
,
fontWeight
:
row
.
inventoryStatus
===
3
?
'bold'
:
''
,
fontWeight
:
!
row
.
locationCode
?
'bold'
:
''
,
}}
}}
>
>
{
row
.
salesNum
||
0
}
{
row
.
salesNum
||
0
}
...
...
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