Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit c148e877
authored
Dec 01, 2022
by
zhangxw
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
问题修改
1 parent
ce9e093e
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
5 additions
and
2 deletions
src/views/goods/d2-form/assiRelateStoreDialog.vue
src/views/goods/d2-form/index.vue
src/views/goods/d2-form/assiRelateStoreDialog.vue
View file @
c148e87
...
@@ -105,6 +105,7 @@ export default {
...
@@ -105,6 +105,7 @@ export default {
mounted
()
{
mounted
()
{
this
.
selectedData
=
this
.
storeSelected
this
.
selectedData
=
this
.
storeSelected
if
(
this
.
merchantList
.
length
)
return
this
.
getSelectingList
()
this
.
getSelectingList
()
},
},
...
...
src/views/goods/d2-form/index.vue
View file @
c148e87
...
@@ -548,7 +548,7 @@
...
@@ -548,7 +548,7 @@
</el-form>
</el-form>
</el-row>
</el-row>
</relate-store-dialog>
</relate-store-dialog>
<assi-relate-store-dialog
v-
if
=
"speciRelateStoreVisible"
<assi-relate-store-dialog
v-
show
=
"speciRelateStoreVisible"
ref=
"formRelateStore"
ref=
"formRelateStore"
:speci-relate-store-visible=
"speciRelateStoreVisible"
:speci-relate-store-visible=
"speciRelateStoreVisible"
:specificationValueList=
"specificationDialogList"
:specificationValueList=
"specificationDialogList"
...
@@ -1017,6 +1017,7 @@ export default {
...
@@ -1017,6 +1017,7 @@ export default {
getSpecDataByMerchent
({
baseGoodsId
:
this
.
formData
.
baseGoodsId
}).
then
(
res
=>
{
getSpecDataByMerchent
({
baseGoodsId
:
this
.
formData
.
baseGoodsId
}).
then
(
res
=>
{
let
arr
=
[]
let
arr
=
[]
let
merchantIds
=
[]
let
merchantIds
=
[]
let
speciId
=
''
res
.
forEach
(
val
=>
{
res
.
forEach
(
val
=>
{
let
specsValueList
=
[]
let
specsValueList
=
[]
this
.
formData
.
upgradeGoodsList
&&
this
.
formData
.
upgradeGoodsList
.
forEach
(
item
=>
{
this
.
formData
.
upgradeGoodsList
&&
this
.
formData
.
upgradeGoodsList
.
forEach
(
item
=>
{
...
@@ -1025,12 +1026,13 @@ export default {
...
@@ -1025,12 +1026,13 @@ export default {
specsValueList
.
push
(
it
.
split
(
'-'
)[
1
])
specsValueList
.
push
(
it
.
split
(
'-'
)[
1
])
})
})
}
}
speciId
=
item
.
id
})
})
val
.
merchantList
.
forEach
(
i
=>
{
val
.
merchantList
.
forEach
(
i
=>
{
merchantIds
.
push
(
i
.
merchantId
)
merchantIds
.
push
(
i
.
merchantId
)
})
})
arr
.
push
({
arr
.
push
({
id
:
item
.
i
d
,
id
:
speciI
d
,
specsValueList
:
specsValueList
,
specsValueList
:
specsValueList
,
selectedMerchantIds
:
merchantIds
,
selectedMerchantIds
:
merchantIds
,
selectedMerchantList
:
val
.
merchantList
selectedMerchantList
:
val
.
merchantList
...
...
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