Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
S
SuperMan
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
1
Issues
1
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
罗超
SuperMan
Commits
f7da4221
Commit
f7da4221
authored
Jun 09, 2020
by
黄媛媛
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
update
parent
b19e39b2
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
257 additions
and
0 deletions
+257
-0
Sheepcommission.vue
src/components/FinancialModule/Sheepcommission.vue
+114
-0
commissionSubsidiary.vue
src/components/FinancialModule/commissionSubsidiary.vue
+127
-0
config.js
src/router/config.js
+16
-0
No files found.
src/components/FinancialModule/Sheepcommission.vue
0 → 100644
View file @
f7da4221
<
template
>
<div
class=
"Sheepcommission"
>
<div
class=
"query-box"
>
<ul>
<li>
<span>
<em>
名称
</em>
<el-input
type=
"text"
v-model=
"msg.Name"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<span>
<em>
手机
</em>
<el-input
type=
"text"
v-model=
"msg.Moblie"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
</li>
</ul>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th>
用户ID
</th>
<th>
名称
</th>
<th>
手机
</th>
<th>
分销等级
</th>
<th>
累计佣金
</th>
<th>
可提现佣金
</th>
<th>
待结算佣金
</th>
<th>
已提现佣金
</th>
</tr>
<tr
v-for=
"(item,i) in dataList"
:key=
"i"
>
<td>
{{
item
.
UserId
}}
</td>
<td>
{{
item
.
Name
}}
</td>
<td>
{{
item
.
Moblie
}}
</td>
<td>
{{
item
.
GradeName
}}
</td>
<td>
{{
item
.
TotalCommission
}}
</td>
<td>
{{
item
.
CommissionWithdrawal
}}
</td>
<td>
<span
@
click=
"goUrl(item)"
class=
"underline point"
>
{{
item
.
WaitCommission
}}
</span>
</td>
<td>
<span
@
click=
"goUrl(item)"
class=
"underline point"
>
{{
item
.
Commission
}}
</span>
</td>
</tr>
<tr
v-if=
"dataList.length==0"
>
<td
colspan=
"15"
align=
"center"
>
暂无数据
</td>
</tr>
</table>
<el-pagination
background
@
current-change=
"handleCurrentChange"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
'total'
>
</el-pagination>
</div>
</
template
>
<
script
>
import
moment
from
"moment"
;
export
default
{
name
:
"Feedback"
,
data
()
{
return
{
total
:
0
,
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
Name
:
''
,
Moblie
:
''
,
},
dataList
:
[],
loading
:
false
};
},
created
()
{
this
.
getList
();
},
mounted
()
{},
methods
:
{
goUrl
(
item
)
{
this
.
$router
.
push
({
name
:
"commissionSubsidiary"
,
query
:
{
UserId
:
item
.
UserId
}
})
},
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
getList
()
{
this
.
apiJavaPostSmall
(
"/api/ERPOrderCommission/GetDistributionCommissionPageList"
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
},
}
};
</
script
>
<
style
>
.Sheepcommission
.underline
{
text-decoration
:
underline
;
}
.Sheepcommission
.point
{
cursor
:
pointer
;
}
</
style
>
src/components/FinancialModule/commissionSubsidiary.vue
0 → 100644
View file @
f7da4221
<
template
>
<div
class=
"Sheepcommission"
>
<div
class=
"query-box"
>
<ul>
<li>
<span>
<em>
订单ID
</em>
<el-input
type=
"text"
v-model=
"msg.OrderId"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<span>
<em>
订单号
</em>
<el-input
type=
"text"
v-model=
"msg.OrderNo"
:placeholder=
"$t('pub.pleaseImport')"
></el-input>
</span>
</li>
<li>
<input
type=
"button"
class=
"hollowFixedBtn"
:value=
"$t('pub.searchBtn')"
@
click=
"getList()"
/>
</li>
</ul>
</div>
<table
class=
"singeRowTable"
border=
"0"
cellspacing=
"0"
cellpadding=
"0"
v-loading=
"loading"
>
<tr>
<th
width=
"200"
>
订单ID/订单号
</th>
<th>
等级描述
</th>
<th
width=
"100"
>
姓名/手机号
</th>
<th>
佣金
</th>
<th>
状态
</th>
<th>
类型
</th>
<th
width=
"400"
>
商品名称
</th>
<th>
规格列表
</th>
<th>
货号
</th>
<th>
最终价格
</th>
<th>
数量
</th>
<th>
备注
</th>
</tr>
<template
v-for=
"item in dataList"
>
<tr
v-for=
"(list,i) in item.DetailList"
>
<td
v-if=
"i==0"
:rowspan=
"item.DetailList.length"
>
{{
item
.
OrderId
}}
<p>
{{
item
.
OrderNo
}}
</p>
</td>
<td
v-if=
"i==0"
:rowspan=
"item.DetailList.length"
>
{{
item
.
GradeDescription
}}
</td>
<td
v-if=
"i==0"
:rowspan=
"item.DetailList.length"
>
{{
item
.
UserName
}}
<p>
{{
item
.
Mobile
}}
</p>
</td>
<td
v-if=
"i==0"
:rowspan=
"item.DetailList.length"
>
{{
item
.
Commission
}}
</td>
<td
v-if=
"i==0"
:rowspan=
"item.DetailList.length"
>
<span
v-if=
"item.CommissionState==1"
>
待返佣
</span>
<span
v-if=
"item.CommissionState==2"
>
已返佣
</span>
</td>
<td>
{{
list
.
OrderTypeName
}}
</td>
<td>
{{
list
.
GoodsName
}}
</td>
<td>
<span
v-for=
"(spec,index2) in list.SpecificationList"
:key=
"index2"
>
{{
spec
}}
</span>
</td>
<td>
{{
list
.
ProductCode
}}
</td>
<td>
{{
list
.
Final_Price
}}
</td>
<td>
{{
list
.
Number
}}
</td>
<td
v-if=
"i==0"
:rowspan=
"item.DetailList.length"
>
{{
item
.
Remark
}}
</td>
</tr>
</
template
>
<tr
v-if=
"dataList.length==0"
>
<td
colspan=
"15"
align=
"center"
>
暂无数据
</td>
</tr>
</table>
<el-pagination
background
@
current-change=
"handleCurrentChange"
layout=
"total,prev, pager, next, jumper"
:page-size=
"msg.pageSize"
:total=
'total'
>
</el-pagination>
</div>
</template>
<
script
>
import
moment
from
"moment"
;
export
default
{
name
:
"Feedback"
,
data
()
{
return
{
total
:
0
,
msg
:
{
pageIndex
:
1
,
pageSize
:
10
,
UserId
:
''
,
OrderId
:
''
,
OrderNo
:
''
,
},
dataList
:
[],
loading
:
false
};
},
created
()
{
if
(
this
.
$route
.
query
.
UserId
){
this
.
msg
.
UserId
=
this
.
$route
.
query
.
UserId
;
}
this
.
getList
();
},
mounted
()
{},
methods
:
{
handleCurrentChange
(
val
)
{
this
.
msg
.
pageIndex
=
val
;
this
.
getList
();
},
getList
()
{
this
.
apiJavaPostSmall
(
"/api/ERPOrderCommission/GetDistributionOrderCommissionPageList"
,
this
.
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
},
null
);
},
}
};
</
script
>
<
style
>
.Sheepcommission
.underline
{
text-decoration
:
underline
;
}
.Sheepcommission
.point
{
cursor
:
pointer
;
}
</
style
>
src/router/config.js
View file @
f7da4221
...
...
@@ -3664,6 +3664,22 @@ export default {
meta
:
{
title
:
'审核未付账'
},
},
{
path
:
'/Sheepcommission'
,
name
:
'Sheepcommission'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/Sheepcommission'
],
resolve
),
meta
:
{
title
:
'赞羊返佣'
},
},
{
path
:
'/commissionSubsidiary'
,
name
:
'commissionSubsidiary'
,
component
:
resolve
=>
require
([
'@/components/FinancialModule/commissionSubsidiary'
],
resolve
),
meta
:
{
title
:
'赞羊返佣明细'
},
},
{
path
:
'/JumpReport'
,
...
...
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