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
f86b3a7b
Commit
f86b3a7b
authored
Mar 07, 2019
by
huangyuanyuan
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
散卖机票订单
parent
8981d06e
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
1063 additions
and
10 deletions
+1063
-10
BulkAirTicketOrders.vue
src/components/SalesModule/BulkAirTicketOrders.vue
+980
-0
IndividualTicketOrder.vue
src/components/Ticketing/IndividualTicketOrder.vue
+62
-1
IndividualTicketOrderDetails.vue
src/components/Ticketing/IndividualTicketOrderDetails.vue
+7
-5
payURL.vue
src/components/commonPage/payURL.vue
+4
-4
index.js
src/plug/index.js
+1
-0
config.js
src/router/config.js
+9
-0
No files found.
src/components/SalesModule/BulkAirTicketOrders.vue
0 → 100644
View file @
f86b3a7b
This diff is collapsed.
Click to expand it.
src/components/Ticketing/IndividualTicketOrder.vue
View file @
f86b3a7b
...
@@ -13,6 +13,35 @@
...
@@ -13,6 +13,35 @@
<em>
订单号
</em><el-input
v-model=
'msg.AirOrderId'
class=
'w150'
></el-input>
<em>
订单号
</em><el-input
v-model=
'msg.AirOrderId'
class=
'w150'
></el-input>
</span>
</span>
</li>
</li>
<li>
<span>
<em>
报名公司
</em>
<el-select
class=
"w200"
v-model=
"msg.RB_Branch_Id"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
"不限"
:value=
"-1"
></el-option>
<el-option
v-for=
"item in companyList"
:label=
'item.BName'
:value=
'item.Id'
:key=
'item.Id'
></el-option>
</el-select>
</span>
</li>
<li>
<span>
<em>
人员选择
</em>
</span>
<el-select
class=
"w200"
v-model=
"msg.EnterID"
filterable
:placeholder=
"$t('pub.pleaseSel')"
>
<el-option
label=
"不限"
value=
"-1"
></el-option>
<el-option
v-for=
"item in employeeList"
:label=
"item.name"
:value=
"item.empId"
:key=
"item.empId"
></el-option>
</el-select>
</li>
<li>
<li>
<span>
<span>
<em>
状态
</em>
<em>
状态
</em>
...
@@ -195,10 +224,42 @@ export default {
...
@@ -195,10 +224,42 @@ export default {
loading
:
false
,
loading
:
false
,
total
:
0
,
total
:
0
,
currentPage
:
1
,
currentPage
:
1
,
companyList
:[],
employeeList
:[],
};
};
},
},
components
:
{},
components
:
{},
created
(){
this
.
getEmployee
();
this
.
getCompanyList
();
},
methods
:
{
methods
:
{
getEmployee
()
{
this
.
apipost
(
"app_get_company_employee"
,
this
.
employeeMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
employeeList
=
res
.
data
.
data
;
}
},
err
=>
{}
);
},
getCompanyList
()
{
let
userInfo
=
this
.
getLocalStorage
();
let
RB_Group_id
=
userInfo
.
RB_Group_id
;
let
msg
=
{
Status
:
0
,
is_show
:
0
,
RB_Group_Id
:
RB_Group_id
}
this
.
apipost
(
'admin_get_BranchGetList'
,
msg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
companyList
=
res
.
data
.
data
;
}
},
err
=>
{})
},
goUrl
:
function
(
name
,
path
,
id
)
{
goUrl
:
function
(
name
,
path
,
id
)
{
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
blank
:
'y'
,
tab
:
name
}
});
this
.
$router
.
push
({
name
:
path
,
query
:
{
id
:
id
,
blank
:
'y'
,
tab
:
name
}
});
},
},
...
@@ -218,7 +279,7 @@ export default {
...
@@ -218,7 +279,7 @@ export default {
res
=>
{
res
=>
{
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
console
.
log
(
res
);
//
console.log(res);
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
this
.
dataList
=
res
.
data
.
data
.
pageData
;
}
else
{
}
else
{
...
...
src/components/Ticketing/IndividualTicketOrderDetails.vue
View file @
f86b3a7b
...
@@ -4,14 +4,16 @@
...
@@ -4,14 +4,16 @@
<!-- 信息 -->
<!-- 信息 -->
<div
class=
"AirModel"
>
<div
class=
"AirModel"
>
<el-row>
<el-row>
<el-col
:span=
"
8
"
>
<el-col
:span=
"
7
"
>
<p>
{{
AirModel
.
AirlineName
}}
</p>
<p>
{{
AirModel
.
AirlineName
}}
</p>
<p><el-button
type=
"primary"
size=
"mini"
>
{{
AirModel
.
FreightSpaceStr
}}
</el-button></p>
<p><el-button
type=
"primary"
size=
"mini"
>
{{
AirModel
.
FreightSpaceStr
}}
</el-button></p>
</el-col>
</el-col>
<el-col
:span=
"1
5
"
>
<el-col
:span=
"1
7
"
>
<p
v-for=
"item in AirModel.flightList"
:key=
"item.Flight_number"
>
<p
v-for=
"item in AirModel.flightList"
:key=
"item.Flight_number"
>
<span
class=
"air"
>
{{
item
.
Flight_number
}}
</span>
<span
class=
"air"
>
{{
item
.
Flight_number
}}
</span>
<span>
{{
item
.
FlightDate
}}
{{
item
.
Departure_time
}}{{
item
.
DepartureName
}}
-
{{
item
.
AIATA
}}{{
item
.
ArrivalCityName
}}
</span>
<span>
{{
item
.
FlightDate
}}
{{
item
.
Departure_time
}}
(
{{
item
.
DIATA
}}
)
{{
item
.
DepartureName
}}
<span
v-if=
"item.StopoverName"
>
-(
{{
item
.
StopoverIATA
}}
)
{{
item
.
StopoverName
}}
</span>
<span
v-if=
"item.ArrivalCityName"
>
- (
{{
item
.
AIATA
}}
)
{{
item
.
ArrivalCityName
}}
</span></span>
</p>
</p>
</el-col>
</el-col>
</el-row>
</el-row>
...
@@ -298,7 +300,7 @@ export default {
...
@@ -298,7 +300,7 @@ export default {
"ticket_get_GetScatteringOrderForAirTicketList"
,
"ticket_get_GetScatteringOrderForAirTicketList"
,
this
.
msg
,
this
.
msg
,
res
=>
{
res
=>
{
console
.
log
(
res
);
//
console.log(res);
this
.
loading
=
false
;
this
.
loading
=
false
;
if
(
res
.
data
.
resultCode
==
1
)
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
total
=
res
.
data
.
data
.
count
;
this
.
total
=
res
.
data
.
data
.
count
;
...
@@ -328,7 +330,7 @@ export default {
...
@@ -328,7 +330,7 @@ export default {
}
}
.AirModel
{
.AirModel
{
font-size
:
14px
;
font-size
:
14px
;
width
:
5
0
0px
;
width
:
5
6
0px
;
margin-bottom
:
15px
;
margin-bottom
:
15px
;
font-weight
:
400
;
font-weight
:
400
;
padding
:
6px
;
padding
:
6px
;
...
...
src/components/commonPage/payURL.vue
View file @
f86b3a7b
...
@@ -132,17 +132,17 @@
...
@@ -132,17 +132,17 @@
}
else
if
(
this
.
value
===
'3'
)
{
}
else
if
(
this
.
value
===
'3'
)
{
this
.
visible
=
false
this
.
visible
=
false
let
orderObj
=
{
let
orderObj
=
{
OrderID
:
obj
.
orderId
,
OrderID
:
obj
.
orderId
,
//订单号
OrderSource
:
8
,
OrderSource
:
8
,
//12
Obj
:
{},
Obj
:
{},
SourceID
:
obj
.
ID
,
SourceID
:
obj
.
ID
,
//机票id
TCIDList
:
TCIDARR
TCIDList
:
TCIDARR
}
}
this
.
$router
.
push
({
this
.
$router
.
push
({
name
:
'ChoiceAddFinancialDocuments'
,
name
:
'ChoiceAddFinancialDocuments'
,
query
:{
query
:{
"Type"
:
2
,
"Type"
:
2
,
"companyID"
:
obj
.
outBranchId
,
"companyID"
:
obj
.
outBranchId
,
//公司id
"path"
:
""
,
"path"
:
""
,
'blank'
:
'y'
,
'blank'
:
'y'
,
'orderObj'
:
JSON
.
stringify
(
orderObj
)
'orderObj'
:
JSON
.
stringify
(
orderObj
)
...
...
src/plug/index.js
View file @
f86b3a7b
...
@@ -116,6 +116,7 @@ export default {
...
@@ -116,6 +116,7 @@ export default {
let
domainUrl
=
''
;
let
domainUrl
=
''
;
let
locationName
=
window
.
location
.
hostname
;
let
locationName
=
window
.
location
.
hostname
;
domainUrl
=
"http://192.168.2.214:8082"
;
//214主域名
domainUrl
=
"http://192.168.2.214:8082"
;
//214主域名
// domainUrl = "http://192.168.2.16:8083";
if
(
locationName
.
indexOf
(
'oytour'
)
!==-
1
)
{
if
(
locationName
.
indexOf
(
'oytour'
)
!==-
1
)
{
domainUrl
=
"http://webapi.viitto.com"
;
domainUrl
=
"http://webapi.viitto.com"
;
}
}
...
...
src/router/config.js
View file @
f86b3a7b
...
@@ -1866,6 +1866,15 @@ export default {
...
@@ -1866,6 +1866,15 @@ export default {
title
:
'机票订单'
title
:
'机票订单'
},
},
},
},
{
// 销售 散卖机票订单
path
:
'/BulkAirTicketOrders'
,
name
:
'BulkAirTicketOrders'
,
component
:
resolve
=>
require
([
'@/components/SalesModule/BulkAirTicketOrders'
],
resolve
),
meta
:
{
title
:
'散卖机票订单'
},
},
{
// 销售 报名统计
{
// 销售 报名统计
path
:
'/enrollTotal'
,
path
:
'/enrollTotal'
,
name
:
'enrollTotal'
,
name
:
'enrollTotal'
,
...
...
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