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
397d8c02
Commit
397d8c02
authored
Aug 12, 2020
by
黄奎
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
页面修改
parent
73174598
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
14 additions
and
17 deletions
+14
-17
pintuanActive.vue
src/components/pintuan/pintuanActive.vue
+9
-9
priceAndGroup.vue
src/components/pintuan/pintuanPlugin/priceAndGroup.vue
+5
-8
No files found.
src/components/pintuan/pintuanActive.vue
View file @
397d8c02
...
...
@@ -196,9 +196,9 @@
</el-switch>
</el-form-item>
<el-form-item
label=
"商品服务"
>
<
template
v-if=
"addMsg.
GoodsService && addMsg.GoodsService
.length > 0"
>
<
template
v-if=
"addMsg.
ServiceList && addMsg.ServiceList
.length > 0"
>
<el-tag
style=
"margin-right:10px;"
@
close=
"ServiceCheck(item, index)"
v-for=
"(item, index) in addMsg.
GoodsService
"
:key=
"index+'7'"
closable
>
{{
item
.
Name
}}
v-for=
"(item, index) in addMsg.
ServiceList
"
:key=
"index+'7'"
closable
>
{{
item
.
Name
}}
</el-tag>
</
template
>
<el-button
@
click=
"serviceDig = true,checkService=[]"
v-if=
"addMsg.IsDefaultService == 2"
...
...
@@ -429,7 +429,7 @@
</div>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"serviceDig=false"
size=
"small"
>
取消
</el-button>
<el-button
@
click=
"(addMsg.
GoodsService
= checkService), (serviceDig = false)"
size=
"small"
type=
"primary"
>
确定
<el-button
@
click=
"(addMsg.
ServiceList
= checkService), (serviceDig = false)"
size=
"small"
type=
"primary"
>
确定
</el-button>
</span>
</el-dialog>
...
...
@@ -506,7 +506,7 @@
Virtual_Sales
:
0
,
//已团商品数
Is_Alone_Buy
:
0
,
//是否允许单独购买
IsDefaultService
:
1
,
//是否默认商品服务(1是,2否)
GoodsService
:
[],
//商品服务字段
ServiceList
:
[],
//商品服务字段
FreightId
:
0
,
//运费设置
FormsId
:
0
,
//自定义表单
Confine_Count
:
-
1
,
//限购数量
...
...
@@ -520,7 +520,7 @@
Is_forehead_integral
:
0
,
//积分抵扣
Forehead_integral_type
:
1
,
//积分抵扣=>1固定值 2百分比
Accumulative
:
0
,
//允许多件累计抵扣
CardIds
:
[]
,
//卡券发放
CardIds
:
""
,
//卡券发放
App_share_title
:
''
,
//自定义分享标题、
App_share_pic
:
''
,
//自定义分享图片
},
...
...
@@ -571,7 +571,7 @@
SaveActivity
()
{
this
.
addMsg
.
SpecificationPriceList
=
this
.
SpecificationPriceList
;
this
.
addMsg
.
SpecificationList
=
this
.
SpecificationList
;
this
.
addMsg
.
GroupList
=
this
.
GroupList
;
this
.
apipost
(
"/api/GroupBuy/SetGroupbuyActivity"
,
this
.
addMsg
,
res
=>
{
console
.
log
(
"res"
,
res
);
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -604,9 +604,9 @@
},
//删除商品服务
ServiceCheck
(
item
,
index
)
{
this
.
addMsg
.
GoodsService
.
forEach
((
list
,
k
)
=>
{
this
.
addMsg
.
ServiceList
.
forEach
((
list
,
k
)
=>
{
if
(
list
.
Id
==
item
.
Id
)
{
this
.
addMsg
.
GoodsService
.
splice
(
k
,
1
);
this
.
addMsg
.
ServiceList
.
splice
(
k
,
1
);
}
});
},
...
...
@@ -628,7 +628,7 @@
//服务改变
getServeChange
(
type
)
{
if
(
type
==
1
)
{
this
.
addMsg
.
GoodsService
=
[];
this
.
addMsg
.
ServiceList
=
[];
}
},
//获取运费规则
...
...
src/components/pintuan/pintuanPlugin/priceAndGroup.vue
View file @
397d8c02
...
...
@@ -107,17 +107,17 @@
<td>
<el-checkbox></el-checkbox>
</td>
<
template
v-for=
"(attrItem, attrIndex) in attrGroups"
>
<td
v-if=
"attrIndex == index2"
v-for=
"(item2, index2) in item.AttrList"
:key=
"index2+'6'"
>
{{
item
.
AttrList
[
index2
].
SVName
}}
</td>
</
template
>
<td>
<el-input
v-model=
"item.PintuanPrice"
/>
<td>
<el-input
v-model=
"item.PintuanPrice"
/>
</td>
<td>
<el-input
v-model=
"item.PintuanStock"
/>
<el-input
v-model=
"item.PintuanStock"
/>
</td>
</tr>
</tbody>
...
...
@@ -139,10 +139,7 @@
},
methods
:
{
getItemName
()
{
}
},
mounted
()
{
...
...
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