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
1b3f93c2
Commit
1b3f93c2
authored
Apr 27, 2022
by
罗超
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
3938e9bc
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
308 additions
and
147 deletions
+308
-147
App.vue
src/App.vue
+1
-1
Agreement.vue
src/components/guestManagement/Agreement.vue
+180
-105
customerInfoBox.vue
src/components/guestManagement/customerInfoBox.vue
+0
-1
finance.vue
src/components/guestManagement/finance.vue
+49
-26
guestManagement.vue
src/components/guestManagement/guestManagement.vue
+34
-1
ticketOrder.vue
src/components/guestManagement/ticketOrder.vue
+38
-13
index.vue
src/views/index.vue
+6
-0
No files found.
src/App.vue
View file @
1b3f93c2
...
...
@@ -26,7 +26,7 @@ export default {
<
style
>
@import
"./assets/css/tablevoerride.css"
;
@import
"./assets/global/font.css"
;
@import
"//at.alicdn.com/t/font_1627123_
tcs57r3ak3a
.css"
;
@import
"//at.alicdn.com/t/font_1627123_
ipry94iiny
.css"
;
@import
url("//at.alicdn.com/t/font_1627123_grz80mbm3sv.css")
;
/* @import './assets/css/common.css'; */
@import
"./assets/css/init.css"
;
...
...
src/components/guestManagement/Agreement.vue
View file @
1b3f93c2
This diff is collapsed.
Click to expand it.
src/components/guestManagement/customerInfoBox.vue
View file @
1b3f93c2
...
...
@@ -82,7 +82,6 @@
<p>
{{
detailsData
.
SurName
+
detailsData
.
Name
}}
</p>
</div>
<div
class=
"right"
v-if=
"!hiddenMenu"
>
{{
detailsData
.
IsCreate
}}
<el-button
class=
"crm-btn query-btn"
@
click=
"editCust"
>
编辑
</el-button>
<el-dropdown
@
command=
"handleCommand"
style=
"top: 1px;"
v-if=
"detailsData.IsCreate==1"
>
<el-button
class=
"crm-btn crm-btn-more easy-btn margin-right0"
>
...
...
src/components/guestManagement/finance.vue
View file @
1b3f93c2
...
...
@@ -45,26 +45,32 @@
<
template
>
<div
class=
"Business"
>
<div
class=
"add-Enclosure"
>
<el-row
:gutter=
"1
2
"
>
<el-row
:gutter=
"1
4
"
>
<el-col
:span=
"8"
>
<el-input
size=
"mini"
placeholder=
"输入单号"
v-model=
"msg.FrID"
label=
"单号"
@
keyup
.
enter
.
native=
"getList"
></el-input>
</el-col>
<el-col
:span=
"4"
>
<el-select
size=
"mini"
width=
"200"
v-model=
"msg.Type"
placeholder=
"请选择"
@
change=
"getList"
>
<el-option
v-for=
"item in DocumentTypeList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
></el-option>
</el-select>
<el-col
:span=
"6"
>
<div
style=
"display: flex;flex-direction: row;align-items: center;"
>
<span
class=
"font-size-12"
style=
"padding-right: 10px;flex-shrink: 0;"
>
单据类型:
</span>
<el-select
size=
"mini"
width=
"200"
v-model=
"msg.Type"
placeholder=
"请选择"
@
change=
"getList"
>
<el-option
v-for=
"item in DocumentTypeList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
></el-option>
</el-select>
</div>
</el-col>
<el-col
:span=
"4"
>
<el-select
size=
"mini"
width=
"200"
v-model=
"msg.Status"
placeholder=
"请选择"
@
change=
"getList"
>
<el-option
v-for=
"item in ApprovalStatusList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
></el-option>
</el-select>
<el-col
:span=
"6"
>
<div
style=
"display: flex;flex-direction: row;align-items: center;"
>
<span
class=
"font-size-12"
style=
"padding-right: 10px;flex-shrink: 0;"
>
订单状态:
</span>
<el-select
size=
"mini"
width=
"200"
v-model=
"msg.Status"
placeholder=
"请选择"
@
change=
"getList"
>
<el-option
v-for=
"item in ApprovalStatusList"
:key=
"item.Id"
:label=
"item.Name"
:value=
"item.Id"
></el-option>
</el-select>
</div>
</el-col>
</el-row>
</div>
...
...
@@ -85,6 +91,13 @@
<p
@
click=
"openDetails(scope.row)"
class=
"font-color-link cp"
>
{{
scope
.
row
.
FrID
}}
</p>
</
template
>
</el-table-column>
<el-table-column
label=
"单据类型"
show-overflow-tooltip
:width=
"80"
>
<
template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
Type
==
1
?
'收入'
:(
scope
.
row
.
Type
==
2
?
'支出'
:
'不限'
)
}}
</p>
</
template
>
</el-table-column>
<el-table-column
fixed
label=
"费用类型"
...
...
@@ -95,28 +108,38 @@
</p>
</
template
>
</el-table-column>
<el-table-column
label=
"单据类型"
show-overflow-tooltip
:width=
"80"
>
<
template
slot-scope=
"scope"
>
<p>
{{
scope
.
row
.
Type
==
1
?
'收入'
:(
scope
.
row
.
Type
==
2
?
'支出'
:
'不限'
)
}}
</p>
</
template
>
</el-table-column>
<el-table-column
label=
"金额"
show-overflow-tooltip
>
show-overflow-tooltip
width=
"120"
>
<
template
slot-scope=
"scope"
>
<p>
应付:
{{
scope
.
row
.
Money
}}
</p>
<p>
实收:
{{
scope
.
row
.
PayMoney
}}
</p>
<p>
{{
scope
.
row
.
Type
==
1
?
'应收:'
:(
scope
.
row
.
Type
==
2
?
'应付:'
:
''
)
}}
{{
scope
.
row
.
Money
}}
</p>
<p>
{{
scope
.
row
.
Type
==
1
?
'实收:'
:(
scope
.
row
.
Type
==
2
?
'实付:'
:
''
)
}}
{{
scope
.
row
.
PayMoney
}}
</p>
</
template
>
</el-table-column>
<el-table-column
label=
"付款对象"
show-overflow-tooltip
>
show-overflow-tooltip
width=
"120"
>
<
template
slot-scope=
"scope"
>
{{
scope
.
row
.
Type
==
2
?
scope
.
row
.
ClientTypeName
+
':'
:
'汇款人:'
}}{{
scope
.
row
.
RemitterName
}}
</
template
>
</el-table-column>
<el-table-column
label=
"交易方式"
show-overflow-tooltip
:width=
"200"
>
<
template
slot-scope=
"scope"
>
<div
class=
"_TradeWayList"
v-for=
"(item,index) in scope.row.TradeWayList"
:key=
"index"
style=
"line-height: normal !important;padding: 5px 10px;background-color: #EEEEEE;border-radius: 4px;margin: 10px 0;width:230px"
>
<p><span
style=
"font-weight: bold;color:#333333"
>
{{
item
.
Alias
}}
</span>
<span
class=
"_bank_name"
style=
"height:20px;;display: inline-block;background-color: #333333;color: white;padding: 2px 4px;border-radius: 4px;margin-left:10px;margin-letf:10px"
>
{{
scope
.
row
.
TradeWayList
[
0
].
TypeName
}}
</span><span
style=
"height:20px;display: inline-block;background-color: #333333;color: white;padding: 2px 4px;border-radius: 4px;margin-left:10px;"
:style=
"
{'background-color':item.AccountType=='私'?'#2AAEF2':'#FF9C01'}">
{{
item
.
AccountType
==
""
?
'无'
:
item
.
AccountType
}}
</span>
</p>
<p
style=
"color:#333333"
>
{{
item
.
BankNo
}}
</p>
</div>
</
template
>
</el-table-column>
<el-table-column
label=
"制单人员"
show-overflow-tooltip
:width=
"80"
>
...
...
src/components/guestManagement/guestManagement.vue
View file @
1b3f93c2
...
...
@@ -60,6 +60,14 @@
</el-select>
</el-popover>
</el-col>
<el-col
:span=
"4"
>
<div
style=
"display: flex;flex-direction: row;align-items: center;"
>
<span
class=
"font-size-12"
style=
"padding-right: 10px;flex-shrink: 0;"
>
状态:
</span>
<el-select
size=
"mini"
width=
"100"
v-model=
"msg.Q_TOrderState"
@
change=
"getList"
>
<el-option
v-for=
"(item,index) in transactionStatusList"
:key=
"index"
:label=
"item.Name"
:value=
"item.Id"
>
</el-option>
</el-select>
</div>
</el-col>
<el-col
:span=
"4"
>
<el-button
icon=
"iconfont iconshaixuan"
class=
"crm-btn query-btn crm-btn-mini margin-right0"
@
click=
"MsgBus.$emit('sceneBoxShow', 5)"
>
高级筛选
</el-button>
...
...
@@ -115,12 +123,21 @@
</el-table-column>
<el-table-column
prop=
"TraveNum"
label=
"参团数"
sortable
v-if=
"queryType[4].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"TOrderNum"
label=
"机票数"
sortable
v-if=
"queryType[34].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"TOrderMoney"
label=
"机票金额"
sortable
v-if=
"queryType[35].show"
show-overflow-tooltip
>
</el-table-column>
<el-table-column
prop=
"OrderCount"
label=
"订单交易数"
sortable
v-if=
"queryType[24].show"
show-overflow-tooltip
>
</el-table-column>
<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"
>
{{
scope
.
row
.
TOrderState
==
1
?
"未成交"
:(
scope
.
row
.
TOrderState
==
2
?
"成交"
:
scope
.
row
.
TOrderState
==
3
?
"多次成交"
:
''
)
}}
</
template
>
</el-table-column>
<el-table-column
prop=
"BirthdayAddress"
label=
"出生地点"
sortable
v-if=
"queryType[28].show"
show-overflow-tooltip
>
</el-table-column>
...
...
@@ -267,6 +284,12 @@
},
data
()
{
return
{
transactionStatusList
:[
{
Name
:
"全部"
,
Id
:
"0"
},
{
Name
:
"未成交"
,
Id
:
"1"
},
{
Name
:
"成交"
,
Id
:
"2"
},
{
Name
:
"多次成交"
,
Id
:
"3"
},
],
ruleList
:
[],
queryType2
:
[{
label
:
"客户名称"
,
...
...
@@ -464,7 +487,16 @@
},
{
label
:
"微信号"
,
show
:
true
,
},
],
},
{
label
:
"机票数"
,
show
:
true
,
},
{
label
:
"机票金额"
,
show
:
true
,
},
{
label
:
"状态"
,
show
:
true
,
},],
CustomerId
:
0
,
CustomerIdStr
:
""
,
transferVisible
:
false
,
...
...
@@ -490,6 +522,7 @@
WhereType
:
-
1
,
OrderBy
:
""
,
ID
:
36
,
Q_TOrderState
:
"0"
},
total
:
0
,
WhereTypeList
:
[{
...
...
src/components/guestManagement/ticketOrder.vue
View file @
1b3f93c2
...
...
@@ -190,7 +190,7 @@
<el-form
:model=
"form"
ref=
"form"
class=
"MyEditForm"
:rules=
"rules"
>
<p
class=
"form-box-tit"
v-if=
"name!='操作日志'"
><span
class=
"radius"
></span>
{{
name
!=
'修改出票状态'
?
' 基本信息'
:
' 上传'
+
text
+
'凭证'
}}
</p>
<el-row
:gutter=
"30"
v-if=
"name=='新建机票订单'"
>
<el-row
:gutter=
"30"
v-if=
"name=='新建机票订单'
||name=='编辑机票订单'
"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"预计人数"
prop=
"GuestCount"
>
...
...
@@ -214,7 +214,7 @@
</el-col>
</el-row>
<el-row
:gutter=
"30"
v-if=
"name=='新建机票订单'||name=='编辑订单金额'"
>
<el-row
:gutter=
"30"
v-if=
"name=='新建机票订单'||name=='编辑订单金额'
||name=='编辑机票订单'
"
>
<el-col
:span=
"8"
>
<div
class=
"MyEditForm-item"
>
<el-form-item
label=
"报价金额"
prop=
"Money"
>
...
...
@@ -223,10 +223,10 @@
</div>
</el-col>
</el-row>
<el-row
v-if=
"name=='新建机票订单'||name=='编辑订单金额'"
>
<el-row
v-if=
"name=='新建机票订单'||name=='编辑订单金额'
||name=='编辑机票订单'
"
>
<el-col
:span=
"24"
>
<div
class=
"MyEditForm-item label-pad-left"
>
<el-form-item
v-if=
"name=='新建机票订单'"
label=
"备注"
>
<el-form-item
v-if=
"name=='新建机票订单'
||name=='编辑机票订单'
"
label=
"备注"
>
<el-input
type=
"textarea"
placeholder=
"订单备注"
v-model=
"form.Remark"
></el-input>
</el-form-item>
<el-form-item
v-if=
"name=='编辑订单金额'"
label=
"备注"
prop=
"Remark"
>
...
...
@@ -432,6 +432,17 @@ export default {
},
mounted
()
{
this
.
form
.
GuestId
=
this
.
GuestId
if
(
this
.
name
==
"编辑机票订单"
){
this
.
form
=
{
GuestId
:
this
.
GuestId
,
OrderId
:
this
.
obj
.
OrderId
,
GuestCount
:
this
.
obj
.
GuestCount
,
StartCityName
:
this
.
obj
.
StartCityName
,
EndCityName
:
this
.
obj
.
EndCityName
,
Money
:
this
.
obj
.
Money
,
Remark
:
this
.
obj
.
Remark
,
}
}
if
(
this
.
obj
.
TicketStatus
==
1
){
this
.
text
=
'出票'
}
...
...
@@ -542,14 +553,28 @@ export default {
},
// 新增订单
addData
()
{
let
data
=
{
OrderId
:
this
.
form
.
OrderId
,
GuestId
:
this
.
form
.
GuestId
,
GuestCount
:
this
.
form
.
GuestCount
,
StartCityName
:
this
.
form
.
StartCityName
,
EndCityName
:
this
.
form
.
EndCityName
,
Money
:
this
.
form
.
Money
,
Remark
:
this
.
form
.
Remark
,
let
data
if
(
this
.
name
==
'新建机票订单'
){
data
=
{
OrderId
:
this
.
form
.
OrderId
,
GuestId
:
this
.
form
.
GuestId
,
GuestCount
:
this
.
form
.
GuestCount
,
StartCityName
:
this
.
form
.
StartCityName
,
EndCityName
:
this
.
form
.
EndCityName
,
Money
:
this
.
form
.
Money
,
Remark
:
this
.
form
.
Remark
,
}
}
if
(
this
.
name
==
'编辑机票订单'
){
data
=
{
OrderId
:
this
.
form
.
OrderId
,
GuestId
:
this
.
form
.
GuestId
,
GuestCount
:
this
.
form
.
GuestCount
,
StartCityName
:
this
.
form
.
StartCityName
,
EndCityName
:
this
.
form
.
EndCityName
,
Money
:
this
.
form
.
Money
,
Remark
:
this
.
form
.
Remark
,
}
}
this
.
apipost
(
"/api/Order/SetGuestOrderInfo"
,
data
,
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -565,7 +590,7 @@ export default {
},
submitForm
(
addMsg
)
{
//提交创建、修改表单
if
(
this
.
name
==
'新建机票订单'
){
if
(
this
.
name
==
'新建机票订单'
||
this
.
name
==
'编辑机票订单'
){
this
.
$refs
[
addMsg
].
validate
((
valid
)
=>
{
if
(
valid
)
{
this
.
addData
();
...
...
src/views/index.vue
View file @
1b3f93c2
...
...
@@ -321,6 +321,12 @@
$this
.
obj
=
obj
;
$this
.
dialogTicketOrderVisible
=
true
;
});
this
.
MsgBus
.
$on
(
"editOrderTicketOrderBoxOpen"
,
function
(
GuestId
,
obj
)
{
$this
.
dialogTicketOrderVisibleName
=
"编辑机票订单"
;
$this
.
GuestId
=
GuestId
;
$this
.
obj
=
obj
;
$this
.
dialogTicketOrderVisible
=
true
;
});
this
.
MsgBus
.
$on
(
"reviseTicketOrderBoxOpen"
,
function
(
GuestId
,
obj
)
{
$this
.
dialogTicketOrderVisibleName
=
"修改出票状态"
;
$this
.
GuestId
=
GuestId
;
...
...
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