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
01d31790
Commit
01d31790
authored
Aug 08, 2024
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
新增机票订单线路
parent
2e596356
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
66 additions
and
8 deletions
+66
-8
ticketOrder.vue
src/components/guestManagement/ticketOrder.vue
+66
-8
No files found.
src/components/guestManagement/ticketOrder.vue
View file @
01d31790
...
...
@@ -611,13 +611,19 @@
:disabled="visaShow"></el-input>
</el-form-item>
</div> -->
<div
class=
"MultipleChoice-right-box"
<div
class=
"MultipleChoice-right-box"
style=
"display: flex;"
:class=
"groundShow?'active':''"
>
<el-form-item
label=
"地接金额"
prop=
"DiJieMoney"
>
<el-form-item
label=
"地接金额"
prop=
"DiJieMoney"
style=
"width: 50%;"
>
<el-input
placeholder=
"请输入地接金额"
onkeyup=
"this.value=this.value.replace(/[^\d.]/g,'');"
v-model=
"form.DiJieMoney"
:disabled=
"groundShow"
></el-input>
</el-form-item>
<el-form-item
v-if=
"checkList.indexOf('3')!=-1"
label=
"线路"
prop=
"LineId"
style=
"width: 50%;"
>
<el-select
size=
"mini"
v-model=
"form.LineId"
@
change=
"handleCurrentLine"
>
<el-option
v-for=
"(item,index) in LineList"
:key=
"index"
:label=
"item.LineName"
:value=
"item.LineID"
>
</el-option>
</el-select>
</el-form-item>
</div>
<div
class=
"combo-box MultipleChoice-right-box"
:class=
"comboShow?'active':''"
>
...
...
@@ -724,6 +730,13 @@
:disabled=
"groundShow"
></el-input>
</el-form-item>
</div>
<div
v-if=
"!groundShow"
class=
"combo-center"
:class=
"groundShow?'active':''"
>
<el-form-item
label=
"线路"
prop=
""
>
<br/>
{{form.LineName}}
</el-form-item>
</div>
<div
class=
"combo-center"
:class=
"groundShow?'active':''"
>
<el-form-item
label=
"备注"
prop=
""
>
...
...
@@ -1565,6 +1578,8 @@
LossGroundMoney
:
null
,
LossVisaMoney
:
null
,
LossAirTicketMoney
:
null
,
LineId
:
''
,
LineName
:
''
,
//线路
},
BusinessStatusEnum
:
[],
rules
:
{
...
...
@@ -1656,6 +1671,11 @@
message
:
"请输入地接收损金额"
,
trigger
:
"blur"
}],
LineId
:
[{
required
:
true
,
message
:
"请选择线路"
,
trigger
:
"change"
}],
LossComboMoney
:
[{
required
:
true
,
message
:
"请输入套餐收损金额"
,
...
...
@@ -1778,6 +1798,7 @@
}
},
mounted
()
{
this
.
getLineList
()
let
$this
=
this
;
setTimeout
(()
=>
{
$this
.
dialogTableVisible
=
true
;
...
...
@@ -1866,6 +1887,8 @@
MealDescription
:
this
.
obj
.
MealDescription
,
Remark
:
this
.
obj
.
Remark
,
DepartTime
:
this
.
obj
.
DepartTime
,
LineId
:
this
.
obj
.
LineId
?
this
.
obj
.
LineId
:
''
,
LineName
:
this
.
obj
.
LineName
,
}
}
if
(
this
.
name
==
'凭证图'
)
{
...
...
@@ -1936,6 +1959,30 @@
},
methods
:
{
handleCurrentLine
(){
let
findIndex
=
this
.
LineList
.
findIndex
(
x
=>
x
.
LineID
==
this
.
form
.
LineId
)
console
.
log
(
findIndex
,
'--000'
)
this
.
form
.
LineName
=
findIndex
.
LineName
},
getLineList
()
{
this
.
apipost2
(
"line_post_GetAllList"
,
{
LineDirection
:
0
,
},
(
res
)
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
LineList
=
res
.
data
.
data
;
// let data = {
// LineName: "不限",
// LineID: "0",
// };
// this.LineList.unshift(data);
}
else
{
this
.
$message
.
error
(
res
.
data
.
message
);
}
}
);
},
// 订单收损情况
GetOrderLossInfo
(){
let
data
=
{
...
...
@@ -2474,12 +2521,21 @@
});
return
}
if
(
this
.
checkList
.
indexOf
(
'3'
)
!=
-
1
&&
this
.
form
.
DiJieMoney
<=
0
)
{
this
.
$message
({
type
:
'warning'
,
message
:
'地接金额请输入大于0的金额!'
});
return
if
(
this
.
checkList
.
indexOf
(
'3'
)
!=
-
1
)
{
if
(
this
.
form
.
DiJieMoney
<=
0
){
this
.
$message
({
type
:
'warning'
,
message
:
'地接金额请输入大于0的金额!'
});
return
}
if
(
!
this
.
form
.
LineId
){
this
.
$message
({
type
:
'warning'
,
message
:
'请选择线路'
});
return
}
}
if
(
this
.
checkList
.
indexOf
(
'4'
)
!=
-
1
&&
this
.
form
.
MealMoney
<=
0
)
{
this
.
$message
({
...
...
@@ -2509,6 +2565,8 @@
DiJieMoney
:
this
.
form
.
DiJieMoney
,
//地接应收
MealMoney
:
this
.
form
.
MealMoney
,
//套餐应收
DepartTime
:
this
.
form
.
DepartTime
,
//出发日期
LineId
:
this
.
form
.
LineId
,
LineName
:
this
.
form
.
LineName
,
//线路
}
this
.
clickShow
=
true
this
.
apipost
(
"/api/Order/SetGuestOrderMoney"
,
data
,
(
res
)
=>
{
...
...
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