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
78f2e106
Commit
78f2e106
authored
Feb 21, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
766f9089
Show whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
34 additions
and
20 deletions
+34
-20
addEditVehicle.vue
src/components/busManagement/BookAcar/addEditVehicle.vue
+26
-13
tripBusOrderList.vue
...ts/busManagement/BookAcar/components/tripBusOrderList.vue
+8
-7
No files found.
src/components/busManagement/BookAcar/addEditVehicle.vue
View file @
78f2e106
<
style
scoped
>
/
deep
/
.el-form-item
{
margin-bottom
:
0
;
}
.image-slot
{
height
:
100%
;
display
:
flex
;
...
...
@@ -388,6 +391,11 @@
</el-form-item>
</
template
>
</el-table-column>
<el-table-column
label=
"操作"
min-width=
"180"
>
<
template
slot-scope=
"scope"
>
<el-button
size=
"small"
type=
"primary"
@
click=
"deleteLine(props.$index)"
>
删除
</el-button>
</
template
>
</el-table-column>
</el-table>
</div>
</div>
...
...
@@ -490,67 +498,67 @@
rules
:{
UseCompName
:
[{
required
:
true
,
message
:
'请输入订车单位'
,
//
message: '请输入订车单位',
trigger
:
'blur'
}],
UseName
:
[{
required
:
true
,
message
:
'请输入订车人名称'
,
//
message: '请输入订车人名称',
trigger
:
'blur'
}],
PickUpInfo
:
[{
required
:
true
,
message
:
'请输入接机信息'
,
//
message: '请输入接机信息',
trigger
:
'blur'
}],
GoFlightInfo
:
[{
required
:
true
,
message
:
'请输入去程航班'
,
//
message: '请输入去程航班',
trigger
:
'change'
}],
BackFlightInfo
:
[{
required
:
true
,
message
:
'请输入回程航班'
,
//
message: '请输入回程航班',
trigger
:
'blur'
}],
PeopleNum
:
[{
required
:
true
,
message
:
'请输入用车人数'
,
//
message: '请输入用车人数',
trigger
:
'blur'
}],
UseDayNum
:
[{
required
:
true
,
message
:
'请输入行程天数'
,
//
message: '请输入行程天数',
trigger
:
'blur'
}],
StartDate
:[{
required
:
true
,
message
:
'请选择开始日期'
,
//
message: '请选择开始日期',
trigger
:
'change'
}],
BusType
:
[{
required
:
true
,
message
:
'请选择用车类型'
,
//
message: '请选择用车类型',
trigger
:
'change'
}],
GuideInfo
:
[{
required
:
true
,
message
:
'请输入导游信息'
,
//
message: '请输入导游信息',
trigger
:
'blur'
}],
TeamName
:
[{
required
:
true
,
message
:
'请输入团队信息'
,
//
message: '请输入团队信息',
trigger
:
'blur'
}],
UseType
:
[{
required
:
true
,
message
:
'请选择用车类型'
,
//
message: '请选择用车类型',
trigger
:
'change'
}],
TripInfo
:
[{
required
:
true
,
message
:
'请输入行程信息'
,
//
message: '请输入行程信息',
trigger
:
'blur'
}],
},
...
...
@@ -563,6 +571,11 @@
};
},
methods
:
{
// 删除
deleteLine
(
index
){
this
.
msg
.
details
.
details
.
splice
(
index
,
1
)
this
.
msg
.
details
.
UseDayNum
=
this
.
msg
.
details
.
details
.
length
},
checkInteger
()
{
let
that
=
this
if
(
this
.
msg
.
UseDayNum
<
this
.
msg
.
details
.
length
){
...
...
src/components/busManagement/BookAcar/components/tripBusOrderList.vue
View file @
78f2e106
...
...
@@ -719,7 +719,7 @@
</div>
</el-dialog>
<!-- 报价 -->
<el-dialog
custom-class=
'addCompany'
:title=
"dialogTitle"
:visible
.
sync=
"isShowPrice"
center
>
<el-dialog
custom-class=
'addCompany'
:title=
"dialogTitle"
:visible
.
sync=
"isShowPrice"
center
min-width=
"1000"
>
<span
style=
"font-weight: bold;font-size: 16px;
display: inline-block;
margin-bottom: 20px;"
>
...
...
@@ -985,6 +985,9 @@
};
},
watch
:
{
postMsg
(
val
,
oldval
){
this
.
calcPrice
()
},
pagesTitle
(
val
,
oldval
){
this
.
Title
=
val
},
...
...
@@ -1253,10 +1256,9 @@
if
(
this
.
postMsg
.
ShouPeiFee
)
{
tempTotalPrice
+=
Number
(
this
.
postMsg
.
ShouPeiFee
);
}
setTimeout
(()
=>
{
this
.
postMsg
.
TotalPrice
=
tempTotalPrice
.
toFixed
(
2
);
},
500
)
this
.
$nextTick
(()
=>
{
this
.
postMsg
.
TotalPrice
=
(
tempTotalPrice
+
this
.
totalMoney
).
toFixed
(
2
);
})
},
// 合计列
getSummaries
(
param
)
{
...
...
@@ -1274,7 +1276,6 @@
const
value
=
Number
(
curr
);
if
(
!
isNaN
(
value
)
&&
index
==
7
)
{
this
.
totalMoney
=
prev
+
curr
this
.
postMsg
.
TotalPrice
=
this
.
postMsg
.
TotalPrice
+
this
.
totalMoney
return
prev
+
curr
;
}
else
{
return
''
;
...
...
@@ -1284,8 +1285,8 @@
}
else
{
sums
[
index
]
=
''
;
}
});
});
return
sums
;
},
//提交报价
...
...
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