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 0471cea9
authored
Sep 29, 2025
by
wangzhihui
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
优化
1 parent
b1e75db0
Hide whitespace changes
Inline
Side-by-side
Showing
11 changed files
with
135 additions
and
85 deletions
src/common/constants.js
src/views/usedCarManagement/evaluationManagement/components/assess.vue
src/views/usedCarManagement/evaluationManagement/components/dynamics.vue
src/views/usedCarManagement/evaluationManagement/evalOrderDetail.vue
src/views/usedCarManagement/evaluationManagement/evaluate.vue
src/views/usedCarManagement/evaluationManagement/index.vue
src/views/usedCarManagement/operateManagement/components/contract/detail.vue
src/views/usedCarManagement/operateManagement/components/contract/index.vue
src/views/usedCarManagement/operateManagement/components/inputRange.vue
src/views/usedCarManagement/operateManagement/components/sunshine/components/add.vue
src/views/usedCarManagement/operateManagement/components/sunshine/index.vue
src/common/constants.js
View file @
0471cea
...
...
@@ -1555,17 +1555,14 @@ export const electronicContractTypeOpt = [
]
//合同流转状态
export
const
electronicContractStatusOpt
=
[
{
confId
:
"0"
,
confValue
:
"合同创建"
},
{
confId
:
"1"
,
confValue
:
"合同签署中"
},
{
confId
:
"2"
,
confValue
:
"合同签署完成"
},
{
confId
:
"7"
,
confValue
:
"合同拒签"
},
{
confId
:
"3"
,
confValue
:
"合同撤回"
}
{
confId
:
"2"
,
confValue
:
"合同签署完成"
}
]
//付款状态
export
const
payStatusOpt
=
[
{
confId
:
"1"
,
confValue
:
"定金
支付
"
},
{
confId
:
"2"
,
confValue
:
"尾款
支付
"
},
{
confId
:
"3"
,
confValue
:
"全款
支付
"
}
{
confId
:
"1"
,
confValue
:
"定金"
},
{
confId
:
"2"
,
confValue
:
"尾款"
},
{
confId
:
"3"
,
confValue
:
"全款"
}
]
// 拆分支付
export
const
splitPayOpt
=
[
...
...
@@ -1582,6 +1579,6 @@ export const oaFlowStatusOpt = [
//支付状态
export
const
oaFlowPaymentStatusOpt
=
[
{
confId
:
"1"
,
confValue
:
"支付成功"
,
color
:
"#2CCA74"
},
{
confId
:
"
3"
,
confValue
:
"支付中"
,
color
:
"#FDB757
"
},
{
confId
:
"
2"
,
confValue
:
"支付失败"
,
color
:
"#EB4E4E
"
}
{
confId
:
"
2"
,
confValue
:
"支付失败"
,
color
:
"#EB4E4E
"
},
{
confId
:
"
3"
,
confValue
:
"支付中"
,
color
:
"#FDB757
"
}
]
src/views/usedCarManagement/evaluationManagement/components/assess.vue
View file @
0471cea
...
...
@@ -102,8 +102,8 @@ export default {
callback
(
new
Error
(
"请输入有效数字"
))
}
else
if
(
numValue
<=
0
)
{
callback
(
new
Error
(
"评估价必须大于0"
))
}
else
if
(
numValue
>
9999999
9
.99
)
{
callback
(
new
Error
(
"评估价必须小于9999999
9
.99"
))
}
else
if
(
numValue
>
9999999.99
)
{
callback
(
new
Error
(
"评估价必须小于9999999.99"
))
}
else
{
callback
()
}
...
...
@@ -132,10 +132,20 @@ export default {
},
methods
:
{
async
confirm
()
{
const
isValid
=
await
this
.
$refs
.
editFormRef
.
$refs
[
this
.
editChildRef
].
validate
()
return
isValid
try
{
const
formRef
=
this
.
$refs
.
editFormRef
if
(
!
formRef
||
!
formRef
.
$refs
||
!
formRef
.
$refs
[
this
.
editChildRef
])
{
console
.
error
(
"Form reference not found"
)
return
false
}
const
isValid
=
await
formRef
.
$refs
[
this
.
editChildRef
].
validate
()
console
.
log
(
isValid
,
"isValid"
)
return
isValid
}
catch
(
error
)
{
console
.
error
(
"Validation failed:"
,
error
)
return
false
}
}
}
}
...
...
src/views/usedCarManagement/evaluationManagement/components/dynamics.vue
View file @
0471cea
...
...
@@ -11,9 +11,12 @@
>
<div
class=
"time-box"
>
<div
class=
"createdBy"
>
{{
item
.
opType
==
20
?
"驻店人员"
:
"总部定价师"
}}
:
<span>
{{
item
.
createdBy
}}
</span>
<div>
{{
item
.
opType
==
20
?
"驻店人员"
:
"总部定价师"
}}
:
<span>
{{
item
.
createdBy
}}
</span>
</div>
<div
class=
"time"
>
{{
item
.
quoteTime
}}
</div>
</div>
<!-- 评估师驳回 -->
<template
v-if=
"item.opType == 30"
>
...
...
@@ -66,23 +69,33 @@ export default {
<
style
lang=
"scss"
scoped
>
.dynamics-wrapper
{
background
:
#fff
;
margin
:
0
20px
;
margin
:
0
20px
20px
;
.title
{
color
:
#333333
;
font-size
:
16px
;
padding
:
13.5px
20px
;
line-height
:
23px
;
border-bottom
:
1px
solid
#e5e5e5
;
font-weight
:
600
;
}
.timeline-box
{
padding
:
18px
20px
;
.time-box
{
.createdBy
{
display
:
flex
;
align-items
:
center
;
justify-content
:
space-between
;
max-width
:
896px
;
margin-bottom
:
4px
;
color
:
#666666
;
font-size
:
14px
;
font-weight
:
400
;
line-height
:
20px
;
.time
{
color
:
#999999
;
font-size
:
12px
;
font-weight
:
400
;
}
span
{
color
:
#333333
;
font-size
:
14px
;
...
...
@@ -103,6 +116,7 @@ export default {
.reason
{
color
:
#333333
;
font-weight
:
400
;
max-width
:
832px
;
}
}
}
...
...
src/views/usedCarManagement/evaluationManagement/evalOrderDetail.vue
View file @
0471cea
...
...
@@ -33,7 +33,7 @@ export default {
left
:
50%
;
text-align
:
center
;
margin-left
:
-28px
;
padding
:
20px
;
padding
:
0
20px
20px
;
cursor
:
pointer
;
.cancel-btn
{
color
:
#666666
;
...
...
src/views/usedCarManagement/evaluationManagement/evaluate.vue
View file @
0471cea
...
...
@@ -49,8 +49,8 @@ export default {
}
this
.
submitData
(
params
)
},
handleSave
()
{
let
isValid
=
this
.
$refs
.
assessRef
.
confirm
()
async
handleSave
()
{
let
isValid
=
await
this
.
$refs
.
assessRef
.
confirm
()
if
(
isValid
)
{
let
params
=
{
opType
:
10
,
//10评估师报价,20客户报价,30评估师驳回
...
...
@@ -87,7 +87,7 @@ export default {
left
:
50%
;
text-align
:
center
;
margin-left
:
-28px
;
padding
:
20px
;
padding
:
0
20px
20px
;
cursor
:
pointer
;
display
:
flex
;
.save-btn
{
...
...
src/views/usedCarManagement/evaluationManagement/index.vue
View file @
0471cea
...
...
@@ -280,7 +280,7 @@ export default {
name
:
"registrationDate"
,
type
:
"datePicker"
,
isClear
:
true
,
pickerOptions
:
"
yesterdayPicker
"
pickerOptions
:
"
rangePickerOptions
"
},
{
label
:
"上牌城市"
,
...
...
@@ -390,7 +390,7 @@ export default {
type
:
"datePicker"
,
dateType
:
"datetimerange"
,
isClear
:
true
,
pickerOptions
:
"
yesterdayPicker
"
pickerOptions
:
"
rangePickerOptions
"
},
{
label
:
"评估单编号"
,
...
...
src/views/usedCarManagement/operateManagement/components/contract/detail.vue
View file @
0471cea
...
...
@@ -443,7 +443,7 @@ export default {
]
},
{
operateTitle
:
"操作
日志
"
,
operateTitle
:
"操作
记录
"
,
tableColumns
:
[
{
title
:
"操作人"
,
...
...
@@ -540,7 +540,7 @@ export default {
left
:
50%
;
text-align
:
center
;
margin-left
:
-28px
;
padding
:
20px
;
padding
:
0
20px
20px
;
cursor
:
pointer
;
display
:
flex
;
.save-btn
{
...
...
@@ -581,9 +581,9 @@ export default {
}
}
.operation-wrapper
{
background
:
#f
afafa
;
background
:
#f
ff
;
padding
:
0
20px
;
margin-top
:
-
20px
;
margin-top
:
20px
;
.operateTitle
{
color
:
#333333
;
font-size
:
16px
;
...
...
src/views/usedCarManagement/operateManagement/components/contract/index.vue
View file @
0471cea
...
...
@@ -275,7 +275,9 @@ export default {
previousOwnerName
:
""
,
previousOwnerPhone
:
""
,
oaFlowStatus
:
""
,
splitPay
:
""
splitPay
:
""
,
oaFlowPaymentStatus
:
""
,
paymentType
:
""
},
showFormData
:
[
{
...
...
@@ -305,7 +307,7 @@ export default {
type
:
"datePicker"
,
dateType
:
"datetimerange"
,
isClear
:
true
,
pickerOptions
:
"
yesterdayPicker
"
pickerOptions
:
"
rangePickerOptions
"
},
{
label
:
"合同类型"
,
...
...
@@ -370,7 +372,7 @@ export default {
maxlength
:
20
},
{
label
:
"车主
电话
"
,
label
:
"车主
联系方式
"
,
name
:
"previousOwnerPhone"
,
type
:
"input"
,
isClear
:
true
,
...
...
src/views/usedCarManagement/operateManagement/components/inputRange.vue
View file @
0471cea
<
template
>
<div
class=
"range"
>
<div
:class=
"[
' el-date-editor',
'el-range-editor',
'el-input__inner',
'el-date-editor--daterange',
'el-range-editor--small',
pickerVisible ? 'is-active' : ''
]"
@
click=
"handleRangeClick"
@
mouseleave=
"showClose = false"
@
mousemove=
"handleMove"
ref=
"reference"
>
<div
:class=
"[
' el-date-editor',
'el-range-editor',
'el-input__inner',
'el-date-editor--daterange',
'el-range-editor--small',
pickerVisible ? 'is-active' : ''
]"
@
click=
"handleRangeClick"
@
mouseleave=
"showClose = false"
@
mousemove=
"handleMove"
ref=
"reference"
>
<template
v-if=
"infinity"
>
<el-input-number
class=
"el-range-input hide-btn"
:placeholder=
"startPlaceholder"
v-model=
"userInput[0]"
@
blur=
"handleBlur(0)"
></el-input-number>
<el-input-number
class=
"el-range-input hide-btn"
:placeholder=
"startPlaceholder"
v-model=
"userInput[0]"
@
blur=
"handleBlur(0)"
></el-input-number>
<span
class=
"el-range-separator"
>
至
</span>
<el-input-number
class=
"el-range-input hide-btn"
:placeholder=
"endPlaceholder"
v-model=
"userInput[1]"
@
blur=
"handleBlur(1)"
></el-input-number>
<el-input-number
class=
"el-range-input hide-btn"
:placeholder=
"endPlaceholder"
v-model=
"userInput[1]"
@
blur=
"handleBlur(1)"
></el-input-number>
</
template
>
<
template
v-else
>
<el-input
v-model=
"userInput[0]"
:placeholder=
"startPlaceholder"
@
blur=
"handleBlur(0)"
@
input=
"handleStartInput"
class=
"el-range-input"
></el-input>
<el-input
v-model=
"userInput[0]"
:placeholder=
"startPlaceholder"
@
blur=
"handleBlur(0)"
@
input=
"handleStartInput"
class=
"el-range-input"
></el-input>
<span
class=
"el-range-separator"
>
至
</span>
<el-input
v-model=
"userInput[1]"
:placeholder=
"endPlaceholder"
@
input=
"handleEndInput"
@
focus=
"handleFocus"
@
blur=
"handleBlur(1)"
class=
"el-range-input"
></el-input>
<el-input
v-model=
"userInput[1]"
:placeholder=
"endPlaceholder"
@
input=
"handleEndInput"
@
focus=
"handleFocus"
@
blur=
"handleBlur(1)"
class=
"el-range-input"
></el-input>
</
template
>
<i
v-show=
"showClose"
@
click=
"handleClickIcon"
class=
"el-icon-circle-close"
></i>
<i
v-show=
"showClose"
@
click=
"handleClickIcon"
class=
"el-icon-circle-close"
></i>
</div>
<div
class=
"errorTips"
v-if=
"tipsShow"
>
最大金额需大于最小金额
</div>
<div
class=
"errorTips"
v-if=
"tipsShow"
>
最大金额需大于最小金额
</div>
</div>
</template>
<
script
>
import
{
limitPrice
}
from
'@/common/format'
import
{
limitPrice
}
from
"@/common/format"
export
default
{
data
()
{
return
{
...
...
@@ -55,8 +65,8 @@ export default {
showClose
:
false
,
userInput
:
this
.
displayValue
,
oldVal
:
{
startInput
:
''
,
endInput
:
''
startInput
:
""
,
endInput
:
""
},
tipsShow
:
false
}
...
...
@@ -70,7 +80,7 @@ export default {
infinity
:
Boolean
,
regRuleStr
:
{
type
:
String
,
default
:
'priceReg'
default
:
"priceReg"
}
},
watch
:
{
...
...
@@ -85,12 +95,28 @@ export default {
},
methods
:
{
handleStartInput
(
event
)
{
this
.
userInput
[
0
]
=
limitPrice
(
event
,
this
.
oldVal
.
startInput
,
20
,
2
,
''
,
''
,
this
.
regRuleStr
)
this
.
userInput
[
0
]
=
limitPrice
(
event
,
this
.
oldVal
.
startInput
,
15
,
2
,
""
,
""
,
this
.
regRuleStr
)
this
.
oldVal
.
startInput
=
this
.
userInput
[
0
]
},
handleEndInput
(
event
)
{
this
.
userInput
[
1
]
=
limitPrice
(
event
,
this
.
oldVal
.
endInput
,
20
,
2
,
''
,
''
,
this
.
regRuleStr
)
this
.
userInput
[
1
]
=
limitPrice
(
event
,
this
.
oldVal
.
endInput
,
15
,
2
,
""
,
""
,
this
.
regRuleStr
)
this
.
oldVal
.
endInput
=
this
.
userInput
[
1
]
},
handleClickIcon
(
event
)
{
...
...
@@ -132,10 +158,10 @@ export default {
contrastValue
()
{
const
val
=
this
.
userInput
if
(
Array
.
isArray
(
val
))
{
if
(
val
[
0
]
==
'-'
)
{
if
(
val
[
0
]
==
"-"
)
{
val
[
0
]
=
null
}
if
(
val
[
1
]
==
'-'
)
{
if
(
val
[
1
]
==
"-"
)
{
val
[
1
]
=
null
}
if
(
val
[
0
]
&&
val
[
1
])
{
...
...
src/views/usedCarManagement/operateManagement/components/sunshine/components/add.vue
View file @
0471cea
...
...
@@ -99,8 +99,8 @@ export default {
callback
(
new
Error
(
"请输入有效数字"
))
}
else
if
(
numValue
<=
0
)
{
callback
(
new
Error
(
"激励价格必须大于0"
))
}
else
if
(
numValue
>
9999999
9
.99
)
{
callback
(
new
Error
(
"激励价格必须小于9999999
9
.99"
))
}
else
if
(
numValue
>
9999999.99
)
{
callback
(
new
Error
(
"激励价格必须小于9999999.99"
))
}
else
{
callback
()
}
...
...
src/views/usedCarManagement/operateManagement/components/sunshine/index.vue
View file @
0471cea
...
...
@@ -163,18 +163,19 @@ export default {
optionLabel
:
"confValue"
,
optionsName
:
"vehicleCategoryOpt"
},
{
label
:
"激励价格"
,
name
:
"sunlightInspiresPrice"
,
addHtml
:
"sunlightInspiresPriceHtml"
},
{
label
:
"录入时间"
,
name
:
"createdDate"
,
type
:
"datePicker"
,
dateType
:
"datetimerange"
,
isClear
:
true
,
pickerOptions
:
"yesterdayPicker"
},
{
label
:
"激励价格"
,
name
:
"sunlightInspiresPrice"
,
addHtml
:
"sunlightInspiresPriceHtml"
pickerOptions
:
"rangePickerOptions"
}
],
baseData
:
{
...
...
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