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
3f43856c
Commit
3f43856c
authored
Feb 22, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
fc32996c
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
27 additions
and
22 deletions
+27
-22
addEditVehicle.vue
src/components/busManagement/BookAcar/addEditVehicle.vue
+15
-12
tripBusOrderList.vue
...ts/busManagement/BookAcar/components/tripBusOrderList.vue
+12
-10
No files found.
src/components/busManagement/BookAcar/addEditVehicle.vue
View file @
3f43856c
...
...
@@ -302,7 +302,8 @@
</
template
>
<li>
<el-form-item
label=
"用车人数"
prop=
"PeopleNum"
>
<el-input-number
v-model=
"msg.PeopleNum"
:min=
"1"
:max=
"SeatNum"
<!-- :max="SeatNum" -->
<el-input-number
v-model=
"msg.PeopleNum"
:min=
"1"
placeholder=
"请输入用车人数"
@
change=
"getBusType"
/>
</el-form-item>
</li>
...
...
@@ -343,17 +344,18 @@
<el-input
v-model=
"msg.TeamName"
placeholder=
"请输入团队信息"
/>
</el-form-item>
</li>
<li
class=
"bottom"
>
<el-form-item
label=
"车型"
prop=
"BusType"
>
<el-select
class=
"w200"
filterable
v-model=
'msg.BusType'
@
change=
"getBusType"
>
<el-option
v-for=
'(item,index) in vehicletop'
:label=
'item.Name +`(${item.SeatNum}座)`'
:value=
'item.Id'
:key=
'item.Id'
>
</el-option>
</el-select>
</el-form-item>
</li>
<li
class=
"bottom"
>
<el-form-item
label=
"车型"
prop=
"BusType"
>
<el-select
class=
"w200"
filterable
v-model=
'msg.BusType'
@
change=
"getBusType"
>
<el-option
v-for=
'(item,index) in vehicletop'
:label=
'item.Name +`(${item.SeatNum}座)`'
:value=
'item.Id'
:key=
'item.Id'
:disabled=
"item.SeatNum<msg.PeopleNum?true:false"
>
</el-option>
</el-select>
</el-form-item>
</li>
</div>
</div>
</div>
...
...
@@ -584,6 +586,7 @@
},
// 获取车型座位数
getBusType
(){
return
if
(
this
.
vehicletop
&&
this
.
vehicletop
.
length
>
0
){
this
.
vehicletop
.
forEach
(
x
=>
{
if
(
x
.
Id
===
this
.
msg
.
BusType
){
...
...
src/components/busManagement/BookAcar/components/tripBusOrderList.vue
View file @
3f43856c
...
...
@@ -751,7 +751,8 @@
</div>
</el-dialog>
<!-- 报价 -->
<el-dialog
custom-class=
'addCompany'
:title=
"dialogTitle"
:visible
.
sync=
"isShowPrice"
center
min-width=
"1000"
>
<el-dialog
custom-class=
'addCompany'
:title=
"dialogTitle"
:visible
.
sync=
"isShowPrice"
center
min-width=
"1000px"
>
<span
style=
"font-weight: bold;font-size: 16px;
display: inline-block;
margin-bottom: 20px;"
>
...
...
@@ -828,13 +829,13 @@
</el-select>
</
template
>
<
template
v-else
>
{{
postMsg
.
Cu
stomerName
}}
{{
postMsg
.
Cu
rrencyCode
?
postMsg
.
CurrencyCode
:
'--'
}}
</
template
>
</span>
</span>
<span>
手配费:
<span>
<span
class=
"c3FC4FF fz16"
>
<
template
v-if=
"priceType == 1"
>
<el-input-number
v-model=
"postMsg.ShouPeiFee"
:min=
"0"
@
input=
"calcPrice()"
style=
"width:120px;"
>
...
...
@@ -847,8 +848,9 @@
</span>
</div>
<span>
<span
class=
"fz17 cF1416C"
style=
"margin-left: 10px;"
>
总计:{{ postMsg.TotalPrice }}
总计:
<span
class=
"fz18 cF1416C"
style=
"margin-left: 10px;"
>
{{ postMsg.TotalPrice }}
</span>
</span>
</div>
...
...
@@ -1120,7 +1122,7 @@
},
// 添加司机车号
driver
(
item
)
{
this
.
drivermsg
.
Id
=
item
.
I
d
this
.
drivermsg
.
Id
=
item
.
i
d
this
.
drivermsg
.
DriverInfo
=
item
.
DriverInfo
this
.
drivermsg
.
BusNo
=
item
.
BusNo
this
.
dialogVisible
=
true
...
...
@@ -1336,10 +1338,6 @@
},
//提交报价
submitTripBusOffer
()
{
if
(
!
this
.
postMsg
.
CurrencyId
){
this
.
Error
(
'请选择币种'
);
return
}
// tripbus_SureSellBusTripOffer
this
.
apipost
(
'tripbus_ErpSubmitTripBusOffer'
,
this
.
postMsg
,
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
...
...
@@ -1462,6 +1460,10 @@
.
catch
(()
=>
{});
},
confirmFun
(
type
)
{
if
(
!
this
.
postMsg
.
CurrencyId
){
this
.
Error
(
'请选择币种'
);
return
}
this
.
postMsg
.
OfferState
=
type
let
text
if
(
type
==
1
){
...
...
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