Skip to content
Projects
Groups
Snippets
Help
This project
Loading...
Sign in / Register
Toggle navigation
C
cdsf-static-bg
Project
Overview
Details
Activity
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
姜雷
cdsf-static-bg
Commits
105abc71
Commit
105abc71
authored
Oct 15, 2018
by
姜雷
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'develop' into test
parents
665155a3
03514e56
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
146 additions
and
84 deletions
+146
-84
App.vue
src/App.vue
+8
-1
publicCarNumber.vue
src/containers/baseData/publicCarNumber/publicCarNumber.vue
+7
-0
publicCarType.vue
src/containers/baseData/publicCarType/publicCarType.vue
+7
-0
repairArea.vue
src/containers/baseData/repairArea/repairArea.vue
+7
-0
repairProject.vue
src/containers/baseData/repairProject/repairProject.vue
+7
-0
publicCar.vue
src/containers/management/publicCar/publicCar.vue
+52
-41
publicCar.vue
src/containers/print/publicCar.vue
+58
-42
No files found.
src/App.vue
View file @
105abc71
<
template
>
<
template
>
<div
id=
"app"
>
<div
id=
"app"
>
<router-view/>
<router-view
/>
</div>
</div>
</
template
>
</
template
>
...
@@ -83,10 +83,17 @@ input[type='number'] {
...
@@ -83,10 +83,17 @@ input[type='number'] {
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
}
}
.line-wrap
,
.col-line-1
,
.col-line-1
,
.el-form-item
{
.el-form-item
{
width
:
100%
;
width
:
100%
;
}
}
.line-wrap
{
display
:
flex
;
}
.tableMinHeightBig
{
min-height
:
120px
;
}
.col-line-2
{
.col-line-2
{
width
:
45%
;
width
:
45%
;
}
}
...
...
src/containers/baseData/publicCarNumber/publicCarNumber.vue
View file @
105abc71
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"purpose"
label=
"用途"
min-width=
"120"
>
<el-table-column
prop=
"purpose"
label=
"用途"
min-width=
"120"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"sortId"
label=
"排序"
min-width=
"50"
></el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
min-width=
"80"
align=
"center"
>
<el-table-column
fixed=
"right"
label=
"操作"
min-width=
"80"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"mini"
class=
"operationBtnWidth"
@
click=
"showEditDialog(1, scope)"
>
修改
</el-button>
<el-button
type=
"primary"
size=
"mini"
class=
"operationBtnWidth"
@
click=
"showEditDialog(1, scope)"
>
修改
</el-button>
...
@@ -35,6 +36,9 @@
...
@@ -35,6 +36,9 @@
<el-form-item
label=
"用途"
label-width=
"200px"
>
<el-form-item
label=
"用途"
label-width=
"200px"
>
<el-input
v-model
.
trim=
"selected.purpose"
placeholder=
"请输入用途"
:maxlength=
"20"
clearable
></el-input>
<el-input
v-model
.
trim=
"selected.purpose"
placeholder=
"请输入用途"
:maxlength=
"20"
clearable
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"排序"
label-width=
"200px"
>
<el-input-number
v-model
.
trim=
"selected.sortId"
:controls=
"false"
:precision=
"0"
:min=
"0"
:max=
"1000"
clearable
></el-input-number>
</el-form-item>
</el-form>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"resetEditDialog"
>
取 消
</el-button>
<el-button
@
click=
"resetEditDialog"
>
取 消
</el-button>
...
@@ -78,6 +82,7 @@ export default {
...
@@ -78,6 +82,7 @@ export default {
id
:
''
,
id
:
''
,
name
:
''
,
name
:
''
,
purpose
:
''
,
purpose
:
''
,
sortId
:
null
,
};
};
},
},
fetchList
(
entity
)
{
fetchList
(
entity
)
{
...
@@ -93,6 +98,7 @@ export default {
...
@@ -93,6 +98,7 @@ export default {
id
:
data
.
row
.
id
,
id
:
data
.
row
.
id
,
name
:
data
.
row
.
name
,
name
:
data
.
row
.
name
,
purpose
:
data
.
row
.
purpose
,
purpose
:
data
.
row
.
purpose
,
sortId
:
data
.
row
.
sortId
,
};
};
}
else
{
}
else
{
this
.
initSelected
();
this
.
initSelected
();
...
@@ -114,6 +120,7 @@ export default {
...
@@ -114,6 +120,7 @@ export default {
id
:
this
.
selected
.
id
,
id
:
this
.
selected
.
id
,
name
:
this
.
selected
.
name
,
name
:
this
.
selected
.
name
,
purpose
:
this
.
selected
.
purpose
,
purpose
:
this
.
selected
.
purpose
,
sortId
:
this
.
selected
.
sortId
,
};
};
if
(
this
.
editType
)
{
if
(
this
.
editType
)
{
updateSetting
({
...
entity
,
type
:
this
.
type
})
updateSetting
({
...
entity
,
type
:
this
.
type
})
...
...
src/containers/baseData/publicCarType/publicCarType.vue
View file @
105abc71
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"purpose"
label=
"用途"
min-width=
"120"
>
<el-table-column
prop=
"purpose"
label=
"用途"
min-width=
"120"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"sortId"
label=
"排序"
min-width=
"50"
></el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
min-width=
"80"
align=
"center"
>
<el-table-column
fixed=
"right"
label=
"操作"
min-width=
"80"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"mini"
class=
"operationBtnWidth"
@
click=
"showEditDialog(1, scope)"
>
修改
</el-button>
<el-button
type=
"primary"
size=
"mini"
class=
"operationBtnWidth"
@
click=
"showEditDialog(1, scope)"
>
修改
</el-button>
...
@@ -35,6 +36,9 @@
...
@@ -35,6 +36,9 @@
<el-form-item
label=
"用途"
label-width=
"200px"
>
<el-form-item
label=
"用途"
label-width=
"200px"
>
<el-input
v-model
.
trim=
"selected.purpose"
placeholder=
"请输入用途"
:maxlength=
"20"
clearable
></el-input>
<el-input
v-model
.
trim=
"selected.purpose"
placeholder=
"请输入用途"
:maxlength=
"20"
clearable
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"排序"
label-width=
"200px"
>
<el-input-number
v-model
.
trim=
"selected.sortId"
:controls=
"false"
:precision=
"0"
:min=
"0"
:max=
"1000"
clearable
></el-input-number>
</el-form-item>
</el-form>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"resetEditDialog"
>
取 消
</el-button>
<el-button
@
click=
"resetEditDialog"
>
取 消
</el-button>
...
@@ -78,6 +82,7 @@ export default {
...
@@ -78,6 +82,7 @@ export default {
id
:
''
,
id
:
''
,
name
:
''
,
name
:
''
,
purpose
:
''
,
purpose
:
''
,
sortId
:
0
,
};
};
},
},
fetchList
(
entity
)
{
fetchList
(
entity
)
{
...
@@ -93,6 +98,7 @@ export default {
...
@@ -93,6 +98,7 @@ export default {
id
:
data
.
row
.
id
,
id
:
data
.
row
.
id
,
name
:
data
.
row
.
name
,
name
:
data
.
row
.
name
,
purpose
:
data
.
row
.
purpose
,
purpose
:
data
.
row
.
purpose
,
sortId
:
data
.
row
.
sortId
,
};
};
}
else
{
}
else
{
this
.
initSelected
();
this
.
initSelected
();
...
@@ -114,6 +120,7 @@ export default {
...
@@ -114,6 +120,7 @@ export default {
id
:
this
.
selected
.
id
,
id
:
this
.
selected
.
id
,
name
:
this
.
selected
.
name
,
name
:
this
.
selected
.
name
,
purpose
:
this
.
selected
.
purpose
,
purpose
:
this
.
selected
.
purpose
,
sortId
:
this
.
selected
.
sortId
,
};
};
if
(
this
.
editType
)
{
if
(
this
.
editType
)
{
updateSetting
({
...
entity
,
type
:
this
.
type
})
updateSetting
({
...
entity
,
type
:
this
.
type
})
...
...
src/containers/baseData/repairArea/repairArea.vue
View file @
105abc71
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"purpose"
label=
"用途"
min-width=
"120"
>
<el-table-column
prop=
"purpose"
label=
"用途"
min-width=
"120"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"sortId"
label=
"排序"
min-width=
"50"
></el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
min-width=
"80"
align=
"center"
>
<el-table-column
fixed=
"right"
label=
"操作"
min-width=
"80"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"mini"
class=
"operationBtnWidth"
@
click=
"showEditDialog(1, scope)"
>
修改
</el-button>
<el-button
type=
"primary"
size=
"mini"
class=
"operationBtnWidth"
@
click=
"showEditDialog(1, scope)"
>
修改
</el-button>
...
@@ -35,6 +36,9 @@
...
@@ -35,6 +36,9 @@
<el-form-item
label=
"用途"
label-width=
"200px"
>
<el-form-item
label=
"用途"
label-width=
"200px"
>
<el-input
v-model
.
trim=
"selected.purpose"
placeholder=
"请输入用途"
:maxlength=
"20"
clearable
></el-input>
<el-input
v-model
.
trim=
"selected.purpose"
placeholder=
"请输入用途"
:maxlength=
"20"
clearable
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"排序"
label-width=
"200px"
>
<el-input-number
v-model
.
trim=
"selected.sortId"
:controls=
"false"
:precision=
"0"
:min=
"0"
:max=
"1000"
clearable
></el-input-number>
</el-form-item>
</el-form>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"resetEditDialog"
>
取 消
</el-button>
<el-button
@
click=
"resetEditDialog"
>
取 消
</el-button>
...
@@ -78,6 +82,7 @@ export default {
...
@@ -78,6 +82,7 @@ export default {
id
:
''
,
id
:
''
,
name
:
''
,
name
:
''
,
purpose
:
''
,
purpose
:
''
,
sortId
:
null
,
};
};
},
},
fetchList
(
entity
)
{
fetchList
(
entity
)
{
...
@@ -93,6 +98,7 @@ export default {
...
@@ -93,6 +98,7 @@ export default {
id
:
data
.
row
.
id
,
id
:
data
.
row
.
id
,
name
:
data
.
row
.
name
,
name
:
data
.
row
.
name
,
purpose
:
data
.
row
.
purpose
,
purpose
:
data
.
row
.
purpose
,
sortId
:
data
.
row
.
sortId
,
};
};
}
else
{
}
else
{
this
.
initSelected
();
this
.
initSelected
();
...
@@ -114,6 +120,7 @@ export default {
...
@@ -114,6 +120,7 @@ export default {
id
:
this
.
selected
.
id
,
id
:
this
.
selected
.
id
,
name
:
this
.
selected
.
name
,
name
:
this
.
selected
.
name
,
purpose
:
this
.
selected
.
purpose
,
purpose
:
this
.
selected
.
purpose
,
sortId
:
this
.
selected
.
sortId
,
};
};
if
(
this
.
editType
)
{
if
(
this
.
editType
)
{
updateSetting
({
...
entity
,
type
:
this
.
type
})
updateSetting
({
...
entity
,
type
:
this
.
type
})
...
...
src/containers/baseData/repairProject/repairProject.vue
View file @
105abc71
...
@@ -17,6 +17,7 @@
...
@@ -17,6 +17,7 @@
</el-table-column>
</el-table-column>
<el-table-column
prop=
"purpose"
label=
"用途"
min-width=
"120"
>
<el-table-column
prop=
"purpose"
label=
"用途"
min-width=
"120"
>
</el-table-column>
</el-table-column>
<el-table-column
prop=
"sortId"
label=
"排序"
min-width=
"50"
></el-table-column>
<el-table-column
fixed=
"right"
label=
"操作"
min-width=
"80"
align=
"center"
>
<el-table-column
fixed=
"right"
label=
"操作"
min-width=
"80"
align=
"center"
>
<template
slot-scope=
"scope"
>
<template
slot-scope=
"scope"
>
<el-button
type=
"primary"
size=
"mini"
class=
"operationBtnWidth"
@
click=
"showEditDialog(1, scope)"
>
修改
</el-button>
<el-button
type=
"primary"
size=
"mini"
class=
"operationBtnWidth"
@
click=
"showEditDialog(1, scope)"
>
修改
</el-button>
...
@@ -35,6 +36,9 @@
...
@@ -35,6 +36,9 @@
<el-form-item
label=
"用途"
label-width=
"200px"
>
<el-form-item
label=
"用途"
label-width=
"200px"
>
<el-input
v-model
.
trim=
"selected.purpose"
placeholder=
"请输入用途"
:maxlength=
"20"
clearable
></el-input>
<el-input
v-model
.
trim=
"selected.purpose"
placeholder=
"请输入用途"
:maxlength=
"20"
clearable
></el-input>
</el-form-item>
</el-form-item>
<el-form-item
label=
"排序"
label-width=
"200px"
>
<el-input-number
v-model
.
trim=
"selected.sortId"
:controls=
"false"
:precision=
"0"
:min=
"0"
:max=
"1000"
clearable
></el-input-number>
</el-form-item>
</el-form>
</el-form>
<span
slot=
"footer"
class=
"dialog-footer"
>
<span
slot=
"footer"
class=
"dialog-footer"
>
<el-button
@
click=
"resetEditDialog"
>
取 消
</el-button>
<el-button
@
click=
"resetEditDialog"
>
取 消
</el-button>
...
@@ -78,6 +82,7 @@ export default {
...
@@ -78,6 +82,7 @@ export default {
id
:
''
,
id
:
''
,
name
:
''
,
name
:
''
,
purpose
:
''
,
purpose
:
''
,
sortId
:
0
,
};
};
},
},
fetchList
(
entity
)
{
fetchList
(
entity
)
{
...
@@ -93,6 +98,7 @@ export default {
...
@@ -93,6 +98,7 @@ export default {
id
:
data
.
row
.
id
,
id
:
data
.
row
.
id
,
name
:
data
.
row
.
name
,
name
:
data
.
row
.
name
,
purpose
:
data
.
row
.
purpose
,
purpose
:
data
.
row
.
purpose
,
sortId
:
data
.
row
.
sortId
,
};
};
}
else
{
}
else
{
this
.
initSelected
();
this
.
initSelected
();
...
@@ -114,6 +120,7 @@ export default {
...
@@ -114,6 +120,7 @@ export default {
id
:
this
.
selected
.
id
,
id
:
this
.
selected
.
id
,
name
:
this
.
selected
.
name
,
name
:
this
.
selected
.
name
,
purpose
:
this
.
selected
.
purpose
,
purpose
:
this
.
selected
.
purpose
,
sortId
:
this
.
selected
.
sortId
,
};
};
if
(
this
.
editType
)
{
if
(
this
.
editType
)
{
updateSetting
({
...
entity
,
type
:
this
.
type
})
updateSetting
({
...
entity
,
type
:
this
.
type
})
...
...
src/containers/management/publicCar/publicCar.vue
View file @
105abc71
...
@@ -2,10 +2,10 @@
...
@@ -2,10 +2,10 @@
<div
class=
"manage-publicCar main-wrap"
>
<div
class=
"manage-publicCar main-wrap"
>
<el-form
class=
"search-bar"
>
<el-form
class=
"search-bar"
>
<div
class=
"grid-content"
>
<div
class=
"grid-content"
>
<el-input
v-model
.
trim=
"filters.name"
:maxlength=
"20"
placeholder=
"请输入
姓名
"
clearable
></el-input>
<el-input
v-model
.
trim=
"filters.name"
:maxlength=
"20"
placeholder=
"请输入
申请人
"
clearable
></el-input>
</div>
</div>
<div
class=
"grid-content"
>
<div
class=
"grid-content"
>
<el-input
v-model
.
trim=
"filters.department"
:maxlength=
"20"
placeholder=
"请输入
科室
"
clearable
></el-input>
<el-input
v-model
.
trim=
"filters.department"
:maxlength=
"20"
placeholder=
"请输入
用车部门
"
clearable
></el-input>
</div>
</div>
<div
class=
"grid-content"
>
<div
class=
"grid-content"
>
<el-select
v-model=
"filters.dealResult"
filterable
clearable
placeholder=
"处理状态"
>
<el-select
v-model=
"filters.dealResult"
filterable
clearable
placeholder=
"处理状态"
>
...
@@ -59,18 +59,22 @@
...
@@ -59,18 +59,22 @@
</div>
</div>
<drag-dialog
:title=
"editType ? '处理' : '详情'"
:visible
.
sync=
"dialogEditVisible"
:before-close=
"resetEditDialog"
width=
"70%"
top=
"5vh"
>
<drag-dialog
:title=
"editType ? '处理' : '详情'"
:visible
.
sync=
"dialogEditVisible"
:before-close=
"resetEditDialog"
width=
"70%"
top=
"5vh"
>
<el-form
class=
"editForm"
:disabled=
"loading"
>
<el-form
class=
"editForm"
:disabled=
"loading"
>
<el-form-item
class=
"col-line-2"
label=
"用车部门"
label-width=
"100px"
>
<div
class=
"line-wrap"
>
<span>
{{selected.department}}
</span>
<el-form-item
class=
"col-line-3"
label=
"用车部门"
label-width=
"100px"
>
</el-form-item>
<span>
{{selected.department}}
</span>
<el-form-item
class=
"col-line-2"
label=
"用车申请时间"
label-width=
"100px"
>
</el-form-item>
<span>
{{selected.createDate}}
</span>
<el-form-item
class=
"col-line-3"
label=
"用车申请时间"
label-width=
"100px"
>
</el-form-item>
<span>
{{selected.createDate}}
</span>
<el-form-item
class=
"col-line-2"
label=
"申请人"
label-width=
"100px"
>
</el-form-item>
<span>
{{selected.name}}
</span>
</div>
</el-form-item>
<div
class=
"line-wrap"
>
<el-form-item
class=
"col-line-2"
label=
"用车人数"
label-width=
"100px"
>
<el-form-item
class=
"col-line-3"
label=
"申请人"
label-width=
"100px"
>
<span>
{{selected.userCount}}
</span>
<span>
{{selected.name}}
</span>
</el-form-item>
</el-form-item>
<el-form-item
class=
"col-line-3"
label=
"用车人数"
label-width=
"100px"
>
<span>
{{selected.userCount}}
</span>
</el-form-item>
</div>
<el-form-item
label=
"用车类型"
label-width=
"100px"
>
<el-form-item
label=
"用车类型"
label-width=
"100px"
>
<span>
{{selected.categoryName}}
</span>
<span>
{{selected.categoryName}}
</span>
</el-form-item>
</el-form-item>
...
@@ -80,34 +84,41 @@
...
@@ -80,34 +84,41 @@
<el-form-item
label=
"用车详细路线"
label-width=
"100px"
>
<el-form-item
label=
"用车详细路线"
label-width=
"100px"
>
<span>
{{selected.lineDescription}}
</span>
<span>
{{selected.lineDescription}}
</span>
</el-form-item>
</el-form-item>
<el-form-item
class=
"col-line-2"
label=
"派车人"
label-width=
"100px"
>
<div
class=
"line-wrap"
>
<span>
{{selected.dealName}}
</span>
<el-form-item
class=
"col-line-3"
label=
"派车人"
label-width=
"100px"
>
</el-form-item>
<span>
{{selected.dealName}}
</span>
<el-form-item
class=
"col-line-2"
label=
"派车车牌"
label-width=
"100px"
>
</el-form-item>
<el-select
v-if=
"editType"
v-model=
"selected.carPlate"
filterable
clearable
placeholder=
"派车车牌"
>
<el-form-item
class=
"col-line-3"
label=
"派车车牌"
label-width=
"100px"
>
<el-option
v-for=
"item in carPlateOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.name"
>
<el-select
v-if=
"editType"
v-model=
"selected.carPlate"
filterable
clearable
placeholder=
"派车车牌"
>
</el-option>
<el-option
v-for=
"item in carPlateOptions"
:key=
"item.id"
:label=
"item.name"
:value=
"item.name"
>
</el-select>
</el-option>
<span
v-else
>
{{selected.carPlate}}
</span>
</el-select>
</el-form-item>
<span
v-else
>
{{selected.carPlate}}
</span>
<el-form-item
class=
"col-line-3"
label=
"出车公里数"
label-width=
"100px"
>
</el-form-item>
<el-input-number
v-model
.
trim=
"selected.startKilometers"
:controls=
"false"
:precision=
"0"
:min=
"0"
:max=
"9999999"
placeholder=
""
clearable
></el-input-number>
</div>
</el-form-item>
<div
class=
"line-wrap"
>
<el-form-item
class=
"col-line-3"
label=
"收车公里数"
label-width=
"100px"
>
<el-form-item
class=
"col-line-3"
label=
"出车公里数"
label-width=
"100px"
>
<el-input-number
v-model
.
trim=
"selected.stopKilometers"
:controls=
"false"
:precision=
"0"
:min=
"0"
:max=
"9999999"
placeholder=
""
clearable
></el-input-number>
<el-input-number
v-model
.
trim=
"selected.startKilometers"
:controls=
"false"
:precision=
"0"
:min=
"0"
:max=
"9999999"
placeholder=
""
clearable
></el-input-number>
</el-form-item>
</el-form-item>
<el-form-item
class=
"col-line-3"
label=
"实际公里数"
label-width=
"100px"
>
<el-form-item
class=
"col-line-3"
label=
"收车公里数"
label-width=
"100px"
>
<el-input-number
v-model
.
trim=
"selected.trueKilometers"
:controls=
"false"
:precision=
"0"
:min=
"0"
:max=
"9999999"
placeholder=
""
clearable
></el-input-number>
<el-input-number
v-model
.
trim=
"selected.stopKilometers"
:controls=
"false"
:precision=
"0"
:min=
"0"
:max=
"9999999"
placeholder=
""
clearable
></el-input-number>
</el-form-item>
</el-form-item>
<el-form-item
class=
"col-line-3"
label=
"实际公里数"
label-width=
"100px"
>
<el-input-number
v-model
.
trim=
"selected.trueKilometers"
:controls=
"false"
:precision=
"0"
:min=
"0"
:max=
"9999999"
placeholder=
""
clearable
></el-input-number>
</el-form-item>
</div>
<el-form-item
label=
"资金来源"
label-width=
"100px"
>
<el-form-item
label=
"资金来源"
label-width=
"100px"
>
<el-input
v-model
.
trim=
"selected.priceSource"
placeholder=
"可不填"
:maxlength=
"20"
clearable
></el-input>
<el-input
v-model
.
trim=
"selected.priceSource"
placeholder=
"可不填"
:maxlength=
"20"
clearable
></el-input>
</el-form-item>
</el-form-item>
<
el-form-item
label=
"用车单价"
label-width=
"100px
"
>
<
div
class=
"line-wrap
"
>
<
div
class=
"item-value
"
>
<
el-form-item
class=
"col-line-3"
label=
"用车单价"
label-width=
"100px
"
>
<el-input-number
v-model
.
trim=
"selected.price"
:controls=
"false"
:precision=
"2"
:min=
"0"
:max=
"9999999.99"
placeholder=
"可不填"
clearable
></el-input-number>
<el-input-number
v-model
.
trim=
"selected.price"
:controls=
"false"
:precision=
"2"
:min=
"0"
:max=
"9999999.99"
placeholder=
"可不填"
clearable
></el-input-number>
</el-form-item>
<el-form-item
class=
"col-line-3"
label=
"用车金额"
label-width=
"100px"
>
<el-input-number
v-model
.
trim=
"selected.totalPrice"
:controls=
"false"
:precision=
"2"
:min=
"0"
:max=
"9999999.99"
placeholder=
"可不填"
clearable
></el-input-number>
<el-input-number
v-model
.
trim=
"selected.totalPrice"
:controls=
"false"
:precision=
"2"
:min=
"0"
:max=
"9999999.99"
placeholder=
"可不填"
clearable
></el-input-number>
</div>
</el-form-item>
</el-form-item>
</div>
<!-- <template v-else>
<!-- <template v-else>
<el-form-item class="col-line-2" label="用车单价" label-width="100px">
<el-form-item class="col-line-2" label="用车单价" label-width="100px">
<span>{{selected.price}}</span>
<span>{{selected.price}}</span>
...
@@ -239,8 +250,8 @@ export default {
...
@@ -239,8 +250,8 @@ export default {
// new Date(data.row.endDate),
// new Date(data.row.endDate),
// 'yyyy-MM-dd hh:mm:ss'
// 'yyyy-MM-dd hh:mm:ss'
// ),
// ),
beginDate
:
data
.
row
.
beginDate
,
beginDate
:
data
.
row
.
beginDate
,
endDate
:
data
.
row
.
endDate
,
endDate
:
data
.
row
.
endDate
,
lineDescription
:
data
.
row
.
lineDescription
,
lineDescription
:
data
.
row
.
lineDescription
,
dealName
:
data
.
row
.
dealName
||
this
.
userInfo
.
name
,
dealName
:
data
.
row
.
dealName
||
this
.
userInfo
.
name
,
carPlate
:
data
.
row
.
carPlate
,
carPlate
:
data
.
row
.
carPlate
,
...
@@ -359,8 +370,8 @@ export default {
...
@@ -359,8 +370,8 @@ export default {
// 'yyyy-MM-dd hh:mm:ss'
// 'yyyy-MM-dd hh:mm:ss'
// ),
// ),
beginDate
:
data
.
row
.
beginDate
,
beginDate
:
data
.
row
.
beginDate
,
endDate
:
data
.
row
.
endDate
,
endDate
:
data
.
row
.
endDate
,
lineDescription
:
data
.
row
.
lineDescription
,
lineDescription
:
data
.
row
.
lineDescription
,
dealName
:
data
.
row
.
dealName
,
dealName
:
data
.
row
.
dealName
,
carPlate
:
data
.
row
.
carPlate
,
carPlate
:
data
.
row
.
carPlate
,
...
...
src/containers/print/publicCar.vue
View file @
105abc71
...
@@ -14,50 +14,59 @@
...
@@ -14,50 +14,59 @@
<div
:span=
"6"
class=
"tableCell tabelCol-6"
>
用车人数
</div>
<div
:span=
"6"
class=
"tableCell tabelCol-6"
>
用车人数
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
{{
selected
.
userCount
}}
人
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
{{
selected
.
userCount
}}
人
</div>
</div>
</div>
<div
class=
"tableRow"
>
<div
class=
"tableRow
tableMinHeightBig
"
>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
用车类型
<br>
(勾选)
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
用车类型
<br>
(勾选)
</div>
<div
:span=
"20"
class=
"tableCell tabelCol-20 tal"
>
{{
selected
.
categoryName
}}
</div>
<div
:span=
"20"
class=
"tableCell tabelCol-20 tal"
>
{{
selected
.
categoryName
}}
</div>
</div>
</div>
<div
class=
"tableRow"
>
<div
class=
"tableRow"
>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
用车起始时间
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
用车起始时间
</div>
<div
:span=
"20"
class=
"tableCell tabelCol-20 tal"
>
{{
selected
.
beginDate
}}
-
{{
selected
.
endDate
}}
(共
{{
2
}}
天)
</div>
<div
:span=
"20"
class=
"tableCell tabelCol-20 tal"
>
{{
selected
.
beginDate
}}
-
{{
selected
.
endDate
}}
(共
{{
2
}}
天)
</div>
</div>
</div>
<div
class=
"tableRow"
>
<div
class=
"tableRow tableMinHeightBig"
>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
用车详细路线
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
用车详细路线
</div>
<div
:span=
"20"
class=
"tableCell tabelCol-20 tal"
>
{{
selected
.
lineDescription
}}
</div>
<div
:span=
"20"
class=
"tableCell tabelCol-20 tal"
>
{{
selected
.
lineDescription
}}
</div>
</div>
</div>
<div
class=
"tableRow"
>
<div
class=
"tableRow"
>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
部门负责人
<br>
签字(盖章)
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
部门负责人
<br>
签字(盖章)
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-12"
></div>
<div
:span=
"4"
class=
"tableCell tabelCol-10"
></div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
派车人
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
派车人
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
<div
:span=
"4"
class=
"tableCell tabelCol-6"
>
{{
selected
.
dealName
}}
<br/>
<span>
{{
selected
.
carPlate
}}
</div>
{{
selected
.
dealName
}}
</div>
</span>
<div
class=
"tableRow"
>
<br
/>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
出车公里数
</div>
<span>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
{{
selected
.
startKilometers
}}
</div>
{{
selected
.
carPlate
}}
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
收车公里数
</div>
</span>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
{{
selected
.
stopKilometers
}}
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
实际公里数
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
{{
selected
.
trueKilometers
}}
</div>
</div>
<div
class=
"tableRow"
>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
资金来源
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
{{
selected
.
priceSource
}}
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
用车单价
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
{{
selected
.
price
}}
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
用车金额
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
{{
selected
.
totalPrice
}}
</div>
</div>
<div
class=
"tableRow"
>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
驾驶员签字
</div>
<div
:span=
"8"
class=
"tableCell tabelCol-8"
></div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
用车人签字
</div>
<div
:span=
"8"
class=
"tableCell tabelCol-8"
></div>
</div>
</div>
</div>
</div>
</div>
<div
class=
"tableRow"
>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
出车公里数
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
{{
selected
.
startKilometers
}}
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
收车公里数
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
{{
selected
.
stopKilometers
}}
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
实际公里数
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
{{
selected
.
trueKilometers
}}
</div>
</div>
<div
class=
"tableRow"
>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
资金来源
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
{{
selected
.
priceSource
}}
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
用车单价
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
{{
selected
.
price
}}
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
用车金额
</div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
{{
selected
.
totalPrice
}}
</div>
</div>
<div
class=
"tableRow"
>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
驾驶员签字
</div>
<div
:span=
"8"
class=
"tableCell tabelCol-8"
></div>
<div
:span=
"4"
class=
"tableCell tabelCol-4"
>
用车人签字
</div>
<div
:span=
"8"
class=
"tableCell tabelCol-8"
></div>
</div>
</div>
<div
class=
"tableBottm"
>
本表一式两份交车队北区体育场204或205办公室
</div>
</div>
</
template
>
</
template
>
<
script
>
<
script
>
...
@@ -92,6 +101,8 @@ export default {
...
@@ -92,6 +101,8 @@ export default {
max-height
:
978px
;
max-height
:
978px
;
text-align
:
center
;
text-align
:
center
;
margin
:
0
auto
;
margin
:
0
auto
;
padding-bottom
:
40px
;
line-height
:
40px
;
.tableTitle
{
.tableTitle
{
font-size
:
20px
;
font-size
:
20px
;
line-height
:
80px
;
line-height
:
80px
;
...
@@ -109,6 +120,8 @@ export default {
...
@@ -109,6 +120,8 @@ export default {
padding
:
10px
0
;
padding
:
10px
0
;
border-bottom
:
1px
solid
#000
;
border-bottom
:
1px
solid
#000
;
border-right
:
1px
solid
#000
;
border-right
:
1px
solid
#000
;
word-break
:
break-all
;
white-space
:
wrap
;
}
}
.tableCell
:last-child
{
.tableCell
:last-child
{
border-right
:
none
;
border-right
:
none
;
...
@@ -135,5 +148,8 @@ export default {
...
@@ -135,5 +148,8 @@ export default {
width
:
50%
;
width
:
50%
;
}
}
}
}
.tableBottm
{
text-align
:
left
;
}
}
}
</
style
>
</
style
>
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