Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 365dbe93
authored
Sep 08, 2025
by
胡悦
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 修复商品列表数据赋值错误
1 parent
03ecd6b7
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
3 additions
and
2 deletions
pages/boutique/tool/components/CreateOrder.vue
pages/boutique/tool/components/CreateOrder.vue
View file @
365dbe9
...
@@ -152,7 +152,7 @@ export default {
...
@@ -152,7 +152,7 @@ export default {
formUpdates
.
forEach
(([
index
,
field
,
value
])
=>
updateFormCell
(
index
,
field
,
value
))
formUpdates
.
forEach
(([
index
,
field
,
value
])
=>
updateFormCell
(
index
,
field
,
value
))
// 商品回显,在获取商品列表之后
// 商品回显,在获取商品列表之后
this
.
goods
List
=
rest
.
subOrderList
this
.
subOrder
List
=
rest
.
subOrderList
}
}
console
.
log
(
this
.
orderObj
,
'orderObj'
)
console
.
log
(
this
.
orderObj
,
'orderObj'
)
handleTransactionData
(
newVal
)
handleTransactionData
(
newVal
)
...
@@ -192,6 +192,7 @@ export default {
...
@@ -192,6 +192,7 @@ export default {
configPayTypeList
:
[],
// 园区店配置支持的支付方式
configPayTypeList
:
[],
// 园区店配置支持的支付方式
payTypeList
,
payTypeList
,
goodsList
:
[],
goodsList
:
[],
subOrderList
:
[],
otherProduct
:
[],
otherProduct
:
[],
positionTypeList
:
[],
positionTypeList
:
[],
valueKey
:
''
,
valueKey
:
''
,
...
@@ -742,7 +743,7 @@ export default {
...
@@ -742,7 +743,7 @@ export default {
if
(
cell
)
cell
.
hidden
=
arrMap
[
key
].
length
===
0
if
(
cell
)
cell
.
hidden
=
arrMap
[
key
].
length
===
0
})
})
const
subOrderList
=
this
.
goods
List
||
[]
const
subOrderList
=
this
.
subOrder
List
||
[]
console
.
log
(
'subOrderList'
,
subOrderList
)
console
.
log
(
'subOrderList'
,
subOrderList
)
let
chooseList
=
[]
let
chooseList
=
[]
subOrderList
.
map
(
e
=>
{
subOrderList
.
map
(
e
=>
{
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment