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 200f23df
authored
Oct 06, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Email Patches
Plain Diff
fix: 车型bug修复
1 parent
fe6a8a7d
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
7 changed files
with
60 additions
and
31 deletions
assets/css/sprite.scss
pages/evaluationForm/addEvaluationFrom.vue
pages/evaluationForm/components/GeneralPopup.vue
pages/evaluationForm/components/SelectCar.vue
pages/evaluationForm/evaluationFormDetails.vue
pages/evaluationForm/index.vue
pages/evaluationForm/signInfo.vue
assets/css/sprite.scss
View file @
200f23d
...
...
@@ -109,6 +109,8 @@
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.578005115089514
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5400682011935208
);}
.icon-feedback
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.027280477408354646
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.027280477408354646
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6547314578005116
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.526001705029838
);}
.icon-feedbackIcon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011082693947144074
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011082693947144074
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5473145780051151
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4113384484228474
);}
.icon-ffdyj-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.017050298380221655
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6952259164535379
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.3034953111679454
);}
.icon-filter
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
...
...
@@ -394,6 +396,4 @@
.icon-yw-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.015345268542199489
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5221653878942881
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.45865302642796246
);}
.icon-zj-icon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.013640238704177323
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.44075021312872975
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
.icon-feedbackIcon
{
width
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011082693947144074
);
height
:
calc
(
100vmin
*
(
1173
/
768
)
*
0
.011082693947144074
);
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.5473145780051151
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.4113384484228474
);}
\ No newline at end of file
background-position
:
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.44075021312872975
)
calc
(
100vmin
*
(
1173
/
768
)
*
-0
.6717817561807332
);}
\ No newline at end of file
pages/evaluationForm/addEvaluationFrom.vue
View file @
200f23d
...
...
@@ -155,8 +155,10 @@ export default {
index
:
0
,
carList
:
[],
selectDate
:
''
,
currentIdentifiedBrandName
:
null
,
popupTypeEnum
,
title
:
'新增评估单'
,
selectedCarInfo
:
null
,
endDate
:
dayjs
().
format
(
'YYYY-MM-DD'
),
isExistSamePlate
:
false
,
formData
:
{
...
...
@@ -234,7 +236,7 @@ export default {
{
key
:
'registrationCity'
,
label
:
'上牌城市'
,
required
:
true
,
fullWidth
:
false
,
targetNameKey
:
'cityName'
,
sourceNameKey
:
'staffName'
,
sourceKey
:
'uuid'
,
targetKey
:
'registrationCityName'
,
targetObj
:
'carBaseReqDTO'
,
type
:
'select'
,
showText
:
'shopMerchantName'
,
isCity
:
true
},
{
key
:
'registrationDate'
,
label
:
'上牌时间'
,
required
:
true
,
fullWidth
:
false
,
targetNameKey
:
'sellerName'
,
sourceNameKey
:
'staffName'
,
sourceKey
:
'uuid'
,
targetKey
:
'registrationDate'
,
targetObj
:
'carBaseReqDTO'
,
type
:
'calendar'
,
showText
:
'shopMerchantName'
,
endDate
:
true
},
{
key
:
'carCity'
,
label
:
'车辆所在地'
,
required
:
true
,
fullWidth
:
false
,
targetNameKey
:
'carCityName'
,
sourceNameKey
:
'staffName'
,
sourceKey
:
'uuid'
,
targetKey
:
'carCityName'
,
targetObj
:
'carBaseReqDTO'
,
type
:
'select'
,
isCarCity
:
true
},
{
key
:
'mileage'
,
label
:
'表显里程'
,
inputType
:
'number'
,
min
:
0
,
max
:
999999
,
required
:
true
,
fullWidth
:
false
,
targetNameKey
:
'sellerName'
,
sourceNameKey
:
'staffName'
,
sourceKey
:
'uuid'
,
targetKey
:
'mileage'
,
targetObj
:
'carBaseReqDTO'
,
type
:
'input'
,
showText
:
'shopMerchantName'
,
pattern
:
'^[0-9]{0,6}$'
,
cell
:
'公里'
,
isCell
:
true
},
{
key
:
'mileage'
,
label
:
'表显里程'
,
inputType
:
'number'
,
min
:
0
,
max
:
999999
,
maxlength
:
6
,
required
:
true
,
fullWidth
:
false
,
targetNameKey
:
'sellerName'
,
sourceNameKey
:
'staffName'
,
sourceKey
:
'uuid'
,
targetKey
:
'mileage'
,
targetObj
:
'carBaseReqDTO'
,
type
:
'input'
,
showText
:
'shopMerchantName'
,
pattern
:
'^[0-9]{0,6}$'
,
cell
:
'公里'
,
isCell
:
true
},
{
key
:
'usageType'
,
label
:
'使用性质'
,
...
...
@@ -383,7 +385,7 @@ export default {
]
},
{
key
:
'productionDate'
,
label
:
'生产日期'
,
required
:
true
,
fullWidth
:
false
,
targetNameKey
:
'sellerName'
,
sourceNameKey
:
'staffName'
,
sourceKey
:
'uuid'
,
targetKey
:
'productionDate'
,
targetObj
:
'carBaseReqDTO'
,
type
:
'calendar'
,
endDate
:
true
},
{
key
:
'guidePrice'
,
label
:
'指导价'
,
inputType
:
'number'
,
min
:
0
,
max
:
999999
.99
,
required
:
true
,
fullWidth
:
false
,
targetNameKey
:
'sellerName'
,
sourceNameKey
:
'staffName'
,
sourceKey
:
'uuid'
,
targetKey
:
'guidePrice'
,
targetObj
:
'carBaseReqDTO'
,
type
:
'input'
,
showText
:
'shopMerchantName'
,
pattern
:
'^[0-9]{0,6}$
'
,
cell
:
'元'
,
isCell
:
true
},
{
key
:
'guidePrice'
,
label
:
'指导价'
,
inputType
:
'number'
,
min
:
0
,
max
:
999999
9.99
,
maxlength
:
10
,
required
:
true
,
fullWidth
:
false
,
targetNameKey
:
'sellerName'
,
sourceNameKey
:
'staffName'
,
sourceKey
:
'uuid'
,
targetKey
:
'guidePrice'
,
targetObj
:
'carBaseReqDTO'
,
type
:
'input'
,
showText
:
'shopMerchantName'
,
pattern
:
'/^\d+(\.\d{1,2})?$/
'
,
cell
:
'元'
,
isCell
:
true
},
{
key
:
'buyNewCar'
,
label
:
'是否购买新车'
,
...
...
@@ -464,8 +466,8 @@ export default {
}
],
licenseFormFields
:
[
{
key
:
'keyCount'
,
label
:
'钥匙数'
,
required
:
true
,
fullWidth
:
false
,
targetKey
:
'keyCount'
,
targetObj
:
'carLicenseReqDTO'
,
type
:
'input'
,
inputType
:
'number'
,
min
:
0
,
max
:
9
,
pattern
:
'^[0-9]{1}$'
},
{
key
:
'transferCount'
,
label
:
'过户次数'
,
required
:
true
,
fullWidth
:
false
,
targetKey
:
'transferCount'
,
targetObj
:
'carLicenseReqDTO'
,
type
:
'input'
,
inputType
:
'number'
,
min
:
0
,
max
:
9
,
pattern
:
'^[0-9]{1}$'
},
{
key
:
'keyCount'
,
label
:
'钥匙数'
,
required
:
true
,
fullWidth
:
false
,
targetKey
:
'keyCount'
,
targetObj
:
'carLicenseReqDTO'
,
type
:
'input'
,
inputType
:
'number'
,
min
:
0
,
max
:
9
,
pattern
:
'^[0-9]{1}$'
,
maxlength
:
1
},
{
key
:
'transferCount'
,
label
:
'过户次数'
,
required
:
true
,
fullWidth
:
false
,
targetKey
:
'transferCount'
,
targetObj
:
'carLicenseReqDTO'
,
type
:
'input'
,
inputType
:
'number'
,
min
:
0
,
max
:
9
,
pattern
:
'^[0-9]{1}$'
,
maxlength
:
1
},
{
key
:
'compulsoryInsuranceExpiry'
,
label
:
'交强险到期'
,
required
:
true
,
fullWidth
:
false
,
type
:
'calendar'
,
targetKey
:
'compulsoryInsuranceExpiry'
,
targetObj
:
'carLicenseReqDTO'
,
endDate
:
false
},
{
key
:
'annualInspectionExpiry'
,
label
:
'年审到期'
,
required
:
true
,
fullWidth
:
false
,
type
:
'calendar'
,
targetKey
:
'annualInspectionExpiry'
,
targetObj
:
'carLicenseReqDTO'
,
endDate
:
false
},
{
key
:
'commercialInsuranceExpiry'
,
label
:
'商业险到期'
,
required
:
true
,
fullWidth
:
false
,
type
:
'calendar'
,
targetKey
:
'commercialInsuranceExpiry'
,
targetObj
:
'carLicenseReqDTO'
,
endDate
:
false
},
...
...
@@ -586,7 +588,24 @@ export default {
that
.
formData
.
carLicenseReqDTO
=
{
...
carLicense
}
that
.
formData
.
imageList
=
[...
images
]
that
.
formData
.
evalOrderNo
=
evalOrderNo
that
.
selectedCarInfo
=
{
brand
:
{
id
:
that
.
formData
.
carBaseReqDTO
.
carBrandId
,
name
:
that
.
formData
.
carBaseReqDTO
.
carBrand
},
series
:
{
id
:
that
.
formData
.
carBaseReqDTO
.
carChildsBrandId
,
name
:
that
.
formData
.
carBaseReqDTO
.
carChildsBrandName
},
model
:
{
id
:
that
.
formData
.
carBaseReqDTO
.
carSeriesId
,
name
:
that
.
formData
.
carBaseReqDTO
.
carSeriesName
},
year
:
{
id
:
that
.
formData
.
carBaseReqDTO
.
carTypeId
,
name
:
that
.
formData
.
carBaseReqDTO
.
carTypeName
}
}
that
.
formImagesData
=
{}
that
.
certificateImagesData
=
{}
that
.
carVideoData
=
{}
...
...
@@ -706,10 +725,10 @@ export default {
// 指导价验证 - 数字,0-999999
const
guidePrice
=
this
.
formData
.
carBaseReqDTO
.
guidePrice
const
priceRegex
=
/^
[
0-9
]{1,6}
$/
if
(
!
priceRegex
.
test
(
guidePrice
)
||
guidePrice
<
0
||
guidePrice
>
999999.99
)
{
const
priceRegex
=
/^
\d
+
(\.\d{1,2})?
$/
if
(
!
priceRegex
.
test
(
guidePrice
)
||
guidePrice
<
0
||
guidePrice
>
999999
9
.99
)
{
uni
.
showToast
({
title
:
'指导价必须为0-999999.99之间的数字'
,
title
:
'指导价必须为0-999999
9
.99之间的数字'
,
icon
:
'none'
})
return
...
...
@@ -783,17 +802,23 @@ export default {
},
handleCell
(
field
)
{
const
that
=
this
console
.
log
(
'handleCell'
,
field
)
this
.
currentField
=
field
if
(
field
.
key
===
'brandModel'
)
{
this
.
$refs
.
selectCar
.
open
()
}
else
if
(
field
.
key
===
'sellerUserId'
&&
field
.
type
==
'select'
)
{
this
.
$refs
.
orderPopup
.
open
()
}
else
if
(
field
.
key
===
'registrationCity'
)
{
if
(
field
.
isCar
)
{
// 处理车型选择
if
(
this
.
currentIdentifiedBrandName
)
{
// 识别场景:传入品牌名称
this
.
$refs
.
selectCar
.
open
(
this
.
currentIdentifiedBrandName
)
this
.
currentIdentifiedBrandName
=
null
}
else
{
// 新增/编辑场景:传入完整车型信息或null
this
.
$refs
.
selectCar
.
open
(
this
.
selectedCarInfo
||
null
)
}
}
else
if
(
field
.
isCity
)
{
// 处理城市选择
this
.
$refs
.
selectCity
.
open
()
}
else
if
(
field
.
key
===
'carCity'
)
{
}
else
if
(
field
.
isCarCity
)
{
this
.
$refs
.
selectCarCity
.
open
()
}
else
if
(
field
.
type
===
'calendar'
)
{
this
.
currentField
=
field
if
(
field
.
endDate
)
{
this
.
endDate
=
dayjs
().
format
(
'YYYY-MM-DD'
)
}
else
{
...
...
@@ -808,10 +833,14 @@ export default {
.
catch
(()
=>
{
console
.
log
(
'日期取消'
)
})
}
else
if
(
field
.
type
===
'select'
&&
field
.
targetObj
===
'evalOrderBasicReqDTO'
&&
field
.
targetKey
===
'sellerUserId'
)
{
this
.
currentField
=
field
this
.
$refs
.
orderPopup
.
open
()
}
},
handleCarSelected
(
date
)
{
console
.
log
(
'handleCarSelected'
,
date
)
this
.
selectedCarInfo
=
date
this
.
$set
(
this
.
formData
.
carBaseReqDTO
,
'carBrandId'
,
date
.
brand
.
id
)
this
.
$set
(
this
.
formData
.
carBaseReqDTO
,
'carBrand'
,
date
.
brand
.
name
)
this
.
$set
(
this
.
formData
.
carBaseReqDTO
,
'carChildsBrandId'
,
date
.
series
.
id
)
...
...
pages/evaluationForm/components/GeneralPopup.vue
View file @
200f23d
...
...
@@ -91,7 +91,7 @@ export default {
methods
:
{
open
()
{
this
.
$nextTick
(()
=>
{
console
.
log
(
this
.
$refs
)
console
.
log
(
this
.
$refs
.
publishPopup
)
if
(
this
.
$refs
.
publishPopup
)
{
this
.
$refs
.
publishPopup
.
open
()
}
...
...
@@ -112,6 +112,7 @@ export default {
this
.
$emit
(
'close'
)
},
confirm
()
{
console
.
log
(
'confirm'
,
this
.
autoClose
)
if
(
this
.
resolve
)
{
if
(
this
.
autoClose
)
{
this
.
$refs
.
publishPopup
.
close
()
...
...
pages/evaluationForm/components/SelectCar.vue
View file @
200f23d
This diff is collapsed.
Click to expand it.
pages/evaluationForm/evaluationFormDetails.vue
View file @
200f23d
...
...
@@ -143,7 +143,7 @@
</view>
<view
v-else-if=
"activeTabKey == 'contract'"
>
<view
class=
"mb-32 upload-box"
v-if=
"detailsInfo.signingInfo.saleContract"
>
<view
class=
"tab-panel-title"
>
车辆买卖
协议
</view>
<view
class=
"tab-panel-title"
>
二手车转让
协议
</view>
<view
class=
"gridBoxNoPadding"
>
<view
v-for=
"(item, index) in vehicleItems"
:key=
"index"
:class=
"['flex align-start', { 'full-width': item.fullWidth }, { 'align-center': item.type == 'link' }]"
>
<view
class=
"title-label-see mr-16"
>
{{ item.label }}
</view>
...
...
@@ -185,7 +185,7 @@
</view>
</view>
<view
class=
"mb-32 upload-box"
v-if=
"detailsInfo.signingInfo.custodyContract"
>
<view
class=
"tab-panel-title"
>
车辆代管协议
</view>
<view
class=
"tab-panel-title"
>
车辆代
保
管协议
</view>
<view
class=
"gridBoxNoPadding"
>
<
template
v-for=
"(item, index) in vehicleManagementItems"
>
<view
v-if=
"formatValue(item, detailsInfo)"
:key=
"index"
:class=
"['flex align-start',
{ 'full-width': item.fullWidth }, { 'align-center': item.type == 'link' }]">
...
...
@@ -685,9 +685,9 @@ export default {
if
(
item
.
map
&&
this
[
item
.
map
])
{
return
this
[
item
.
map
][
rawValue
]
||
rawValue
}
console
.
log
(
'rawValue:'
,
rawValue
,
item
.
key
)
console
.
log
(
'rawValue:'
,
rawValue
,
rawValue
==
0
,
item
.
key
)
return
rawValue
==
0
?
0
:
rawValue
||
'
'
return
rawValue
==
=
0
?
0
:
rawValue
||
'-
'
},
getImageBySubtype
(
subtype
)
{
if
(
!
this
.
detailsInfo
.
images
)
return
[]
...
...
pages/evaluationForm/index.vue
View file @
200f23d
...
...
@@ -628,6 +628,7 @@ export default {
font-weight
:
400
;
padding
:
toRpx
(
16
)
toRpx
(
64
);
line-height
:
toRpx
(
48
);
text-align
:
center
;
text
{
color
:
#347bff
;
}
...
...
pages/evaluationForm/signInfo.vue
View file @
200f23d
...
...
@@ -146,7 +146,7 @@
</view>
<view
class=
"checkbox-name"
>
{{
item
.
name
}}
</view>
<input
class=
"checkbox-input"
v-if=
"item.isShowInput && item.key != 'other'"
v-model=
"formData[item.inputValue]"
placeholder=
"请输入"
type=
"number"
maxlength=
"1"
/>
<input
class=
"checkbox-input"
v-if=
"item.isShowInput && item.key == 'other'"
v-model=
"formData[item.inputValue]"
placeholder=
"请输入"
maxlength=
"100"
/>
<input
class=
"checkbox-input"
@
click
.
stop=
""
v-if=
"item.isShowInput && item.key == 'other'"
v-model=
"formData[item.inputValue]"
placeholder=
"请输入"
maxlength=
"100"
/>
</label>
</checkbox-group>
</
template
>
...
...
@@ -259,11 +259,6 @@
</view>
</view>
<order-popup
ref=
"openDate"
popupType=
"13"
@
onConfirm=
"confirmDate"
/>
<GeneralPopup
ref=
"calendarGeneralPopup"
popupClass=
"calendarGeneralPopup"
:showClose=
"false"
:showTitle=
"false"
@
confirm=
"confirmCalendar"
>
<
template
#
content
>
<uni-calendar
class=
"calendar"
:showMonth=
"false"
:endDate=
"endDate"
@
change=
"calendarChange"
/>
</
template
>
</GeneralPopup>
<NoticePopup
ref=
"notice"
title=
"重要提示"
text=
"当前页面暂未保存,是否确认退出"
type=
"warning"
></NoticePopup>
</view>
</template>
...
...
@@ -363,7 +358,8 @@ export default {
value
:
'transferPhoto'
,
name
:
'过户授权委托书照片'
,
key
:
'transferPhoto'
,
checked
:
false
checked
:
true
,
disabled
:
true
},
{
value
:
'other'
,
...
...
@@ -598,6 +594,8 @@ export default {
targetObj
:
''
,
type
:
'input'
,
cell
:
'元'
,
inputType
:
'number'
,
disabled
:
false
,
isCell
:
true
,
pattern
:
'^\\d*$'
// 只允许数字输入
},
...
...
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