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
003d5c58
Commit
003d5c58
authored
Dec 11, 2019
by
华国豪
🙄
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
1
parent
e52d6023
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
48 additions
and
5 deletions
+48
-5
customerTransfer.vue
src/components/SalesModule/customerTransfer.vue
+1
-1
LianMengManagement.vue
src/components/administrative/LianMengManagement.vue
+1
-1
LianMengManagementList.vue
src/components/administrative/LianMengManagementList.vue
+45
-2
happyMoneyDetails.vue
src/components/administrative/happyMoneyDetails.vue
+1
-1
No files found.
src/components/SalesModule/customerTransfer.vue
View file @
003d5c58
...
@@ -182,7 +182,7 @@
...
@@ -182,7 +182,7 @@
<th
width=
"14%"
>
{{
$t
(
'system.table_operation'
)
}}
</th>
<th
width=
"14%"
>
{{
$t
(
'system.table_operation'
)
}}
</th>
</tr>
</tr>
<tr>
<tr>
<td
colspan=
"1
2
"
align=
"center"
v-show=
"list.length==0"
>
{{
$t
(
'system.content_noData'
)
}}
</td>
<td
colspan=
"1
3
"
align=
"center"
v-show=
"list.length==0"
>
{{
$t
(
'system.content_noData'
)
}}
</td>
</tr>
</tr>
<tr
v-for=
"(item,index) in list"
>
<tr
v-for=
"(item,index) in list"
>
<td>
<td>
...
...
src/components/administrative/LianMengManagement.vue
View file @
003d5c58
...
@@ -37,7 +37,7 @@
...
@@ -37,7 +37,7 @@
<td><span
class=
"cursorpointer text-decoration"
@
click=
"goCustomerList(item.ID)"
>
{{
item
.
CustomerCount
}}
</span></td>
<td><span
class=
"cursorpointer text-decoration"
@
click=
"goCustomerList(item.ID)"
>
{{
item
.
CustomerCount
}}
</span></td>
<td>
{{
item
.
StartYear
}}
-
{{
item
.
EndYear
}}
</td>
<td>
{{
item
.
StartYear
}}
-
{{
item
.
EndYear
}}
</td>
<td>
{{
moneyFormat
(
item
.
TradeMoney
)
}}
</td>
<td>
{{
moneyFormat
(
item
.
TradeMoney
)
}}
</td>
<td><span
class=
"cursorpointer text-decoration"
@
click=
"jiesuan(item.ID, 'happyMoneyDetails'
, 1
)"
>
{{
item
.
TotalGuestNum
}}
</span></td>
<td><span
class=
"cursorpointer text-decoration"
@
click=
"jiesuan(item.ID, 'happyMoneyDetails')"
>
{{
item
.
TotalGuestNum
}}
</span></td>
<td
class=
"_icon_btn"
>
<td
class=
"_icon_btn"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"新增客户"
placement=
"top"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"新增客户"
placement=
"top"
>
<i
class=
"edit el-icon-edit"
@
click=
"addCustorm(item)"
></i>
<i
class=
"edit el-icon-edit"
@
click=
"addCustorm(item)"
></i>
...
...
src/components/administrative/LianMengManagementList.vue
View file @
003d5c58
<
style
>
<
style
>
.LianMengManagement
._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
;
}
.LianMengManagement
._icon_btn
i
.icon-guanli2
{
background-color
:
#E95252
;}
</
style
>
</
style
>
<
template
>
<
template
>
<div
class=
"LianMengManagement"
>
<div
class=
"LianMengManagement"
>
...
@@ -9,12 +21,18 @@
...
@@ -9,12 +21,18 @@
<th>
联系人
</th>
<th>
联系人
</th>
<th>
电话
</th>
<th>
电话
</th>
<th>
是否是会员
</th>
<th>
是否是会员
</th>
<th>
操作
</th>
</tr>
</tr>
<tr
v-for=
"item in dataList"
>
<tr
v-for=
"item in dataList"
>
<td>
{{
item
.
CustomerName
}}
</td>
<td>
{{
item
.
CustomerName
}}
<span
v-if=
"item.IsMain == 1"
style=
"color: #E95252"
>
(主)
</span>
</td>
<td>
{{
item
.
Contact
}}
</td>
<td>
{{
item
.
Contact
}}
</td>
<td>
{{
item
.
ContactNumber
}}
</td>
<td>
{{
item
.
ContactNumber
}}
</td>
<td>
{{
item
.
IsMember
==
1
?
'是'
:
'否'
}}
</td>
<td>
{{
item
.
IsMember
==
1
?
'是'
:
'否'
}}
</td>
<td
class=
"_icon_btn"
>
<el-tooltip
class=
"item"
effect=
"dark"
content=
"设置主门店"
placement=
"top"
>
<i
class=
"iconfont icon-guanli2"
@
click=
"setAdmin(item)"
></i>
</el-tooltip>
</td>
</tr>
</tr>
</table>
</table>
<div
class=
"noDataNotice"
v-if=
"dataList.length
<1
"
>
<div
class=
"noDataNotice"
v-if=
"dataList.length
<1
"
>
...
@@ -40,6 +58,31 @@ export default {
...
@@ -40,6 +58,31 @@ export default {
let
id
=
this
.
$route
.
query
.
id
;
let
id
=
this
.
$route
.
query
.
id
;
this
.
getList
(
id
);
this
.
getList
(
id
);
},
methods
:
{
},
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
)
{
getList
:
function
(
id
)
{
this
.
loading
=
true
this
.
loading
=
true
this
.
apipost
(
'app_customer_GetAlianceCustomerList'
,
{
Id
:
id
},
res
=>
{
this
.
apipost
(
'app_customer_GetAlianceCustomerList'
,
{
Id
:
id
},
res
=>
{
...
...
src/components/administrative/happyMoneyDetails.vue
View file @
003d5c58
...
@@ -161,7 +161,7 @@
...
@@ -161,7 +161,7 @@
<th
v-if=
"hideBtn"
>
操作
</th>
<th
v-if=
"hideBtn"
>
操作
</th>
</tr>
</tr>
<tr
v-for=
"(item, index) in dataList.CustomerList"
>
<tr
v-for=
"(item, index) in dataList.CustomerList"
>
<td>
{{
item
.
CustomerName
}}
<span
v-if=
"item.IsMain == 1"
style=
"color: #E95252"
>
(主)
</span>
</td>
<td>
{{
item
.
CustomerName
}}
</td>
<td>
¥
{{
moneyFormat
(
item
.
TradeMoney
)
}}
</td>
<td>
¥
{{
moneyFormat
(
item
.
TradeMoney
)
}}
</td>
<td>
{{
item
.
TotalGuestNum
}}
人
</td>
<td>
{{
item
.
TotalGuestNum
}}
人
</td>
<td
v-if=
"!hideBtn"
>
¥
{{
moneyFormat
(
item
.
PredictPrice
)
}}
</td>
<td
v-if=
"!hideBtn"
>
¥
{{
moneyFormat
(
item
.
PredictPrice
)
}}
</td>
...
...
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