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
f90b053f
Commit
f90b053f
authored
Dec 11, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
b1bf0aaf
Hide whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
61 additions
and
12 deletions
+61
-12
LianMengManagement.vue
src/components/administrative/LianMengManagement.vue
+5
-4
happyMoneyDetails.vue
src/components/administrative/happyMoneyDetails.vue
+55
-7
leaderPay2.vue
src/components/leaderPay2.vue
+1
-1
No files found.
src/components/administrative/LianMengManagement.vue
View file @
f90b053f
...
...
@@ -34,10 +34,10 @@
</tr>
<tr
v-for=
"item in dataList"
>
<td>
{{
item
.
AllianceName
}}
</td>
<td>
{{
item
.
CustomerCount
}}
</td>
<td>
<span
class=
"cursorpointer text-decoration"
@
click=
"goCustomerList(item.ID)"
>
{{
item
.
CustomerCount
}}
</span>
</td>
<td>
{{
item
.
StartYear
}}
-
{{
item
.
EndYear
}}
</td>
<td>
{{
moneyFormat
(
item
.
TradeMoney
)
}}
</td>
<td><span
class=
"cursorpointer text-decoration"
@
click=
"
goCustomerList(item.ID)"
>
{{
item
.
TotalGuestNum
}}
</span></td>
<td><span
class=
"cursorpointer text-decoration"
@
click=
"
jiesuan(item.ID, 'happyMoneyDetails', 1)"
>
{{
item
.
TotalGuestNum
}}
</span></td>
<td
class=
"_icon_btn"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"新增客户"
placement=
"top"
>
<i
class=
"edit el-icon-edit"
@
click=
"addCustorm(item)"
></i>
...
...
@@ -186,13 +186,14 @@ export default {
this
.
employeeMsg
.
GroupId
=
userInfo
.
RB_Group_id
;
//集团ID
this
.
getEmployee
()
},
methods
:
{
jiesuan
:
function
(
ID
,
path
){
jiesuan
:
function
(
ID
,
path
,
t
){
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
ID
,
blank
:
"y"
,
tab
:
'大红包结算'
tab
:
'大红包结算'
,
type
:
t
}
});
},
...
...
src/components/administrative/happyMoneyDetails.vue
View file @
f90b053f
...
...
@@ -120,9 +120,22 @@
background-color
:
#a0a0a0
;
border-color
:
#a0a0a0
;
}
.happyMoney
._icon_btn
i
{
width
:
30px
;
height
:
30px
;
display
:
inline-block
;
color
:
white
!important
;
border-radius
:
50%
;
text-align
:
center
;
line-height
:
28px
;
margin-right
:
10px
;
cursor
:
pointer
;
outline
:
none
;
}
.happyMoney
._icon_btn
i
.icon-guanli2
{
background-color
:
#E95252
;}
</
style
>
<
template
>
<div
class=
"happyMoney"
v-
if=
"
show"
>
<div
class=
"happyMoney"
v-
loading=
"!
show"
>
<div
class=
"tit"
>
<div
class=
"name"
>
{{
dataList
.
AllianceName
+
dataList
.
EndYear
}}
年度大红包结算
</div>
</div>
...
...
@@ -143,15 +156,21 @@
<th>
名称
</th>
<th>
交易金额
</th>
<th>
交易人头
</th>
<th>
预计返现
</th>
<th
width=
"200"
>
确认返现
</th>
<th
v-if=
"!hideBtn"
>
预计返现
</th>
<th
width=
"200"
v-if=
"!hideBtn"
>
确认返现
</th>
<th
v-if=
"hideBtn"
>
操作
</th>
</tr>
<tr
v-for=
"(item, index) in dataList.CustomerList"
>
<td>
{{
item
.
CustomerName
}}
</td>
<td>
{{
item
.
CustomerName
}}
<span
v-if=
"item.IsMain == 1"
style=
"color: #E95252"
>
(主)
</span>
</td>
<td>
¥
{{
moneyFormat
(
item
.
TradeMoney
)
}}
</td>
<td>
{{
item
.
TotalGuestNum
}}
人
</td>
<td>
¥
{{
moneyFormat
(
item
.
PredictPrice
)
}}
</td>
<td>
¥
{{
moneyFormat
(
item
.
PredictPrice
)
}}
</td>
<td
v-if=
"!hideBtn"
>
¥
{{
moneyFormat
(
item
.
PredictPrice
)
}}
</td>
<td
v-if=
"!hideBtn"
>
¥
{{
moneyFormat
(
item
.
PredictPrice
)
}}
</td>
<td
class=
"_icon_btn"
v-if=
"hideBtn"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"设置主门店"
placement=
"top"
>
<i
class=
"iconfont icon-guanli2"
@
click=
"setAdmin(item)"
></i>
</el-tooltip>
</td>
</tr>
</table>
<div
class=
"_addUpload_box clearfix"
>
...
...
@@ -203,18 +222,47 @@ export default {
picIsShow
:
false
,
show
:
false
,
dataList
:
{},
hideBtn
:
false
,
};
},
mounted
()
{
let
id
=
this
.
$route
.
query
.
id
if
(
this
.
$route
.
query
.
type
){
this
.
hideBtn
=
true
}
this
.
getList
(
id
);
},
methods
:
{
setAdmin
:
function
(
obj
)
{
let
ParentId
=
this
.
$route
.
query
.
id
this
.
$confirm
(
'确认设置“'
+
obj
.
CustomerName
+
'”为主门店?'
,
'提示'
,
{
confirmButtonText
:
'确定'
,
cancelButtonText
:
'取消'
,
type
:
'warning'
}).
then
(()
=>
{
this
.
apipost
(
"app_customer_UpdateIsMain"
,
{
ParentId
:
ParentId
,
Id
:
obj
.
ID
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
$message
.
success
(
res
.
data
.
message
)
this
.
getList
(
ParentId
);
}
},
null
);
}).
catch
(()
=>
{
this
.
$message
({
type
:
'info'
,
message
:
'已取消'
});
});
},
getList
:
function
(
id
)
{
this
.
show
=
false
this
.
apipost
(
"app_customer_GetClearingAllianceDetails"
,
{
Id
:
id
},
{
Id
:
id
},
res
=>
{
if
(
res
.
data
.
resultCode
===
1
)
{
this
.
show
=
true
...
...
src/components/leaderPay2.vue
View file @
f90b053f
...
...
@@ -1338,7 +1338,7 @@
let
obj
=
this
.
lingjiandiObj
let
inputPrice
=
obj
.
price
?
parseFloat
(
obj
.
price
)
:
0
let
userinfo
=
this
.
getLocalStorage
()
if
(
inputPrice
<
=
0
)
{
if
(
inputPrice
=
=
0
)
{
this
.
$message
.
error
(
'请输入制单金额'
)
return
}
...
...
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