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
a14c29c1
Commit
a14c29c1
authored
Aug 12, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huangyuanyuan/electricitysheep
parents
df215095
a16f63c1
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
258 additions
and
92 deletions
+258
-92
goodsList.vue
src/components/CommodityMan/goodsList.vue
+3
-0
wdExamine.vue
src/components/UserMan/tinyMerchant/wdExamine.vue
+214
-0
usersList.vue
src/components/UserMan/usersList.vue
+17
-1
goodsSpecifica.vue
src/components/pintuan/pintuanPlugin/goodsSpecifica.vue
+17
-90
grantStatistics.vue
src/components/statistics/grantStatistics.vue
+1
-1
index.js
src/router/index.js
+6
-0
No files found.
src/components/CommodityMan/goodsList.vue
View file @
a14c29c1
...
@@ -518,6 +518,9 @@ export default {
...
@@ -518,6 +518,9 @@ export default {
},
},
Export
(){
Export
(){
let
msg
=
this
.
msg
;
let
msg
=
this
.
msg
;
if
(
msg
.
Id
==
''
){
msg
.
Id
=
0
}
msg
=
JSON
.
parse
(
JSON
.
stringify
(
msg
));
msg
=
JSON
.
parse
(
JSON
.
stringify
(
msg
));
msg
.
pageSize
=
999
;
msg
.
pageSize
=
999
;
this
.
GetLocalFile
(
this
.
GetLocalFile
(
...
...
src/components/UserMan/tinyMerchant/wdExamine.vue
0 → 100644
View file @
a14c29c1
<
template
>
<div
class=
"usersList PeaceDistribution"
>
<div
class=
"head-title"
>
和平分销商等级
<el-button
@
click=
"CommonJump('PeaceDistributionSet')"
style=
"float:right;margin-top: -5px;"
size=
"small"
type=
"primary"
>
添加分销商等级
</el-button>
</div>
<div
class=
"content"
>
<div>
<el-select
class=
"w120"
@
change=
"msg.pageIndex=1,getList()"
style=
"margin-right: 10px;"
filterable
v-model=
"msg.CategoryId"
size=
"small"
placeholder=
"请选择"
>
<el-option
label=
"全部分类"
:value=
"0"
></el-option>
<el-option
v-for=
"item in cateList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
<div
class=
"searchInput"
style=
"width:230px"
>
<el-input
style=
"display:inline-block;width:205px;height:30px"
placeholder=
"请输入名称查询"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
@
clear=
"msg.pageIndex=1,getList()"
v-model=
"msg.Name"
size=
"small"
clearable
>
</el-input>
<span
@
click=
"msg.pageIndex=1,getList()"
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
</div>
</div>
<div
style=
"margin-top:20px"
>
<el-tabs
v-model=
"activeName"
@
tab-click=
"handleClick"
>
<el-tab-pane
label=
"全部"
name=
"first"
:dataId=
"0"
></el-tab-pane>
<el-tab-pane
v-for=
"(item,index) in AuditStatusList"
:dataId=
"item.Id"
:key=
"index"
:label=
"item.Name"
:name=
"item.Name"
></el-tab-pane>
</el-tabs>
</div>
<el-table
:data=
"tableData"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0"
>
<el-table-column
prop=
"Id"
width=
"80"
label=
"ID"
></el-table-column>
<el-table-column
prop=
"Name"
width=
"150"
label=
"微店名称"
></el-table-column>
<el-table-column
prop=
"Logo"
width=
"150"
label=
"用户logo"
>
<template
slot-scope=
"scope"
>
<img
class=
"app-order-icon"
style=
"width: 50px;height: 50px;"
:src=
"scope.row.Logo"
alt=
""
>
</
template
>
</el-table-column>
<el-table-column
prop=
"UserName"
label=
"用户名称"
>
</el-table-column>
<el-table-column
prop=
"Commission"
label=
"可提现佣金"
>
<el-table-column
prop=
"Moblie"
label=
"总佣金"
>
<
template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
Commission
?
scope
.
row
.
Commission
.
toFixed
(
2
):
'0.00'
}}
</p>
<p>
{{
scope
.
row
.
TotalCommission
?
scope
.
row
.
TotalCommission
.
toFixed
(
2
):
'0.00'
}}
</p>
</
template
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"AuditStatusName"
label=
"申请状态"
>
</el-table-column>
<el-table-column
prop=
"AuditDate"
label=
"审核时间"
>
</el-table-column>
<el-table-column
prop=
"Remark"
label=
"备注"
>
</el-table-column>
<el-table-column
prop=
"CreateDate"
label=
"操作时间"
>
</el-table-column>
<el-table-column
prop=
"address"
label=
"操作"
>
<
template
slot-scope=
"scope"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"同意"
placement=
"top"
v-if=
"scope.row.AuditStatus==1"
>
<img
@
click=
"pending(item,1)"
v-if=
"scope.row.AuditStatus==1"
class=
"app-order-icon"
src=
"../../../assets/img/userman/pass.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"拒绝"
placement=
"top"
v-if=
"scope.row.AuditStatus==1"
>
<img
@
click=
"pending(item,2)"
v-if=
"scope.row.AuditStatus==1"
class=
"app-order-icon"
src=
"../../../assets/img/userman/nopass.png"
alt=
""
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"添加备注"
placement=
"top-start"
v-if=
"scope.row.AuditStatus==2"
>
<img
@
click=
"openRemark(5,scope.row)"
style=
"width:32px;height:32px"
src=
"../../../assets/img/userman/add_remark.png"
alt=
""
v-if=
"scope.row.AuditStatus==2"
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"删除"
placement=
"top-start"
v-if=
"scope.row.AuditStatus==2"
>
<img
@
click=
"Delete(3,scope.row)"
style=
"width:32px;height:32px"
src=
"../../../assets/img/userman/del.png"
alt=
""
v-if=
"scope.row.AuditStatus==2"
>
</el-tooltip>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改可提现佣金"
placement=
"top-start"
v-if=
"scope.row.AuditStatus==2"
>
<img
@
click=
"openYongjin(scope.row)"
style=
"width:32px;height:32px"
src=
"../../../assets/img/userman/edit.png"
alt=
""
v-if=
"scope.row.AuditStatus==2"
>
</el-tooltip>
</
template
>
</el-table-column>
</el-table>
<el-pagination
style=
"text-align:right"
background
@
current-change=
"handleCurrentChange"
:page-size=
"msg.pageSize"
layout=
"prev, pager, next"
:current-page
.
sync=
"msg.pageIndex"
:total=
"total"
>
</el-pagination>
</div>
</div>
</template>
<
script
>
export
default
{
data
()
{
return
{
loading
:
false
,
value
:
''
,
options
:[],
tableData
:[],
msg
:{
pageIndex
:
1
,
pageSize
:
15
,
UserId
:
0
,
AuditStatus
:
0
,
Name
:
''
,
NickName
:
''
,
},
total
:
0
,
cateList
:[],
AuditStatusList
:
[],
activeName
:
'first'
,
};
},
created
()
{
this
.
getList
();
this
.
GetAuditStatus
()
},
methods
:
{
GetAuditStatus
()
{
this
.
apipost
(
"/api/user/GetDistributorAuditStatusEnumList"
,
{},
res
=>
{
this
.
AuditStatusList
=
res
.
data
.
data
;
})
},
handleClick
(
val
)
{
this
.
msg
.
AuditStatus
=
val
.
$attrs
.
dataId
;
this
.
getList
();
},
getList
(){
this
.
loading
=
true
;
this
.
apipost
(
"/api/SmallShops/GetSmallShopsPageList"
,
this
.
msg
,
res
=>
{
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
){
this
.
total
=
res
.
data
.
data
.
count
;
let
pageData
=
res
.
data
.
data
.
pageData
;
this
.
tableData
=
pageData
;
}
})
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
},
mounted
()
{
}
};
</
script
>
<
style
>
.usersList
.remark_name
{
color
:
#888888
;
font-size
:
12px
;
margin-left
:
10px
;
float
:
right
;
}
.usersList
.app-image
{
background-position
:
center
center
;
width
:
50px
;
height
:
50px
;
border-radius
:
0%
;
float
:
left
;
margin-right
:
8px
;
}
.usersList
.blue
{
color
:
#409EFF
;
}
.usersList
.content
.searchInput
{
border
:
1px
solid
#DCDFE6
;
border-radius
:
4px
;
}
.usersList
.content
.searchInput
.el-input__inner
{
border
:
none
;
outline
:
none
;
height
:
30px
;
line-height
:
30px
;
}
.usersList
.content
.searchInput
{
line-height
:
normal
;
display
:
inline-table
;
width
:
100%
;
border-collapse
:
separate
;
border-spacing
:
0
;
width
:
250px
;
margin-right
:
20px
;
}
.usersList
.content
{
background
:
#fff
;
margin-top
:
10px
;
padding
:
20px
;
box-sizing
:
border-box
;
}
</
style
>
src/components/UserMan/usersList.vue
View file @
a14c29c1
...
@@ -40,6 +40,9 @@
...
@@ -40,6 +40,9 @@
<span
@
click=
"msg.pageIndex=1,getList()"
class=
"el-icon-search"
<span
@
click=
"msg.pageIndex=1,getList()"
class=
"el-icon-search"
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
style=
"color:#979dad;font-size:14px;position:relative;top:1px"
></span>
</div>
</div>
<el-date-picker
v-model=
"dateList"
@
change=
"msg.pageIndex=1,getList()"
size=
"small"
type=
"datetimerange"
range-separator=
"至"
value-format=
"yyyy-MM-dd HH:mm:ss"
start-placeholder=
"开始日期"
end-placeholder=
"结束日期"
>
</el-date-picker>
</div>
</div>
<el-table
:data=
"tableData"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0"
>
<el-table
:data=
"tableData"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0"
>
<el-table-column
prop=
"Id"
label=
"ID"
width=
"100"
>
<el-table-column
prop=
"Id"
label=
"ID"
width=
"100"
>
...
@@ -199,7 +202,9 @@
...
@@ -199,7 +202,9 @@
Source
:
0
,
Source
:
0
,
MemberGrade
:
0
,
MemberGrade
:
0
,
Id
:
''
,
Id
:
''
,
Moblie
:
''
Moblie
:
''
,
StartTime
:
''
,
EndTime
:
''
,
},
},
total
:
0
,
total
:
0
,
platList
:
[],
platList
:
[],
...
@@ -225,6 +230,7 @@
...
@@ -225,6 +230,7 @@
Description
:
''
,
Description
:
''
,
},
},
imgurl
:
''
,
imgurl
:
''
,
dateList
:[],
};
};
},
},
...
@@ -318,6 +324,16 @@
...
@@ -318,6 +324,16 @@
if
(
!
msg
.
Id
||
msg
.
Id
==
''
){
if
(
!
msg
.
Id
||
msg
.
Id
==
''
){
msg
.
Id
=
0
;
msg
.
Id
=
0
;
}
}
if
(
this
.
dateList
&&
this
.
dateList
.
length
>
0
){
console
.
log
(
this
.
dateList
)
msg
.
StartTime
=
this
.
dateList
[
0
];
msg
.
EndTime
=
this
.
dateList
[
1
];
}
else
{
msg
.
StartTime
=
''
;
msg
.
EndTime
=
''
;
}
this
.
apipost
(
"/api/user/GetMemberUserPageList"
,
msg
,
res
=>
{
this
.
apipost
(
"/api/user/GetMemberUserPageList"
,
msg
,
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
src/components/pintuan/pintuanPlugin/goodsSpecifica.vue
View file @
a14c29c1
...
@@ -125,7 +125,7 @@
...
@@ -125,7 +125,7 @@
<i
@
click=
"Deleteggz(item, index, index2)"
class=
"el-icon-error close"
></i>
<i
@
click=
"Deleteggz(item, index, index2)"
class=
"el-icon-error close"
></i>
<div
v-if=
"index == 0 && item.EnabledImage == 1"
flex=
"cross:center main:center"
class=
"img-box"
>
<div
v-if=
"index == 0 && item.EnabledImage == 1"
flex=
"cross:center main:center"
class=
"img-box"
>
<div
class=
"attr-jt"
></div>
<div
class=
"attr-jt"
></div>
<div
v-if=
"item2.Image == ''"
@
click=
"
openggImg(item, index, item2, index2)
"
<div
v-if=
"item2.Image == ''"
@
click=
"
openggImg(item, index, item2, index2)
"
class=
"app-attachment"
>
class=
"app-attachment"
>
<div
style=
"line-height: normal; display: inline-block;"
>
<div
style=
"line-height: normal; display: inline-block;"
>
<span>
+添加图片
</span>
<span>
+添加图片
</span>
...
@@ -134,7 +134,7 @@
...
@@ -134,7 +134,7 @@
<div
v-if=
"item2.Image != ''"
class=
"el-image"
style=
"height: 88px; width: 88px;"
>
<div
v-if=
"item2.Image != ''"
class=
"el-image"
style=
"height: 88px; width: 88px;"
>
<img
:src=
"item2.Image"
style=
"width:100%;height:100%"
/>
<img
:src=
"item2.Image"
style=
"width:100%;height:100%"
/>
</div>
</div>
<span
v-if=
"item2.Image != ''"
@
click=
"
DeleteImageUrl(item, index, item2, index2)
"
<span
v-if=
"item2.Image != ''"
@
click=
"
DeleteImageUrl(item, index, item2, index2)
"
class=
"el-icon-error close"
></span>
class=
"el-icon-error close"
></span>
<div
v-if=
"item2.Image != ''"
style=
"position: absolute;"
>
<div
v-if=
"item2.Image != ''"
style=
"position: absolute;"
>
<div
class=
"app-attachment"
>
<div
class=
"app-attachment"
>
...
@@ -145,14 +145,14 @@
...
@@ -145,14 +145,14 @@
</div>
</div>
</div>
</div>
<div>
<div>
<span
@
click=
"
addGgz
(item, index)"
class=
"blue f12"
>
添加规格值
</span>
<span
@
click=
"
AddSpecValue
(item, index)"
class=
"blue f12"
>
添加规格值
</span>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
</div>
<div
v-if=
"SpecificationList.length
<
6
"
flex=
"dir:left cross:center"
class=
"bg"
>
<div
v-if=
"SpecificationList.length
<
6
"
flex=
"dir:left cross:center"
class=
"bg"
>
<el-button
@
click=
"
addggModeule"
size=
"small"
>
添加
规格模板
</el-button>
<el-button
@
click=
"
chooseSpec"
size=
"small"
>
选择
规格模板
</el-button>
<el-button
@
click=
"add
ggxm
"
size=
"small"
>
添加规格项目
</el-button>
<el-button
@
click=
"add
Spec
"
size=
"small"
>
添加规格项目
</el-button>
<span
style=
"padding-left: 14px;color: rgb(201, 201, 201)"
>
注:规格名最多添加5个
</span>
<span
style=
"padding-left: 14px;color: rgb(201, 201, 201)"
>
注:规格名最多添加5个
</span>
</div>
</div>
</div>
</div>
...
@@ -160,7 +160,6 @@
...
@@ -160,7 +160,6 @@
<div
v-show=
"SpecificationPriceList.length > 0"
style=
"width: 130%; margin-top: 24px;"
>
<div
v-show=
"SpecificationPriceList.length > 0"
style=
"width: 130%; margin-top: 24px;"
>
<div
class=
"app-attr"
>
<div
class=
"app-attr"
>
<div
class=
"box"
>
<div
class=
"box"
>
<!--
<el-checkbox
v-model=
"val2"
>
全选
</el-checkbox>
-->
<el-form-item
label-width=
"90px"
style=
"display:inline-block"
label=
"批量设置"
>
<el-form-item
label-width=
"90px"
style=
"display:inline-block"
label=
"批量设置"
>
<el-input
style=
"width:100%"
size=
"small"
v-model=
"valpl"
placeholder=
"请输入内容"
class=
"input-with-select"
>
<el-input
style=
"width:100%"
size=
"small"
v-model=
"valpl"
placeholder=
"请输入内容"
class=
"input-with-select"
>
<el-select
style=
"width:120px"
v-model=
"ggpl"
slot=
"prepend"
placeholder=
"请选择"
>
<el-select
style=
"width:120px"
v-model=
"ggpl"
slot=
"prepend"
placeholder=
"请选择"
>
...
@@ -253,7 +252,6 @@
...
@@ -253,7 +252,6 @@
<el-dialog
title=
"选择文件"
:visible
.
sync=
"changeState"
width=
"1240px"
>
<el-dialog
title=
"选择文件"
:visible
.
sync=
"changeState"
width=
"1240px"
>
<ChooseImg
@
SelectId=
"SelectId"
:IsMultiple=
"true"
></ChooseImg>
<ChooseImg
@
SelectId=
"SelectId"
:IsMultiple=
"true"
></ChooseImg>
</el-dialog>
</el-dialog>
</div>
</div>
</template>
</template>
...
@@ -316,7 +314,7 @@
...
@@ -316,7 +314,7 @@
},
},
methods
:
{
methods
:
{
// 添加规格模板
// 添加规格模板
add
ggxm
()
{
add
Spec
()
{
let
that
=
this
;
let
that
=
this
;
let
obj
=
{
let
obj
=
{
Name
:
""
,
Name
:
""
,
...
@@ -330,10 +328,9 @@
...
@@ -330,10 +328,9 @@
// 修改规格值
// 修改规格值
ggzChange
()
{
ggzChange
()
{
this
.
$forceUpdate
();
this
.
$forceUpdate
();
this
.
ComTreeList
=
[];
this
.
memberList2
=
[];
this
.
skuList
=
[];
this
.
skuList
=
[];
this
.
getSkuData
([],
0
,
this
.
SpecificationList
);
this
.
getSkuData
([],
0
,
this
.
SpecificationList
);
},
},
getSkuData
(
skuArr
=
[],
i
,
list
)
{
getSkuData
(
skuArr
=
[],
i
,
list
)
{
const
testyunx
=
(
skuArr
=
[],
i
,
list
)
=>
{
const
testyunx
=
(
skuArr
=
[],
i
,
list
)
=>
{
...
@@ -355,6 +352,7 @@
...
@@ -355,6 +352,7 @@
}
}
}
}
testyunx
(
skuArr
,
i
,
list
)
testyunx
(
skuArr
,
i
,
list
)
console
.
log
(
"this.skuList"
,
this
.
skuList
);
this
.
calcList
(
this
.
skuList
,
this
.
SpecificationList
);
this
.
calcList
(
this
.
skuList
,
this
.
SpecificationList
);
},
},
calcList
(
list
,
calist
)
{
calcList
(
list
,
calist
)
{
...
@@ -421,82 +419,8 @@
...
@@ -421,82 +419,8 @@
};
};
arrList
.
push
(
obj1
);
arrList
.
push
(
obj1
);
});
});
this
.
calcdis
(
JSON
.
parse
(
JSON
.
stringify
(
arrList
)));
},
calcdis
(
dislist
)
{
let
memberListarray
=
JSON
.
parse
(
JSON
.
stringify
(
dislist
));
let
ComTreeList
=
JSON
.
parse
(
JSON
.
stringify
(
this
.
ComTreeList
));
for
(
let
i
=
0
;
i
<
dislist
.
length
;
i
++
)
{
if
(
this
.
SeparateDistributionType
==
2
&&
this
.
ComTreeList
.
length
>
0
)
{
if
(
i
<
ComTreeList
.
length
)
{
ComTreeList
.
forEach
((
val
,
z
)
=>
{
if
(
val
.
SpecificationSort
==
dislist
[
i
].
SpecificationSort
)
{
dislist
[
i
].
GradeCommissionList
=
[];
dislist
[
i
].
GradeCommissionList
=
val
.
GradeCommissionList
;
}
})
}
else
{
for
(
let
j
=
0
;
j
<
this
.
DropdownList
.
length
;
j
++
)
{
let
obj
=
{
SpecificationSort
:
dislist
[
i
].
SpecificationSort
,
DistributorGrade
:
this
.
DropdownList
[
j
].
Id
,
OneCommission
:
0
,
TwoCommission
:
0
,
ThreeCommission
:
0
,
Name
:
dislist
[
i
].
Name
};
dislist
[
i
].
GradeCommissionList
.
push
(
obj
);
}
}
}
else
{
for
(
let
j
=
0
;
j
<
this
.
DropdownList
.
length
;
j
++
)
{
let
obj
=
{
SpecificationSort
:
dislist
[
i
].
SpecificationSort
,
DistributorGrade
:
this
.
DropdownList
[
j
].
Id
,
OneCommission
:
0
,
TwoCommission
:
0
,
ThreeCommission
:
0
,
Name
:
dislist
[
i
].
Name
};
dislist
[
i
].
GradeCommissionList
.
push
(
obj
);
}
}
}
for
(
let
i
=
0
;
i
<
memberListarray
.
length
;
i
++
)
{
memberListarray
[
i
].
GradePriceList
=
[];
if
(
this
.
EnjoyMember
==
1
&&
this
.
memberList2
.
length
>
0
)
{
if
(
i
<
this
.
memberList2
.
length
)
{
this
.
memberList2
.
forEach
(
val
=>
{
if
(
val
.
SpecificationSort
==
memberListarray
[
i
].
SpecificationSort
)
{
memberListarray
[
i
].
GradePriceList
=
[];
memberListarray
[
i
].
GradePriceList
=
val
.
GradePriceList
;
}
})
}
else
{
for
(
let
j
=
0
;
j
<
this
.
huiyList
.
length
;
j
++
)
{
let
obj
=
{
MemberGrade
:
this
.
huiyList
[
j
].
Grade
,
MemberPrice
:
0
};
memberListarray
[
i
].
GradePriceList
.
push
(
obj
);
}
}
}
else
{
for
(
let
j
=
0
;
j
<
this
.
huiyList
.
length
;
j
++
)
{
let
obj
=
{
MemberGrade
:
this
.
huiyList
[
j
].
Grade
,
MemberPrice
:
0
};
memberListarray
[
i
].
GradePriceList
.
push
(
obj
);
}
}
}
this
.
disList2
=
JSON
.
parse
(
JSON
.
stringify
(
dislist
));
this
.
memberList2
=
JSON
.
parse
(
JSON
.
stringify
(
memberListarray
));
},
},
//
删除规格模板
//删除规格模板
DeleteggModule
(
item
,
index
)
{
DeleteggModule
(
item
,
index
)
{
this
.
ComTreeList
=
[];
this
.
ComTreeList
=
[];
this
.
memberList2
=
[];
this
.
memberList2
=
[];
...
@@ -508,7 +432,7 @@
...
@@ -508,7 +432,7 @@
this
.
skuList
=
[];
this
.
skuList
=
[];
this
.
getSkuData
([],
0
,
this
.
SpecificationList
);
this
.
getSkuData
([],
0
,
this
.
SpecificationList
);
},
},
//
删除规格值
//删除规格值
Deleteggz
(
item
,
index
,
index2
)
{
Deleteggz
(
item
,
index
,
index2
)
{
this
.
SpecificationList
[
index
].
SpecificationValueList
.
splice
(
index2
,
1
);
this
.
SpecificationList
[
index
].
SpecificationValueList
.
splice
(
index2
,
1
);
this
.
$forceUpdate
();
this
.
$forceUpdate
();
...
@@ -528,7 +452,7 @@
...
@@ -528,7 +452,7 @@
this
.
SpecificationList
[
index
].
SpecificationValueList
[
index2
].
Image
=
""
;
this
.
SpecificationList
[
index
].
SpecificationValueList
[
index2
].
Image
=
""
;
},
},
// 添加规格值
// 添加规格值
addGgz
(
item
,
index
)
{
AddSpecValue
(
item
,
index
)
{
let
obj
=
{
let
obj
=
{
Id
:
0
,
Id
:
0
,
Image
:
""
,
Image
:
""
,
...
@@ -537,7 +461,8 @@
...
@@ -537,7 +461,8 @@
};
};
this
.
SpecificationList
[
index
].
SpecificationValueList
.
push
(
obj
);
this
.
SpecificationList
[
index
].
SpecificationValueList
.
push
(
obj
);
},
},
addggModeule
()
{
//添加规格
chooseSpec
()
{
this
.
speciDig
=
true
;
this
.
speciDig
=
true
;
this
.
speciList
.
forEach
(
item
=>
{
this
.
speciList
.
forEach
(
item
=>
{
item
.
NewSpecList
=
[];
item
.
NewSpecList
=
[];
...
@@ -561,9 +486,11 @@
...
@@ -561,9 +486,11 @@
}
}
this
.
$forceUpdate
();
this
.
$forceUpdate
();
},
},
//规格值切换选择
changeSpeciList
(
val
,
index
)
{
changeSpeciList
(
val
,
index
)
{
this
.
$forceUpdate
();
this
.
$forceUpdate
();
},
},
//选择规格
chooseSpecificationValueList
()
{
chooseSpecificationValueList
()
{
if
(
!
this
.
SpecificationList
)
{
if
(
!
this
.
SpecificationList
)
{
this
.
SpecificationList
=
[];
this
.
SpecificationList
=
[];
...
...
src/components/statistics/grantStatistics.vue
View file @
a14c29c1
<
template
>
<
template
>
<div
class=
"grantStatistics"
v-loading=
"loading"
>
<div
class=
"grantStatistics"
v-loading=
"loading"
>
<div
class=
"el-card__header"
>
<div
class=
"el-card__header"
>
<span>
积分收支
</span>
<span>
优惠券统计
</span>
<div
style=
"display: flex;flex-direction: row;align-items: center"
>
<div
style=
"display: flex;flex-direction: row;align-items: center"
>
<el-button
type=
"primary"
class=
"el-button--small"
@
click=
"Export"
>
导出全部
</el-button>
<el-button
type=
"primary"
class=
"el-button--small"
@
click=
"Export"
>
导出全部
</el-button>
</div>
</div>
...
...
src/router/index.js
View file @
a14c29c1
...
@@ -316,6 +316,12 @@ export default new Router({
...
@@ -316,6 +316,12 @@ export default new Router({
path
:
'/wdCustomSet'
,
path
:
'/wdCustomSet'
,
name
:
'wdCustomSet'
,
name
:
'wdCustomSet'
,
component
:
resolve
=>
require
([
'@/components/UserMan/tinyMerchant/wdCustomSet'
],
resolve
),
component
:
resolve
=>
require
([
'@/components/UserMan/tinyMerchant/wdCustomSet'
],
resolve
),
},
// 用户管理 微店审核
{
path
:
'/wdExamine'
,
name
:
'wdExamine'
,
component
:
resolve
=>
require
([
'@/components/UserMan/tinyMerchant/wdExamine'
],
resolve
),
},
},
// 商品管理 素材管理
// 商品管理 素材管理
{
{
...
...
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