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
9802642e
Commit
9802642e
authored
Aug 07, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huangyuanyuan/electricitysheep
parents
686ae57b
2db9c308
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
37 additions
and
28 deletions
+37
-28
pintuanSet.vue
src/components/pintuan/pintuanSet.vue
+37
-28
No files found.
src/components/pintuan/pintuanSet.vue
View file @
9802642e
...
...
@@ -216,13 +216,15 @@
<el-switch
v-model=
"msg.Is_Territorial_Limitation"
active-color=
"#409EFF"
:active-value=
"1"
:inactive-value=
"0"
>
</el-switch>
<span
class=
"red"
>
注:必须在“
<el-button
type=
"text"
@
click=
"openNewUrl('regionBuy')"
>
系统管理=>区域允许购买
</el-button>
”中开启,才能使用
</span>
<span
class=
"red"
>
注:必须在“
<el-button
type=
"text"
@
click=
"openNewUrl('regionBuy')"
>
系统管理=>区域允许购买
</el-button>
”中开启,才能使用
</span>
</el-form-item>
<el-form-item
label=
"支付方式"
size=
"mini"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"默认支持线上支付;若三个都不勾选,则视为勾选线上支付"
placement=
"top"
>
<i
class=
"topelzk elzk el-tooltip el-icon-info"
></i>
</el-tooltip>
<el-checkbox-group
v-model=
"msg.Payment_TypeList"
:min=
"1"
style=
"display:inline-block;margin-left:10px;"
>
<el-checkbox-group
v-model=
"msg.Payment_TypeList"
:min=
"1"
style=
"display:inline-block;margin-left:10px;"
>
<el-checkbox
label=
"online_pay"
>
线上支付
</el-checkbox>
<el-checkbox
label=
"huodao"
>
货到付款
</el-checkbox>
<el-checkbox
label=
"balance"
>
余额支付
</el-checkbox>
...
...
@@ -293,7 +295,7 @@
</div>
</div>
<div>
<div
class=
"app-banner-list"
v-for=
"(item,index) in msg.
img
List"
:key=
"index"
>
<div
class=
"app-banner-list"
v-for=
"(item,index) in msg.
Banner
List"
:key=
"index"
>
<div
class=
"el-card app-banner-list-item"
>
<div
style=
"padding:0"
>
<div
style=
"position: relative;"
>
...
...
@@ -446,10 +448,9 @@
RuleText
:
''
,
//活动规则
Is_Advertisement
:
1
,
//拼团广告状态
Goods_Poster
:
""
,
Style
:
0
,
//魔方样式
MagicDataList
:
[],
imgList
:
[]
MagicDataList
:
[],
//广告列表
BannerList
:
[],
//轮播图
},
//样式选择枚举
styleList
:
[{
...
...
@@ -551,8 +552,10 @@
},
//保存拼团配置
saveGroupBuyConfig
()
{
let
content
=
this
.
$refs
.
ue
.
getUEContent
();
this
.
msg
.
RuleText
=
content
;
if
(
this
.
checkIndex
==
1
)
{
let
content
=
this
.
$refs
.
ue
.
getUEContent
();
this
.
msg
.
RuleText
=
content
;
}
this
.
apipost
(
"/api/GroupBuy/SetGroupBuyConfig"
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
getGroupBuyConfig
();
...
...
@@ -567,22 +570,28 @@
this
.
apipost
(
"/api/GroupBuy/GetGroupBuyConfigModule"
,
{},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
var
dataObj
=
res
.
data
.
data
;
console
.
log
(
"dataObj"
,
dataObj
);
if
(
dataObj
)
{
this
.
msg
.
GroupByConfigId
=
dataObj
.
GroupByConfigId
;
this
.
msg
.
Is_Share
=
dataObj
.
Is_Share
;
this
.
msg
.
Is_Territorial_Limitation
=
dataObj
.
Is_Territorial_Limitation
;
this
.
msg
.
Payment_TypeList
=
dataObj
.
Payment_TypeList
;
this
.
msg
.
Send_TypeList
=
dataObj
.
Send_TypeList
;
this
.
msg
.
Is_Coupon
=
dataObj
.
Is_Coupon
;
this
.
msg
.
SVIP_Status
=
dataObj
.
SVIP_Status
;
this
.
msg
.
Is_Member_Price
=
dataObj
.
Is_Member_Price
;
this
.
msg
.
Is_Integral
=
dataObj
.
Is_Integral
;
this
.
msg
.
Is_Advertisement
=
dataObj
.
Is_Advertisement
;
this
.
msg
.
Goods_Poster
=
dataObj
.
Goods_Poster
;
if
(
dataObj
.
RuleText
&&
dataObj
.
RuleText
!=
""
)
{
this
.
msg
.
RuleText
=
dataObj
.
RuleText
;
}
this
.
msg
.
GroupByConfigId
=
dataObj
.
GroupByConfigId
;
this
.
msg
.
Is_Share
=
dataObj
.
Is_Share
;
this
.
msg
.
Is_Territorial_Limitation
=
dataObj
.
Is_Territorial_Limitation
;
this
.
msg
.
Payment_TypeList
=
dataObj
.
Payment_TypeList
;
this
.
msg
.
Send_TypeList
=
dataObj
.
Send_TypeList
;
this
.
msg
.
Is_Coupon
=
dataObj
.
Is_Coupon
;
this
.
msg
.
SVIP_Status
=
dataObj
.
SVIP_Status
;
this
.
msg
.
Is_Member_Price
=
dataObj
.
Is_Member_Price
;
this
.
msg
.
Is_Integral
=
dataObj
.
Is_Integral
;
this
.
msg
.
Is_Advertisement
=
dataObj
.
Is_Advertisement
;
this
.
msg
.
Goods_Poster
=
dataObj
.
Goods_Poster
;
if
(
dataObj
.
RuleText
&&
dataObj
.
RuleText
!=
""
)
{
this
.
msg
.
RuleText
=
dataObj
.
RuleText
;
}
this
.
msg
.
Style
=
dataObj
.
Style
;
if
(
dataObj
.
BannerList
)
{
this
.
msg
.
BannerList
=
dataObj
.
BannerList
;
}
if
(
dataObj
.
MagicDataList
)
{
this
.
msg
.
MagicDataList
=
dataObj
.
MagicDataList
;
}
}
}
else
{
this
.
Info
(
res
.
data
.
message
);
...
...
@@ -634,11 +643,11 @@
this
.
commonTitle
=
'添加轮播图'
;
var
obj
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
addMsg
))
if
(
!
this
.
isEditLunbo
)
{
this
.
msg
.
img
List
.
push
(
obj
);
this
.
msg
.
Banner
List
.
push
(
obj
);
}
else
{
this
.
msg
.
img
List
[
this
.
commonImgIndex
].
NavName
=
obj
.
NavName
;
this
.
msg
.
img
List
[
this
.
commonImgIndex
].
NavLink
=
obj
.
NavLink
;
this
.
msg
.
img
List
[
this
.
commonImgIndex
].
NavImg
=
obj
.
NavImg
;
this
.
msg
.
Banner
List
[
this
.
commonImgIndex
].
NavName
=
obj
.
NavName
;
this
.
msg
.
Banner
List
[
this
.
commonImgIndex
].
NavLink
=
obj
.
NavLink
;
this
.
msg
.
Banner
List
[
this
.
commonImgIndex
].
NavImg
=
obj
.
NavImg
;
}
this
.
isShowLunbo
=
false
;
},
...
...
@@ -654,7 +663,7 @@
},
//删除
RemmoveRole
(
index
)
{
this
.
msg
.
img
List
.
splice
(
index
,
1
);
this
.
msg
.
Banner
List
.
splice
(
index
,
1
);
},
//新窗口打开链接
openNewUrl
(
path
)
{
...
...
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