Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
E
ElectricitySheep
Project
Project
Details
Activity
Releases
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
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
黄媛媛
ElectricitySheep
Commits
3fadf35a
Commit
3fadf35a
authored
Aug 12, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
0e61ae37
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
10 additions
and
17 deletions
+10
-17
pintuanActive.vue
src/components/pintuan/pintuanActive.vue
+4
-3
goodsSpecifica.vue
src/components/pintuan/pintuanPlugin/goodsSpecifica.vue
+6
-14
No files found.
src/components/pintuan/pintuanActive.vue
View file @
3fadf35a
...
...
@@ -546,7 +546,7 @@
formName
:
''
,
imgDialog
:
false
,
rules
:
{},
shareGroup_list
:[]
shareGroup_list
:
[]
};
},
created
()
{},
...
...
@@ -583,6 +583,7 @@
this
.
apipost
(
"/api/GroupBuy/SetGroupbuyActivity"
,
this
.
addMsg
,
res
=>
{
console
.
log
(
"res"
,
res
);
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
CommonJump
(
"/pintuanList"
,
{});
this
.
Success
(
res
.
data
.
message
);
}
else
{
this
.
Info
(
res
.
data
.
message
);
...
...
@@ -675,8 +676,8 @@
this
.
imgDialog
=
false
;
},
//获取子组件group_list
getGroup
(
group_list
){
this
.
shareGroup_list
=
group_list
getGroup
(
group_list
)
{
this
.
shareGroup_list
=
group_list
}
}
...
...
src/components/pintuan/pintuanPlugin/goodsSpecifica.vue
View file @
3fadf35a
...
...
@@ -138,8 +138,8 @@
class=
"el-icon-error close"
></span>
<div
v-if=
"item2.Image != ''"
style=
"position: absolute;"
>
<div
class=
"app-attachment"
>
<el-button
@
click=
"openggImg(item, index, item2, index2)"
type=
"primary"
size=
"small"
>
替换
</el-button>
<el-button
@
click=
"openggImg(item, index, item2, index2)"
type=
"primary"
size=
"small"
>
替换
</el-button>
</div>
</div>
</div>
...
...
@@ -260,14 +260,14 @@
<
script
>
import
ChooseImg
from
"@/components/global/ChooseImg.vue"
;
export
default
{
props
:
[
'SpecList'
,
"SpecPriceList"
],
props
:
[
'SpecList'
,
"SpecPriceList"
],
components
:
{
ChooseImg
},
data
()
{
return
{
SpecificationList
:
[],
//规格数组
SpecificationPriceList
:
[],
SpecificationPriceList
:
[],
//规格+值 价格列表
ComTreeList
:
[],
memberList2
:
[],
skuList
:
[],
...
...
@@ -288,9 +288,6 @@
SeparateDistributionType
:
1
,
//待传递给父组件
EnjoyMember
:
1
,
//待传父组件
};
},
created
()
{
},
watch
:
{
'SpecList'
:
{
...
...
@@ -417,10 +414,9 @@
calcdis
(
dislist
)
{
let
memberListarray
=
JSON
.
parse
(
JSON
.
stringify
(
dislist
));
let
ComTreeList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ComTreeList
));
// this.ComTreeList=[];//无法添加 报错 暂时注释掉
for
(
let
i
=
0
;
i
<
dislist
.
length
;
i
++
)
{
if
(
this
.
SeparateDistributionType
==
2
&&
this
.
ComTreeList
.
length
>
0
)
{
//this.ComTreeList.length为0 的时候 全部为空
0
)
{
if
(
i
<
ComTreeList
.
length
)
{
ComTreeList
.
forEach
((
val
,
z
)
=>
{
if
(
val
.
SpecificationSort
==
dislist
[
i
].
SpecificationSort
)
{
...
...
@@ -681,10 +677,6 @@
}
});
},
CheckBox
(
val
)
{
console
.
log
(
val
,
'valll'
);
},
},
mounted
()
{
this
.
getSpeciList
();
...
...
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