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
e39e00ea
Commit
e39e00ea
authored
Jul 23, 2020
by
zhengke
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
增加修改佣金
parent
2a5d2272
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
51 additions
and
5 deletions
+51
-5
buyRecords.vue
src/components/UserMan/buyRecords.vue
+1
-1
distributors.vue
src/components/UserMan/distributors.vue
+49
-3
vipbuySales.vue
src/components/UserMan/vipbuySales.vue
+1
-1
No files found.
src/components/UserMan/buyRecords.vue
View file @
e39e00ea
...
...
@@ -4,7 +4,7 @@
会员购买记录
</div>
<div
class=
"content"
>
<el-table
:data=
"dataList"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0"
>
<el-table
:data=
"dataList"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0
;color:#303133
"
>
<el-table-column
prop=
"UserName"
label=
"会员名称"
>
</el-table-column>
<el-table-column
prop=
"Money"
label=
"支付金额"
>
...
...
src/components/UserMan/distributors.vue
View file @
e39e00ea
...
...
@@ -178,7 +178,10 @@
<img @click="OpenczjfDig(scope.row,2)" style="width:32px;height:32px"
src="../../assets/img/userman/balance.png" alt=""> -->
</template>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"修改可提现佣金"
placement=
"top-start"
>
<img
@
click=
"openYongjin(scope.row)"
style=
"width:32px;height:32px"
src=
"../../assets/img/userman/edit.png"
alt=
""
>
</el-tooltip>
</template>
</el-table-column>
</el-table>
...
...
@@ -346,7 +349,24 @@
<el-button
v-if=
"hpUserInfo.Status==1 || SuperiorNum==1"
size=
"small"
type=
"primary"
@
click=
"czsubmitForm('addMsg')"
>
确 定
</el-button>
</span>
</el-dialog>
<!-- 修改可提现佣金 -->
<el-dialog
title=
"提示"
:visible
.
sync=
"yjDialog"
width=
"400px"
>
<el-form
style=
"margin-top:10px"
>
<el-form-item
label-width=
"100px"
label=
"用户"
>
{{yjNickName}}
</el-form-item>
<el-form-item
label-width=
"100px"
label=
"累计佣金"
>
{{TotalCommission}}
</el-form-item>
<el-form-item
label-width=
"100px"
label=
"可提现佣金"
>
<el-input
v-model=
"yjMsg.Money"
@
keyup
.
native=
"checkInteger(yjMsg,'Money')"
style=
"width:210px;"
></el-input>
</el-form-item>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
size=
"small"
@
click=
"yjDialog = false"
>
取 消
</el-button>
<el-button
size=
"small"
type=
"primary"
@
click=
"setCommission"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
</template>
<
script
>
...
...
@@ -450,7 +470,15 @@
SuperiorNum
:
0
,
//粉象返佣下拉列表
GradeList
:[],
fxDialog
:
false
fxDialog
:
false
,
yjDialog
:
false
,
//可提现佣金msg
yjMsg
:{
DistributorId
:
0
,
Money
:
0
},
yjNickName
:
''
,
TotalCommission
:
''
};
},
created
()
{
...
...
@@ -468,6 +496,24 @@
},
methods
:
{
//修改
openYongjin
(
row
){
this
.
TotalCommission
=
row
.
TotalCommission
;
this
.
yjNickName
=
row
.
NickName
;
this
.
yjMsg
.
DistributorId
=
row
.
Id
;
this
.
yjMsg
.
Money
=
row
.
CommissionWithdrawal
;
this
.
yjDialog
=
true
;
},
//修改佣金
setCommission
(){
this
.
apipost
(
"/api/user/SetDistributorCommission"
,
this
.
yjMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
){
this
.
Success
(
res
.
data
.
message
);
this
.
getList
();
this
.
yjDialog
=
false
;
}
})
},
openReasonNew
(
num
,
row
){
this
.
addMsg
.
Type
=
num
;
this
.
addMsg
.
UserIds
=
row
.
UserId
;
...
...
src/components/UserMan/vipbuySales.vue
View file @
e39e00ea
...
...
@@ -34,7 +34,7 @@
<span
style=
"margin-left:20px;"
>
分销用户id:
</span>
<el-input
type=
"text"
class=
"w160"
v-model=
"msg.DistributionUserId"
@
keyup
.
enter
.
native=
"msg.pageIndex=1,getList()"
></el-input>
</div>
<el-table
:data=
"dataList"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0"
>
<el-table
:data=
"dataList"
v-loading=
"loading"
border
style=
"width: 100%;margin:20px 0
;color:#303133
"
>
<el-table-column
prop=
"OrderNo"
label=
"订单号"
>
</el-table-column>
<el-table-column
prop=
"UserName"
label=
"购买用户"
>
...
...
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