Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in
Toggle navigation
B
bigwood
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
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
罗超
bigwood
Commits
05618c96
Commit
05618c96
authored
Feb 21, 2023
by
youjie
Browse files
Options
Browse Files
Download
Email Patches
Plain Diff
no message
parent
19e32034
Hide whitespace changes
Inline
Side-by-side
Showing
2 changed files
with
17 additions
and
2 deletions
+17
-2
ListTable.vue
src/components/vehicle/list/ListTable.vue
+13
-0
tools.ts
src/utils/tools.ts
+4
-2
No files found.
src/components/vehicle/list/ListTable.vue
View file @
05618c96
...
...
@@ -87,6 +87,18 @@
</div>
</q-td>
</
template
>
<
template
v-slot:body-cell-HandFittingFee=
"props"
>
<q-td
:props=
"props"
:colspan=
"x.DetailList.length"
v-if=
"props.rowIndex == 0"
>
{{
moneyFormat
(
x
.
ShouPeiFee
)
}}
<div
class=
"q-mt-sm"
v-if=
"x.OfferState == 2"
>
<q-btn
size=
"sm"
dense
outline
color=
"primary"
v-if=
"x.ContractUrl"
>
<a
class=
"text-primary"
style=
"text-decoration:none"
:href=
"x.ContractUrl"
>
{{
$t
(
'v101.downloadHands'
)
}}
</a>
</q-btn>
<span
class=
"text-grey-500 f12"
>
{{
$t
(
'v101.noneHands'
)
}}
</span>
</div>
</q-td>
</
template
>
<!-- <template v-slot:body-cell-RoomNo="props">
<q-td :props="props">
...
...
@@ -235,6 +247,7 @@ export default defineComponent({
{
name
:
'UseName'
,
label
:
t
(
'v102.vehicle.title10'
),
field
:
(
row
:
any
)
=>
row
.
GuideInfo
,
align
:
'left'
},
{
name
:
'TeamName'
,
label
:
t
(
'v102.vehicle.title11'
),
field
:
(
row
:
any
)
=>
row
.
TeamName
,
align
:
'left'
},
{
name
:
'Money'
,
label
:
t
(
'hotelorder.col.m'
),
field
:
(
row
:
any
)
=>
row
.
Money
.
toFixed
(
2
),
align
:
'left'
},
{
name
:
'HandFittingFee'
,
label
:
t
(
'hotelorder.hands'
),
align
:
'left'
}
]
as
any
,
})
...
...
src/utils/tools.ts
View file @
05618c96
...
...
@@ -196,8 +196,10 @@ export function getHotelOrderStatus():Array<StandardStatus>{
export
function
getStrokeStatus
():
Array
<
StandardStatus
>
{
let
status
=
[]
as
Array
<
StandardStatus
>
let
text
=
[
t
(
'v102.vehicle.strokestatus.d1'
),
t
(
'v102.vehicle.strokestatus.d2'
),
t
(
'v102.vehicle.strokestatus.d3'
)]
let
color
=
[
''
,
'positive'
,
'dark'
,
'orange'
,
'negative'
]
let
icons
=
[
''
,
'update'
,
'done'
,
'offline_bolt'
,
'cached'
]
// ,'positive'
// ,'update'
let
color
=
[
''
,
'dark'
,
'orange'
,
'negative'
]
let
icons
=
[
''
,
'done'
,
'offline_bolt'
,
'cached'
]
text
.
forEach
((
x
,
i
:
number
)
=>
{
status
.
push
({
StatusId
:
i
+
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