Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
C
CRM
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
华国豪
CRM
Commits
637e60bb
Commit
637e60bb
authored
Apr 29, 2022
by
黄奎
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'master' of
http://gitlab.oytour.com/huaguohao/crm
parents
5eb4ddae
59fc9e24
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
35 additions
and
12 deletions
+35
-12
orderList.vue
src/components/customerManage/orderList.vue
+20
-3
guestManagement.vue
src/components/guestManagement/guestManagement.vue
+15
-9
No files found.
src/components/customerManage/orderList.vue
View file @
637e60bb
...
...
@@ -63,7 +63,9 @@
<p
class=
"CreateByName-text"
>
业务员:
<span
class=
"colorblue"
>
{{
item
.
EnterName
}}
</span></p>
<p>
{{
item
.
CreateTime
}}
</p>
</td>
<td
style=
"border:none"
min-width=
"6.5%"
>
{{
item
.
GuestName
}}
<td
style=
"border:none"
min-width=
"6.5%"
>
<p
class=
"colorblue font-color-link"
@
click=
"openNameDetails(item)"
>
{{
item
.
GuestName
}}
</p>
<p>
{{
item
.
MobilePhone
}}
</p>
</td>
<td
style=
"border:none"
>
{{
item
.
GuestCount
}}
人
</td>
...
...
@@ -213,14 +215,18 @@
<!--取消订单-->
</table>
</div>
<el-drawer
:with-header=
"false"
size=
'70%'
:visible
.
sync=
"drawer"
direction=
"rtl"
:before-close=
"handleClose"
>
<customerInfoBox
:CustomerId=
"CustomerId"
/>
</el-drawer>
</div>
</template>
<
script
>
import
customerInfoBox
from
"../guestManagement/customerInfoBox"
;
export
default
{
components
:
{
customerInfoBox
},
props
:
{
//订单
...
...
@@ -242,7 +248,10 @@
{
Name
:
'修改出票状态'
,
Id
:
'4'
},
{
Name
:
'操作日志'
,
Id
:
'3'
},
],
clickMore
:
''
clickMore
:
''
,
drawer
:
false
,
CustomerId
:
''
,
CustomerName
:
''
};
},
created
()
{
...
...
@@ -260,6 +269,14 @@
this
.
userInfo
=
this
.
getLocalStorage
();
},
methods
:
{
handleClose
(
done
)
{
done
();
},
openNameDetails
(
item
)
{
this
.
drawer
=
true
;
this
.
CustomerId
=
item
.
GuestId
;
this
.
CustomerName
=
item
.
GuestName
;
},
// 查看出票凭据
viewCredentials
(
row
){
let
$this
=
this
;
...
...
src/components/guestManagement/guestManagement.vue
View file @
637e60bb
...
...
@@ -10,7 +10,7 @@
<div
class=
"tools"
>
<h1>
直客管理
</h1>
<div
style=
"width: 340px;"
>
<el-input
placeholder=
"请输入直客名称/手机号"
v-model=
"msg.
GusetName
"
class=
"input-with-select"
>
<el-input
placeholder=
"请输入直客名称/手机号"
v-model=
"msg.
KeyWord
"
class=
"input-with-select"
>
<el-button
slot=
"append"
icon=
"el-icon-search"
@
click=
"getList"
></el-button>
</el-input>
</div>
...
...
@@ -101,6 +101,19 @@
:height=
"sceneList.length > 0 ? '600' : '660'"
border
row-class-name=
"font-size-12"
@
selection-change=
"handleSelectionChange"
>
<el-table-column
fixed
type=
"selection"
width=
"40"
></el-table-column>
<el-table-column
label=
"状态"
sortable
v-if=
"queryType[36].show"
width=
"100"
>
<template
slot-scope=
"scope"
>
<span
:style=
"
{color:scope.row.TOrderState==2||scope.row.TOrderState==3?'#20B559':'#F95A5A'}">
<i
class=
"iconfont"
:style=
"
{color:scope.row.TOrderState==2||scope.row.TOrderState==3?'#20B559':'#F95A5A'}"
:class="scope.row.TOrderState==1?'iconshibai':'iconchenggong'">
</i>
{{
scope
.
row
.
TOrderState
==
1
?
"未成交"
:
(
scope
.
row
.
TOrderState
==
2
?
"成交"
:
scope
.
row
.
TOrderState
==
3
?
"多次成交"
:
''
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
fixed
prop=
"GusetName"
label=
"客户名称"
width=
"120"
v-if=
"queryType[0].show"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
...
...
@@ -135,13 +148,6 @@
<el-table-column
prop=
"OrderMoney"
label=
"交易金额"
sortable
v-if=
"queryType[25].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
label=
"状态"
sortable
v-if=
"queryType[36].show"
show-overflow-tooltip
>
<
template
slot-scope=
"scope"
>
<span
:style=
"
{color:scope.row.TOrderState==1?'gray':(scope.row.TOrderState==2?'':'red')}">
{{
scope
.
row
.
TOrderState
==
1
?
"未成交"
:(
scope
.
row
.
TOrderState
==
2
?
"成交"
:
scope
.
row
.
TOrderState
==
3
?
"多次成交"
:
''
)
}}
</span>
</
template
>
</el-table-column>
<el-table-column
prop=
"BirthdayAddress"
label=
"出生地点"
sortable
v-if=
"queryType[28].show"
show-overflow-tooltip
>
</el-table-column>
...
...
@@ -530,7 +536,7 @@
EmpId
:
""
,
},
msg
:
{
GusetName
:
""
,
KeyWord
:
""
,
pageIndex
:
1
,
pageSize
:
30
,
ContactNumber
:
""
,
...
...
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