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 b1e75db0
authored
Sep 29, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
需求优化开发
1 parent
d46762d3
Show whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
86 additions
and
34 deletions
src/views/usedCarManagement/dataView/index.vue
src/views/usedCarManagement/operateManagement/components/contract/detail.vue
src/views/usedCarManagement/operateManagement/components/contract/index.vue
src/views/usedCarManagement/operateManagement/components/sunshine/index.vue
src/views/usedCarManagement/dataView/index.vue
View file @
b1e75db
...
@@ -5,7 +5,11 @@
...
@@ -5,7 +5,11 @@
<div
class=
"form-line"
>
<div
class=
"form-line"
>
<el-form
:inline=
"true"
:model=
"dataForm"
>
<el-form
:inline=
"true"
:model=
"dataForm"
>
<el-form-item
label=
"请选择门店:"
>
<el-form-item
label=
"请选择门店:"
>
<el-select
v-model=
"dataForm.merchantNos"
placeholder=
"请选择"
>
<el-select
v-model=
"dataForm.merchantNos"
filterable
placeholder=
"请选择"
>
<el-option
<el-option
:label=
"item.merchantName"
:label=
"item.merchantName"
:value=
"item.merchantId"
:value=
"item.merchantId"
...
...
src/views/usedCarManagement/operateManagement/components/contract/detail.vue
View file @
b1e75db
...
@@ -116,6 +116,36 @@
...
@@ -116,6 +116,36 @@
</el-row>
</el-row>
</el-form>
</el-form>
</div>
</div>
<d2-table
v-if=
"item.tableParams"
class=
"table-box"
:hasNum=
"item.hasNum"
:table-params=
"item.tableParams"
:tableData=
"detailInfo.oaAudits ? detailInfo.oaAudits : []"
:hasPage=
"false"
>
<div
slot=
"oaFlowStatusHtml"
slot-scope=
"scope"
>
<div
class=
"online-status"
>
<span
class=
"dot"
:style=
"{
background: scope.scope.oaFlowStatus
? baseData.oaFlowStatusOpt.find(
(item) => item.confId == scope.scope.oaFlowStatus
).color
: ''
}"
></span>
{{
scope.scope.oaFlowStatus
? baseData.oaFlowStatusOpt.find(
(item) => item.confId == scope.scope.oaFlowStatus
).confValue
: "-"
}}
</div>
</div>
</d2-table>
<div
class=
"form_div"
v-if=
"item.custom"
>
<div
class=
"form_div"
v-if=
"item.custom"
>
<el-form
<el-form
:ref=
"item.childRef"
:ref=
"item.childRef"
...
@@ -256,31 +286,26 @@ export default {
...
@@ -256,31 +286,26 @@ export default {
}
}
},
},
{
{
title
:
"企微审批状态"
,
title
:
"评估单编号"
,
key
:
"oaFlowStatus"
,
key
:
"evalOrderNo"
// 提取公共查找逻辑为函数
}
],
tableParams
:
{
tableColumns
:
[
{
label
:
"支付方式"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
const
statusItem
=
this
.
getStatusItem
(
const
statusItem
=
this
.
getStatusItem
(
this
.
baseData
,
this
.
baseData
,
"oaFlow
StatusOpt"
,
"pay
StatusOpt"
,
row
,
row
,
"oaFlowStatus
"
"paymentType
"
)
)
return
statusItem
?
statusItem
.
confValue
:
"-"
return
statusItem
?
statusItem
.
confValue
:
"-"
},
className
:
(
row
)
=>
{
const
statusItem
=
this
.
getStatusItem
(
this
.
baseData
,
"oaFlowStatusOpt"
,
row
,
"oaFlowStatus"
)
return
statusItem
?
statusItem
.
color
:
""
}
}
},
},
{
{
title
:
"支付状态"
,
label
:
"支付状态"
,
key
:
"oaFlowPaymentStatus"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
const
statusItem
=
this
.
getStatusItem
(
const
statusItem
=
this
.
getStatusItem
(
this
.
baseData
,
this
.
baseData
,
...
@@ -291,22 +316,36 @@ export default {
...
@@ -291,22 +316,36 @@ export default {
return
statusItem
?
statusItem
.
confValue
:
"-"
return
statusItem
?
statusItem
.
confValue
:
"-"
}
}
},
},
{
label
:
"支付金额"
,
prop
:
"paymentAmount"
,
formatter
:
(
row
)
=>
{
return
row
.
paymentAmount
||
row
.
paymentAmount
===
0
?
"¥"
+
row
.
paymentAmount
:
"-"
}
},
{
{
title
:
"企微审批单号"
,
label
:
"企微审批单号"
,
key
:
"lastO
aFlowCode"
prop
:
"o
aFlowCode"
},
},
{
{
title
:
"是否拆分支付"
,
label
:
"企微审批状态"
,
key
:
"splitPay"
,
addHtml
:
"oaFlowStatusHtml"
},
{
label
:
"是否拆分"
,
formatter
:
(
row
)
=>
{
formatter
:
(
row
)
=>
{
return
row
.
splitPay
==
1
?
"是"
:
"否"
return
row
.
splitPay
==
1
?
"是"
:
"否"
}
}
},
},
{
{
title
:
"评估单编号
"
,
label
:
"拆分详情
"
,
key
:
"evalOrderNo
"
prop
:
"detail
"
}
}
]
]
}
},
},
{
{
title
:
"合同信息"
,
title
:
"合同信息"
,
...
@@ -445,10 +484,8 @@ export default {
...
@@ -445,10 +484,8 @@ export default {
:
{}
:
{}
this
.
detailInfo
=
{
this
.
detailInfo
=
{
...
this
.
detailInfo
,
...
this
.
detailInfo
,
carTypeName
:
res
.
carBase
?
res
.
carBase
.
carTypeName
:
""
,
carTypeName
:
res
.
carBase
?
res
.
carBase
.
carTypeName
:
""
...
this
.
$route
.
query
}
}
console
.
log
(
res
,
this
.
$route
.
query
,
"detail"
)
})
})
},
},
handleCancel
()
{
handleCancel
()
{
...
@@ -472,8 +509,6 @@ export default {
...
@@ -472,8 +509,6 @@ export default {
description
:
this
.
detailInfo
.
description
description
:
this
.
detailInfo
.
description
}
}
getContractEdit
(
params
).
then
((
res
)
=>
{
getContractEdit
(
params
).
then
((
res
)
=>
{
console
.
log
(
res
)
this
.
handleCancel
()
this
.
handleCancel
()
this
.
$message
.
success
(
"操作成功"
)
this
.
$message
.
success
(
"操作成功"
)
})
})
...
@@ -575,5 +610,21 @@ export default {
...
@@ -575,5 +610,21 @@ export default {
}
}
}
}
}
}
.table-box
{
padding
:
0
20px
20px
;
}
.online-status
{
display
:
flex
;
justify-content
:
center
;
align-items
:
center
;
.dot
{
display
:
inline-block
;
width
:
8px
;
height
:
8px
;
border-radius
:
50%
;
margin-right
:
8px
;
}
}
@import
"./detail.scss"
;
@import
"./detail.scss"
;
</
style
>
</
style
>
src/views/usedCarManagement/operateManagement/components/contract/index.vue
View file @
b1e75db
...
@@ -446,10 +446,7 @@ export default {
...
@@ -446,10 +446,7 @@ export default {
this
.
$router
.
push
({
this
.
$router
.
push
({
path
:
"/contractView"
,
path
:
"/contractView"
,
query
:
{
query
:
{
id
:
data
.
id
,
id
:
data
.
id
lastOaFlowCode
:
data
.
lastOaFlowCode
,
oaFlowPaymentStatus
:
data
.
oaFlowPaymentStatus
,
oaFlowStatus
:
data
.
oaFlowStatus
}
}
})
})
},
},
...
...
src/views/usedCarManagement/operateManagement/components/sunshine/index.vue
View file @
b1e75db
...
@@ -352,10 +352,10 @@ export default {
...
@@ -352,10 +352,10 @@ export default {
},
},
async
handleExport
()
{
async
handleExport
()
{
try
{
try
{
let
params
=
this
.
getParams
()
.
t
let
params
=
this
.
getParams
()
params
.
updatedBy
=
this
.
userInfo
.
detail
.
userName
params
.
updatedBy
=
this
.
userInfo
.
detail
.
userName
params
.
currentPage
=
1
params
.
currentPage
=
1
params
.
ids
=
this
.
filterIds
()
params
.
t
.
ids
=
this
.
filterIds
()
params
.
method
=
"/sunlightInspiresConfig/export"
params
.
method
=
"/sunlightInspiresConfig/export"
params
.
server_provider_type
=
"gsc"
params
.
server_provider_type
=
"gsc"
params
.
server_provider_name
=
"gsc-vcp-web-facade"
params
.
server_provider_name
=
"gsc-vcp-web-facade"
...
...
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