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
e9a503f3
Commit
e9a503f3
authored
Aug 27, 2020
by
Mac
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
44f1662c
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
40 additions
and
14 deletions
+40
-14
goodsClassification.vue
src/components/CommodityMan/goodsClassification.vue
+31
-12
wdExamine.vue
src/components/UserMan/tinyMerchant/wdExamine.vue
+1
-1
addCoupon.vue
src/components/sallCenter/addCoupon.vue
+8
-1
No files found.
src/components/CommodityMan/goodsClassification.vue
View file @
e9a503f3
...
...
@@ -30,12 +30,10 @@
</
template
>
</div>
<div>
分类的显示
<el-radio
v-model=
"SetPro"
label=
"1"
@
change=
"SetProduct(1)"
>
隐藏
</el-radio>
<el-radio
v-model=
"SetPro"
label=
"2"
@
change=
"SetProduct(2)"
>
显示
</el-radio>
</div>
<el-button
type=
"primary"
@
click=
"SetProduct(1)"
size=
"small"
>
隐藏分类
</el-button>
<el-button
type=
"primary"
@
click=
"SetProduct(2)"
size=
"small"
>
显示分类
</el-button>
</div>
</div>
<div
v-loading=
"loading"
flex=
"dir:left box:mean"
class=
"cat-list nopadding"
>
<el-card
class=
"card-item-box"
shadow=
"never"
>
...
...
@@ -854,15 +852,36 @@ export default {
})
},
SetProduct
(
type
){
//分类的显示/隐藏
let
that
=
this
;
let
text
if
(
type
==
1
){
text
=
'是否隐藏分类菜单!'
}
if
(
type
==
2
){
text
=
'是否显示分类菜单!'
}
that
.
$confirm
(
text
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
apipost
(
"/api/product/SetProductCategoryShow"
,
{
IsShow
:
type
},
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
){
this
.
Success
(
res
.
data
.
message
)
this
.
getList1
()
if
(
type
==
1
){
this
.
tableData2
=
[]
}
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
})
}).
catch
(()
=>
{
});
}
},
};
...
...
src/components/UserMan/tinyMerchant/wdExamine.vue
View file @
e9a503f3
...
...
@@ -109,7 +109,7 @@
background
@
current-change=
"handleCurrentChange"
:page-size=
"msg.pageSize"
layout=
"prev, pager, next"
layout=
"
total,
prev, pager, next"
:current-page
.
sync=
"msg.pageIndex"
:total=
"total"
>
</el-pagination>
...
...
src/components/sallCenter/addCoupon.vue
View file @
e9a503f3
...
...
@@ -13,7 +13,7 @@
<el-tabs
v-model=
"activeName"
style=
"padding: 15px 0"
>
<el-tab-pane
label=
"基础设置"
name=
"first"
>
<div
class=
"form-body"
>
<el-form-item
label=
"
卡
券名称"
prop=
"Name"
class=
"is-required"
>
<el-form-item
label=
"
优惠
券名称"
prop=
"Name"
class=
"is-required"
>
<el-input
v-model=
"msg.Name"
/>
</el-form-item>
<el-form-item
label=
"微店铺"
>
...
...
@@ -24,6 +24,12 @@
</el-option>
</el-select>
</el-form-item>
<el-form-item
label=
"是否赞羊使用"
>
<el-radio-group
v-model=
"msg.IsZanYangUse"
>
<el-radio
:label=
"0"
>
否
</el-radio>
<el-radio
:label=
"1"
>
是
</el-radio>
</el-radio-group>
</el-form-item>
<el-form-item
label=
"优惠券类型"
class=
"is-required"
>
<el-radio-group
v-model=
"msg.CouponType"
@
change=
"msg.DiscountsPrice = 0"
>
<el-radio
:label=
"1"
>
满减券
</el-radio>
...
...
@@ -311,6 +317,7 @@
EndDate
:
''
,
value
:[],
SmallShopId
:
0
,
//微店id
IsZanYangUse
:
0
,
},
checkedkeys
:[],
//默认选中的
huiyuan
:
false
,
...
...
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