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
360120c5
Commit
360120c5
authored
Aug 12, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
修改
parent
cc8544d9
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
30 additions
and
6 deletions
+30
-6
pintuanActive.vue
src/components/pintuan/pintuanActive.vue
+30
-6
No files found.
src/components/pintuan/pintuanActive.vue
View file @
360120c5
...
@@ -492,8 +492,8 @@
...
@@ -492,8 +492,8 @@
activeName
:
"first"
,
activeName
:
"first"
,
addMsg
:
{
addMsg
:
{
ActivityId
:
0
,
//活动Id
ActivityId
:
0
,
//活动Id
StartTime
:
'
2020-08-12 08:00:00
'
,
//开始时间
StartTime
:
''
,
//开始时间
EndTime
:
'
2020-09-30 23:59:59
'
,
//结束时间
EndTime
:
''
,
//结束时间
GoodId
:
0
,
//商品编号
GoodId
:
0
,
//商品编号
name
:
''
,
//商品名称
name
:
''
,
//商品名称
GoodsStatus
:
1
,
//上架状态(0-未开始,1-上架,2-下架中,3-删除)
GoodsStatus
:
1
,
//上架状态(0-未开始,1-上架,2-下架中,3-删除)
...
@@ -561,12 +561,38 @@
...
@@ -561,12 +561,38 @@
methods
:
{
methods
:
{
//获取商品数据
//获取商品数据
getData
()
{
getData
()
{
var
qMsg
=
{
var
qMsg
=
{
ActivityId
:
this
.
addMsg
.
ActivityId
ActivityId
:
this
.
addMsg
.
ActivityId
}
}
this
.
apipost
(
"/api/GroupBuy/GetGroupbuyActivity"
,
qMsg
,
res
=>
{
this
.
apipost
(
"/api/GroupBuy/GetGroupbuyActivity"
,
qMsg
,
res
=>
{
console
.
log
(
"GetGroupbuyActivity"
,
res
);
console
.
log
(
"GetGroupbuyActivity"
,
res
);
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
let
Mydata
=
res
.
data
.
data
;
this
.
addMsg
.
StartTime
=
Mydata
.
StartTimeStr
;
this
.
addMsg
.
EndTime
=
Mydata
.
EndTimeStr
;
this
.
addMsg
.
GoodId
=
Mydata
.
GoodId
;
this
.
addMsg
.
name
=
Mydata
.
QGoodName
;
this
.
addMsg
.
GoodsStatus
=
Mydata
.
GoodsStatus
;
this
.
addMsg
.
Sort
=
Mydata
.
Sort
;
this
.
addMsg
.
SellingPrice
=
Mydata
.
SellingPrice
;
this
.
addMsg
.
Original_Price
=
Mydata
.
Original_Price
;
this
.
addMsg
.
Goods_Stock
=
Mydata
.
Goods_Stock
;
this
.
addMsg
.
Goods_unit
=
Mydata
.
Goods_unit
;
this
.
addMsg
.
Goods_no
=
Mydata
.
Goods_no
;
this
.
addMsg
.
Goods_weight
=
Mydata
.
Goods_weight
;
this
.
addMsg
.
Is_Auto_Add_Robot
=
Mydata
.
Is_Auto_Add_Robot
;
this
.
addMsg
.
Virtual_Sales
=
Mydata
.
Virtual_Sales
;
this
.
addMsg
.
Is_Alone_Buy
=
Mydata
.
Is_Alone_Buy
;
this
.
addMsg
.
IsDefaultService
=
Mydata
.
IsDefaultService
;
this
.
addMsg
.
ServiceList
=
Mydata
.
ServiceList
;
this
.
addMsg
.
FreightId
=
Mydata
.
FreightId
;
this
.
addMsg
.
FormsId
=
Mydata
.
FormsId
;
this
.
addMsg
.
Confine_Count
=
Mydata
.
Confine_Count
;
this
.
addMsg
.
Confine_Order_Count
=
Mydata
.
Confine_Order_Count
;
this
.
addMsg
.
Pieces
=
Mydata
.
Pieces
;
this
.
addMsg
.
Forehead
=
Mydata
.
Forehead
;
this
.
addMsg
.
Is_Area_Limit
=
Mydata
.
Is_Area_Limit
;
}
else
{
}
else
{
...
@@ -583,9 +609,6 @@
...
@@ -583,9 +609,6 @@
},
},
//保存拼团活动
//保存拼团活动
SaveActivity
()
{
SaveActivity
()
{
// this.addMsg.SpecificationPriceList = this.SpecificationPriceList;
// this.addMsg.SpecificationList = this.SpecificationPriceList;
this
.
addMsg
.
GroupList
=
this
.
GroupList
;
// 是否自定义规格 1是 2否
// 是否自定义规格 1是 2否
if
(
this
.
addMsg
.
SpecificationList
&&
this
.
addMsg
.
SpecificationList
.
length
>
0
)
{
if
(
this
.
addMsg
.
SpecificationList
&&
this
.
addMsg
.
SpecificationList
.
length
>
0
)
{
this
.
addMsg
.
IsCustomSpecification
=
1
;
this
.
addMsg
.
IsCustomSpecification
=
1
;
...
@@ -706,6 +729,7 @@
...
@@ -706,6 +729,7 @@
//获取子组件group_list
//获取子组件group_list
getGroup
(
group_list
)
{
getGroup
(
group_list
)
{
this
.
shareGroup_list
=
group_list
this
.
shareGroup_list
=
group_list
this
.
addMsg
.
GroupList
=
group_list
;
},
},
//获取子组件规格
//获取子组件规格
getSpecList
(
val
){
getSpecList
(
val
){
...
...
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