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
23d3f9cb
Commit
23d3f9cb
authored
Feb 22, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
ee5926d7
Hide whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
43 additions
and
3 deletions
+43
-3
tripBusOrderList.vue
...ts/busManagement/BookAcar/components/tripBusOrderList.vue
+43
-3
No files found.
src/components/busManagement/BookAcar/components/tripBusOrderList.vue
View file @
23d3f9cb
...
...
@@ -492,7 +492,7 @@
<
template
slot=
"append"
v-if=
"item.CreateRemark"
>
<div
style=
"padding:10px;color:#f1416c"
>
客户备注:
{{
item
.
CreateRemark
}}
</div>
<div
style=
"padding:0 0 10px 10px;color:#f1416c"
>
OP备注:
{{
item
.
Remark
}}
<div><i
class=
"el-icon-edit"
></i></div
>
<i
class=
"el-icon-edit cursor-pointer c059FF6"
@
click=
"editRemark(item)"
></i
>
</div>
</
template
>
</el-table>
...
...
@@ -885,6 +885,22 @@
}}
</button>
</div>
</el-dialog>
<!-- op备注 -->
<el-dialog
custom-class=
'addCompany'
title=
"编辑OP备注"
:visible
.
sync=
"isShowRemark"
center
width=
"400px"
>
<el-row
class=
"flex"
style=
"margin-top: 10px;"
>
<el-col>
<span
style=
"display: block;margin-bottom: 10px;"
>
备注:
</span>
<span>
<el-input
type=
"textarea"
:rows=
"4"
v-model=
"postMsg.Remark"
>
</el-input>
</span>
</el-col>
</el-row>
<div
slot=
"footer"
class=
"dialog-footer"
>
<button
class=
"hollowFixedBtn"
@
click=
"isShowRemark = false"
>
取消
</button>
<button
class=
"normalBtn"
type=
"primary"
@
click=
"submitEditRemark(2)"
>
{{$t('pub.sureBtn')}}
</button>
</div>
</el-dialog>
<!-- 添加司机车辆弹窗 -->
<el-dialog
title=
"车辆信息"
:visible
.
sync=
"dialogVisible"
width=
"400px"
:before-close=
"handleClose"
>
<el-form
label-width=
"80px"
:model=
"drivermsg"
:rules=
"rules"
ref=
"drivermsg"
style=
"width: 100%;"
>
...
...
@@ -902,8 +918,8 @@
</el-row>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"
dialogVisibl
e = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"
driverdetermine
('drivermsg')"
>
确 定
</el-button>
<el-button
@
click=
"
isShowPric
e = false"
>
取 消
</el-button>
<el-button
type=
"primary"
@
click=
"
submitTripBusOffer
('drivermsg')"
>
确 定
</el-button>
</span>
</el-dialog>
</div>
...
...
@@ -913,6 +929,7 @@
props
:
[
"OrderList"
,
"pagesTitle"
],
data
()
{
return
{
isShowRemark
:
false
,
drivermsg
:
{
Id
:
''
,
DriverInfo
:
""
,
...
...
@@ -1082,6 +1099,29 @@
}
},
methods
:
{
editRemark
(
item
){
this
.
postMsg
.
Id
=
item
.
Id
this
.
postMsg
.
Remark
=
item
.
Remark
this
.
isShowRemark
=
true
},
submitEditRemark
(){
if
(
!
this
.
postMsg
.
Remark
){
this
.
$message
.
error
(
'OP备注不能为空'
);
return
}
this
.
apipost
(
'tripbus_SetBusPriceOPRemark'
,
{
Id
:
this
.
postMsg
.
Id
,
Remark
:
this
.
postMsg
.
Remark
},
res
=>
{
if
(
res
.
data
.
resultCode
==
1
)
{
this
.
dialogVisible
=
false
this
.
$emit
(
'success'
)
this
.
$forceUpdate
();
}
else
{
this
.
Error
(
res
.
data
.
message
);
}
})
},
handleClose
(
done
)
{
done
();
this
.
$refs
.
drivermsg
.
clearValidate
()
...
...
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