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
3ad49302
Commit
3ad49302
authored
Jun 13, 2025
by
qinjianhui
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'dev' into 'master'
fix: 问题修改 See merge request
!26
parents
f408591b
5cb420f2
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
33 additions
and
28 deletions
+33
-28
src/views/order/index.vue
+33
-28
No files found.
src/views/order/index.vue
View file @
3ad49302
...
@@ -979,7 +979,7 @@
...
@@ -979,7 +979,7 @@
<
RightClickMenu
<
RightClickMenu
ref
=
"rightMenuRef"
ref
=
"rightMenuRef"
:
show
-
copy
-
shop
-
number
=
"true"
:
show
-
copy
-
shop
-
number
=
"true"
:
show
-
copy
-
count
=
"
tru
e"
:
show
-
copy
-
count
=
"
fals
e"
:
show
-
copy
-
sub
-
shop
-
number
=
"true"
:
show
-
copy
-
sub
-
shop
-
number
=
"true"
@
on
-
change
=
"rightChange"
@
on
-
change
=
"rightChange"
/>
/>
...
@@ -1684,39 +1684,44 @@ const rightChange = (key: string) => {
...
@@ -1684,39 +1684,44 @@ const rightChange = (key: string) => {
}
else
{
}
else
{
tableRef
.
value
?.
clearSelection
()
tableRef
.
value
?.
clearSelection
()
}
}
}
else
if
(
key
===
'copy_code'
)
{
}
else
if
(
key
===
'copy_shopNumber'
)
{
const
shopNumberList
:
string
[]
=
[]
let
shopNumberList
:
string
[]
=
[]
for
(
const
item
of
tableData
.
value
)
{
if
(
statusCode
.
value
===
6
)
{
item
.
productList
?.
forEach
((
el
)
=>
{
shopNumberList
=
tableData
.
value
if
(
el
.
shopNumber
)
{
.
map
((
item
)
=>
item
.
detailList
)
shopNumberList
.
push
(
el
.
shopNumber
)
.
flat
()
}
.
map
((
e
)
=>
e
?.
shopNumber
)
}
)
.
filter
((
shopNumber
):
shopNumber
is
string
=>
shopNumber
!==
undefined
)
}
else
{
shopNumberList
=
tableData
.
value
.
map
((
item
)
=>
item
.
productList
)
.
flat
()
.
map
((
e
)
=>
e
?.
shopNumber
)
.
filter
((
shopNumber
):
shopNumber
is
string
=>
shopNumber
!==
undefined
)
}
}
copy
(
shopNumberList
.
join
(
','
))
copy
(
shopNumberList
.
join
(
','
))
}
else
if
(
key
===
'copy_
shopNumber
'
)
{
}
else
if
(
key
===
'copy_
code
'
)
{
cons
t
subOrderNumber
:
string
[]
=
[]
le
t
subOrderNumber
:
string
[]
=
[]
if
(
statusCode
.
value
===
6
)
{
if
(
statusCode
.
value
===
6
)
{
for
(
const
item
of
tableData
.
value
)
{
subOrderNumber
=
tableData
.
value
item
.
detailList
?.
forEach
((
el
)
=>
{
.
map
((
item
)
=>
item
.
detailList
)
if
(
el
.
shopNumber
)
{
.
flat
()
subOrderNumber
.
push
(
el
.
shopNumber
||
''
)
.
map
((
e
)
=>
e
?.
subOrderNumber
)
}
.
filter
(
}
)
(
subOrderNumber
):
subOrderNumber
is
string
=>
}
subOrderNumber
!==
undefined
,
)
}
else
{
}
else
{
for
(
const
item
of
tableData
.
value
)
{
subOrderNumber
=
tableData
.
value
item
.
productList
?.
forEach
((
el
)
=>
{
.
map
((
item
)
=>
item
.
productList
)
if
(
el
.
subOrderNumber
)
{
.
flat
()
subOrderNumber
.
push
(
el
.
subOrderNumber
)
.
map
((
e
)
=>
e
?.
subOrderNumber
)
}
.
filter
(
}
)
(
subOrderNumber
):
subOrderNumber
is
string
=>
}
subOrderNumber
!==
undefined
,
)
}
}
copy
(
subOrderNumber
.
join
(
','
))
copy
(
subOrderNumber
.
join
(
','
))
}
else
if
(
key
===
'count'
)
{
const
count
=
selection
.
value
.
length
copy
(
count
.
toString
())
}
}
}
}
const
onChangeCurrentRow
=
(
item
:
ProductList
)
=>
{
const
onChangeCurrentRow
=
(
item
:
ProductList
)
=>
{
...
...
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