Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
saas_plus
/
dj-car-life-system
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
0
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit 3bbf672e
authored
May 17, 2023
by
张立顺
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
bug修复
1 parent
2420b747
Show whitespace changes
Inline
Side-by-side
Showing
3 changed files
with
35 additions
and
36 deletions
src/router/modules/904_orderManagement.js
src/router/modules/911_vehicleDamage.js
src/views/vehicleDamage/vehicleDamageList.vue
src/router/modules/904_orderManagement.js
View file @
3bbf672
...
@@ -208,7 +208,15 @@ export const routerName = {
...
@@ -208,7 +208,15 @@ export const routerName = {
authId
:
"9040603"
,
authId
:
"9040603"
,
parentId
:
"90406"
,
parentId
:
"90406"
,
label
:
"打印"
,
label
:
"打印"
,
handle
:
"handlePrint"
handle
:
"handlePrint"
,
ruleObj
:
{
attr
:
"mode"
,
rule
:
{
0
:
"打印"
,
1
:
"打印"
},
disabledStatusList
:
[
1
]
}
},
},
{
{
authId
:
"9040605"
,
authId
:
"9040605"
,
...
...
src/router/modules/911_vehicleDamage.js
View file @
3bbf672
...
@@ -40,8 +40,8 @@ export const routerName = {
...
@@ -40,8 +40,8 @@ export const routerName = {
ruleObj
:
{
ruleObj
:
{
attr
:
"mode"
,
attr
:
"mode"
,
rule
:
{
rule
:
{
0
:
"
查看
"
,
0
:
"
打印
"
,
1
:
"
查看
"
1
:
"
打印
"
},
},
disabledStatusList
:
[
1
]
disabledStatusList
:
[
1
]
}
}
...
...
src/views/vehicleDamage/vehicleDamageList.vue
View file @
3bbf672
...
@@ -2,52 +2,34 @@
...
@@ -2,52 +2,34 @@
<
template
>
<
template
>
<div>
<div>
<d2-container>
<d2-container>
<div
class=
"header"
<div
class=
"header"
slot=
"header"
style=
"padding: 10px 20px"
>
slot=
"header"
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
/>
style=
"padding: 10px 20px"
>
<d2-search
ref=
"showSearch"
class=
"show-search"
:search-form=
"searchForm"
:form-data=
"showFormData"
/>
<div
class=
"up-btns"
>
<div
class=
"up-btns"
>
<el-button
:id=
"tableParams.btnId"
<el-button
:id=
"tableParams.btnId"
size=
"small"
type=
"primary"
>
size=
"small"
type=
"primary"
>
查询
查询
</el-button>
</el-button>
<el-button
size=
"small"
<el-button
size=
"small"
@
click=
"handleReset"
>
重置
</el-button>
@
click=
"handleReset"
>
重置
</el-button>
</div>
</div>
</div>
</div>
<div
class=
"d2-container-content"
>
<div
class=
"d2-container-content"
>
<d2-table-header>
<d2-table-header>
<el-button
class=
"default-blue-btn"
<el-button
class=
"default-blue-btn"
plain
@
click=
"handleExport"
size=
"small"
>
导出
</el-button>
plain
@
click=
"handleExport"
size=
"small"
>
导出
</el-button>
</d2-table-header>
</d2-table-header>
<d2-table
ref=
"damageTable"
<d2-table
ref=
"damageTable"
:get-list-api=
"getListApi"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:get-list-api=
"getListApi"
:search-form=
"searchFormSearch"
:table-params=
"tableParams"
:before-search-fn=
"beforeSearchFn"
>
:before-search-fn=
"beforeSearchFn"
>
<div
slot-scope=
"scope"
<div
slot-scope=
"scope"
slot=
"auth-button"
class=
"btnClass"
>
slot=
"auth-button"
class=
"btnClass"
>
<!-- 查看 -->
<!-- 查看 -->
<!--
<auth-button
<!--
<auth-button
v-if=
"[1, 2, 3, -1, 5].includes(scope.scope.orderStatus) || [2].includes(scope.scope.equityOrderStatus)"
v-if=
"[1, 2, 3, -1, 5].includes(scope.scope.orderStatus) || [2].includes(scope.scope.equityOrderStatus)"
:show-btn-ids=
"['9040601']"
:data=
"scope.scope"
/>
-->
:show-btn-ids=
"['9040601']"
:data=
"scope.scope"
/>
-->
<!-- 打印报价单 -->
<!-- 打印报价单 -->
<auth-button
v-if=
"[1, 2, 3, -1, 5].includes(scope.scope.orderStatus) || [2].includes(scope.scope.equityOrderStatus)"
<auth-button
:show-btn-ids=
"['9040603']
"
v-if=
"[1, 2, 3, -1, 5].includes(scope.scope.orderStatus) || [2].includes(scope.scope.equityOrderStatus)
"
:data=
"scope.scope"
/>
:show-btn-ids=
"['9040603']"
:data=
"scope.scope"
/>
<!-- 打印合同 -->
<!-- 打印合同 -->
<auth-button
v-if=
"[2].includes(scope.scope.equityOrderStatus) && [3, 5].includes(scope.scope.orderStatus)"
<auth-button
v-if=
"[2].includes(scope.scope.equityOrderStatus) && [3, 5].includes(scope.scope.orderStatus)"
:show-btn-ids=
"['9040605']"
:show-btn-ids=
"['9040605']"
:data=
"scope.scope"
/>
:data=
"scope.scope"
/>
<auth-button
:show-btn-ids=
"['9040602']"
:data=
"scope.scope"
/>
<auth-button
:show-btn-ids=
"['9040602']"
:data=
"scope.scope"
/>
</div>
</div>
</d2-table>
</d2-table>
</div>
</div>
...
@@ -175,17 +157,26 @@ export default {
...
@@ -175,17 +157,26 @@ export default {
{
{
label
:
"报价金额/元"
,
label
:
"报价金额/元"
,
prop
:
"quotedPrice"
,
prop
:
"quotedPrice"
,
width
:
"200px"
width
:
"200px"
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
quotedPrice
?
(
cellValue
.
quotedPrice
/
100
).
toFixed
(
2
)
:
"-"
}
},
},
{
{
label
:
"预计权益金额/元"
,
label
:
"预计权益金额/元"
,
prop
:
"estEquityPrice"
,
prop
:
"estEquityPrice"
,
width
:
"250px"
width
:
"250px"
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
estEquityPrice
?
(
cellValue
.
estEquityPrice
/
100
).
toFixed
(
2
)
:
"-"
}
},
},
{
{
label
:
"实际权益金额/元"
,
label
:
"实际权益金额/元"
,
prop
:
"equityPrice"
,
prop
:
"equityPrice"
,
width
:
"250px"
width
:
"250px"
,
formatter
:
(
cellValue
)
=>
{
return
cellValue
.
equityPrice
?
(
cellValue
.
equityPrice
/
100
).
toFixed
(
2
)
:
"-"
}
},
},
{
{
label
:
"商户名称"
,
label
:
"商户名称"
,
...
...
Write
Preview
Markdown
is supported
Attach a file
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 post a comment