Skip to content
Toggle navigation
Projects
Groups
Snippets
Help
glsx
/
gl_tape
This project
Loading...
Sign in
Toggle navigation
Go to a project
Project
Repository
Issues
0
Merge Requests
3
Pipelines
Wiki
Settings
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Commit b58e5c7b
authored
Oct 06, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 类型处理
1 parent
76b266a5
Hide whitespace changes
Inline
Side-by-side
Showing
4 changed files
with
29 additions
and
6 deletions
pages/evaluationForm/addEvaluationFrom.vue
pages/evaluationForm/components/ButtonModule.vue
pages/evaluationForm/evaluationFormDetails.vue
pages/evaluationForm/index.vue
pages/evaluationForm/addEvaluationFrom.vue
View file @
b58e5c7
...
...
@@ -183,7 +183,7 @@ export default {
popupTypeEnum
,
title
:
'新增评估单'
,
selectedCarInfo
:
null
,
startDate
:
''
,
startDate
:
'
1999-01-01
'
,
endDate
:
dayjs
().
format
(
'YYYY-MM-DD'
),
isExistSamePlate
:
false
,
formData
:
{
...
...
@@ -907,6 +907,7 @@ export default {
},
calendarChange
(
date
)
{
this
.
selectDate
=
date
.
year
+
'-'
+
date
.
month
+
'-'
+
date
.
date
console
.
log
(
'this.selectDate'
,
this
.
selectDate
)
},
blurChange
(
value
,
field
)
{
console
.
log
(
'blurChange'
,
value
,
field
)
...
...
@@ -959,7 +960,7 @@ export default {
this
.
$set
(
this
.
formData
.
carBaseReqDTO
,
'vin'
,
upperValue
)
}
}
if
(
field
.
key
===
'mileage'
||
field
.
key
===
'guidePrice'
)
{
if
(
field
.
key
===
'mileage'
)
{
let
numValue
=
Number
(
value
)
if
(
isNaN
(
numValue
))
{
...
...
@@ -981,6 +982,28 @@ export default {
}
}
}
if
(
field
.
key
===
'guidePrice'
)
{
let
numValue
=
Number
(
value
)
if
(
isNaN
(
numValue
))
{
numValue
=
0
}
if
(
numValue
<
0
)
numValue
=
0
if
(
numValue
>
9999999.99
)
numValue
=
9999999.99
const
limitedValue
=
String
(
numValue
)
if
(
limitedValue
!==
value
)
{
this
.
$set
(
this
.
formData
.
carBaseReqDTO
,
field
.
key
,
limitedValue
)
if
(
Number
(
value
)
>
9999999.99
)
{
uni
.
showToast
({
title
:
`
${
field
.
label
}
不能超过9999999.99`
,
icon
:
'none'
})
}
}
}
if
(
field
.
key
===
'keyCount'
||
field
.
key
===
'transferCount'
)
{
let
numValue
=
Number
(
value
)
...
...
pages/evaluationForm/components/ButtonModule.vue
View file @
b58e5c7
...
...
@@ -8,7 +8,7 @@
<view
v-if=
"status == 30 && !subStatus"
class=
"common-btn ml-24"
@
click
.
stop=
"handleClick('cancelSign', 'app_evaluate_cancel_sign')"
>
取消签约
</view>
<view
v-if=
"status == 30 && !subStatus && paymentType == 1"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('payDeposit', 'app_evaluate_pay_deposit')"
>
支付定金
</view>
<view
v-if=
"status == 30 && !subStatus && paymentType == 2"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('payFull', 'app_evaluate_pay_full')"
>
支付全款
</view>
<view
v-if=
"subStatus == 2 || subStatus == 3"
class=
"common-btn gray-btn ml-24"
@
click
.
stop=
"handleClick('paying')"
>
支付中
</view>
<view
v-if=
"subStatus == 2 || subStatus == 3
|| ((status == 30 || status == 40) && subStatus == 1)
"
class=
"common-btn gray-btn ml-24"
@
click
.
stop=
"handleClick('paying')"
>
支付中
</view>
<view
v-if=
"status == 40 && !subStatus && paymentType == 1"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('payFull', 'app_evaluate_pay_final')"
>
支付尾款
</view>
<view
v-if=
"status == 50 && !subStatus"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('confirmDelivery', 'app_evaluate_confirm_delivery')"
>
确认交车
</view>
<view
v-if=
"status == '-1'"
class=
"common-btn blue-btn ml-24"
@
click
.
stop=
"handleClick('reSubmit', 'app_evaluate_re_submit')"
>
重新提交
</view>
...
...
pages/evaluationForm/evaluationFormDetails.vue
View file @
b58e5c7
...
...
@@ -482,8 +482,8 @@ export default {
{
label
:
'原车主住址'
,
key
:
'carLicense.previousOwnerAddress'
,
fullWidth
:
true
}
],
priceItems
:
[
{
label
:
'评估价格'
,
key
:
'evalPrice
'
,
cell
:
'元
'
},
{
label
:
'客户意向报价'
,
key
:
'customerTargetPrice'
},
{
label
:
'评估价格'
,
key
:
'evalPrice
Display
'
},
{
label
:
'客户意向报价'
,
key
:
'customerTargetPrice
Display
'
},
{
label
:
'报价反馈'
,
key
:
'customerTargetPriceFeedback'
,
fullWidth
:
true
},
{
label
:
'评估意见'
,
key
:
'evalOpinion'
,
fullWidth
:
true
}
],
...
...
pages/evaluationForm/index.vue
View file @
b58e5c7
...
...
@@ -270,7 +270,7 @@ export default {
const
userInfo
=
uni
.
$storage
.
get
(
'userInfo'
),
{
shopMerchantId
}
=
userInfo
const
res
=
await
uni
.
$api
.
evaluationApi
.
evalOrderList
({
t
:
{
...
this
.
searchValue
,
status
:
this
.
typeList
[
this
.
tabIndex
].
key
,
sellerMerchantId
:
shopMerchantId
},
t
:
{
...
this
.
searchValue
,
status
:
this
.
typeList
[
this
.
tabIndex
].
key
,
sellerMerchantId
:
shopMerchantId
.
toString
()
},
currentPage
:
pageNo
,
pageSize
:
10
})
...
...
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