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 90a2c2e3
authored
Dec 11, 2025
by
cen
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.5.0' of
http://192.168.3.233:8090/glsx/gl_tape
into SAAS+V5.5.0
2 parents
4f31d228
15785f69
Expand all
Hide whitespace changes
Inline
Side-by-side
Showing
10 changed files
with
202 additions
and
66 deletions
api/module/equity.js
components/OrderPopup/components/CarBrand.vue
components/OrderPopup/components/City.vue
pages/equity/tool/components/CreateEquity.vue
pages/equity/tool/components/EquityForm/EquityConversion.vue
pages/equity/tool/components/EquityForm/EquityGoods.vue
pages/equity/tool/components/EquityForm/EquityTire.vue
pages/equity/tool/components/EquityForm/EquityUpload.vue
pages/equity/tool/components/EquityForm/EquityVinCheck.vue
pages/equity/tool/contant.js
api/module/equity.js
View file @
90a2c2e
...
@@ -243,6 +243,6 @@ module.exports = {
...
@@ -243,6 +243,6 @@ module.exports = {
method
:
'dj.api.smartcarlife.vehicle.damage.upgrade.equityOrder.add'
,
method
:
'dj.api.smartcarlife.vehicle.damage.upgrade.equityOrder.add'
,
projectName
:
'boutique'
,
projectName
:
'boutique'
,
...
data
...
data
})
}
,
true
)
},
},
}
}
components/OrderPopup/components/CarBrand.vue
View file @
90a2c2e
...
@@ -29,9 +29,15 @@
...
@@ -29,9 +29,15 @@
:class=
"['sub-brand-name']"
:class=
"['sub-brand-name']"
>
>
<view
<view
class=
"subtitle subtitle-one"
class=
"subtitle subtitle-one
flex
"
@
click
.
stop=
"chooseSubBrand(j, c , jindex, cindex, index)"
@
click
.
stop=
"chooseSubBrand(j, c , jindex, cindex, index)"
>
{{
j
.
name
}}
</view>
>
{{
j
.
name
}}
<uni-icons
:type=
"`$
{j.children
&&
j.children.length?'down':'right'}`"
size="18"
>
</uni-icons>
</view>
</view>
</view>
<template
v-for=
"(k,kindex) in j.children"
>
<template
v-for=
"(k,kindex) in j.children"
>
...
@@ -40,9 +46,15 @@
...
@@ -40,9 +46,15 @@
:key=
"`$
{k.id}_${kindex}`"
:key=
"`$
{k.id}_${kindex}`"
>
>
<view
<view
class=
"subtitle subtitle-two"
class=
"subtitle subtitle-two
flex
"
@
click
.
stop=
"chooseSeries(k,jindex, cindex, index ,kindex)"
@
click
.
stop=
"chooseSeries(k,jindex, cindex, index ,kindex)"
>
{{
k
.
name
}}
</view>
>
{{
k
.
name
}}
<uni-icons
:type=
"`$
{k.children
&&
k.children.length?'down':'right'}`"
size="18"
>
</uni-icons>
</view>
<template
v-for=
"(s,sindex) in k.children"
>
<template
v-for=
"(s,sindex) in k.children"
>
<view
<view
:class=
"['item flex',
{active: checkActive(s)}]"
:class=
"['item flex',
{active: checkActive(s)}]"
...
@@ -172,6 +184,7 @@ export default {
...
@@ -172,6 +184,7 @@ export default {
}
}
},
},
async
chooseSubBrand
(
that
,
item
,
jindex
,
cindex
,
index
)
{
async
chooseSubBrand
(
that
,
item
,
jindex
,
cindex
,
index
)
{
if
(
that
.
children
&&
that
.
children
.
length
)
return
uni
.
showLoading
({
uni
.
showLoading
({
mask
:
true
mask
:
true
})
})
...
@@ -184,6 +197,7 @@ export default {
...
@@ -184,6 +197,7 @@ export default {
this
.
viewKey
=
Date
.
now
()
this
.
viewKey
=
Date
.
now
()
},
},
async
chooseSeries
(
k
,
jindex
,
cindex
,
index
,
kindex
)
{
async
chooseSeries
(
k
,
jindex
,
cindex
,
index
,
kindex
)
{
if
(
k
.
children
&&
k
.
children
.
length
)
return
uni
.
showLoading
({
uni
.
showLoading
({
mask
:
true
mask
:
true
})
})
...
@@ -260,6 +274,7 @@ export default {
...
@@ -260,6 +274,7 @@ export default {
line-height
:
toRpx
(
40
);
line-height
:
toRpx
(
40
);
width
:
100%
;
width
:
100%
;
flex-shrink
:
0
;
flex-shrink
:
0
;
border-bottom
:
toRpx
(
2
)
solid
#888
;
}
}
}
}
}
}
...
@@ -275,11 +290,11 @@ export default {
...
@@ -275,11 +290,11 @@ export default {
flex-shrink
:
0
;
flex-shrink
:
0
;
}
}
.subtitle-one
{
.subtitle-one
{
margin
-bottom
:
10
rpx
;
margin
:
toRpx
(
10
)
0
;
}
}
.subtitle-two
{
.subtitle-two
{
color
:
#000
;
color
:
#000
;
font-size
:
36
rpx
;
font-size
:
toRpx
(
36
)
;
font-weight
:
500
;
font-weight
:
500
;
}
}
.sub-item
{
.sub-item
{
...
@@ -291,7 +306,7 @@ export default {
...
@@ -291,7 +306,7 @@ export default {
display
:
flex
;
display
:
flex
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
gap
:
toRpx
(
32
);
gap
:
toRpx
(
32
);
margin-
bottom
:
20
rpx
;
margin-
top
:
toRpx
(
20
)
;
align-items
:
stretch
;
align-items
:
stretch
;
}
}
.item
{
.item
{
...
@@ -304,7 +319,7 @@ export default {
...
@@ -304,7 +319,7 @@ export default {
position
:
relative
;
position
:
relative
;
color
:
#333333
;
color
:
#333333
;
font-size
:
toRpx
(
32
);
font-size
:
toRpx
(
32
);
padding
:
10rpx
;
padding
:
toRpx
(
10
)
;
.sprite-icon
{
.sprite-icon
{
display
:
none
;
display
:
none
;
position
:
absolute
;
position
:
absolute
;
...
@@ -324,6 +339,6 @@ export default {
...
@@ -324,6 +339,6 @@ export default {
}
}
.block
{
.block
{
width
:
100%
;
width
:
100%
;
height
:
24
rpx
;
height
:
toRpx
(
24
)
;
}
}
</
style
>
</
style
>
\ No newline at end of file
\ No newline at end of file
components/OrderPopup/components/City.vue
View file @
90a2c2e
...
@@ -282,17 +282,17 @@ export default {
...
@@ -282,17 +282,17 @@ export default {
.step-box
{
.step-box
{
height
:
toRpx
(
64
);
height
:
toRpx
(
64
);
justify-content
:
center
;
justify-content
:
center
;
gap
:
0
96
rpx
;
gap
:
0
toRpx
(
96
)
;
position
:
relative
;
position
:
relative
;
margin-bottom
:
16
rpx
;
margin-bottom
:
toRpx
(
16
)
;
.step
{
.step
{
height
:
64
rpx
;
height
:
toRpx
(
64
)
;
border-radius
:
12
rpx
;
border-radius
:
toRpx
(
12
)
;
background
:
#f2f2f2
;
background
:
#f2f2f2
;
justify-content
:
center
;
justify-content
:
center
;
padding
:
0
32
rpx
;
padding
:
0
toRpx
(
32
)
;
color
:
#666666
;
color
:
#666666
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
}
}
.step-active
{
.step-active
{
background
:
#dee7ff
;
background
:
#dee7ff
;
...
@@ -304,8 +304,8 @@ export default {
...
@@ -304,8 +304,8 @@ export default {
left
:
50%
;
left
:
50%
;
transform
:
translate
(
-50%
,
-50%
);
transform
:
translate
(
-50%
,
-50%
);
content
:
''
;
content
:
''
;
width
:
16
rpx
;
width
:
toRpx
(
16
)
;
height
:
2
rpx
;
height
:
toRpx
(
2
)
;
background
:
#cccccc
;
background
:
#cccccc
;
}
}
}
}
...
...
pages/equity/tool/components/CreateEquity.vue
View file @
90a2c2e
This diff is collapsed.
Click to expand it.
pages/equity/tool/components/EquityForm/EquityConversion.vue
View file @
90a2c2e
...
@@ -86,6 +86,7 @@ export default {
...
@@ -86,6 +86,7 @@ export default {
externalData
:
{
externalData
:
{
handler
(
val
)
{
handler
(
val
)
{
let
{
imgObj
}
=
val
let
{
imgObj
}
=
val
if
(
Object
.
keys
(
this
.
imgObj
).
length
)
return
this
.
imgObj
=
{
this
.
imgObj
=
{
retrofitInvoice
:
imgObj
.
retrofitInvoice
||
''
,
retrofitInvoice
:
imgObj
.
retrofitInvoice
||
''
,
retrofit
:
imgObj
.
retrofit
||
''
retrofit
:
imgObj
.
retrofit
||
''
...
@@ -159,30 +160,30 @@ export default {
...
@@ -159,30 +160,30 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.upload-content
{
.upload-content
{
padding
:
32
rpx
32
rpx
0
;
padding
:
toRpx
(
32
)
toRpx
(
32
)
0
;
.upload-box
{
.upload-box
{
display
:
flex
;
display
:
flex
;
margin-bottom
:
32
rpx
;
margin-bottom
:
toRpx
(
32
)
;
.label
{
.label
{
width
:
168
rpx
;
width
:
toRpx
(
168
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
margin-right
:
32
rpx
;
margin-right
:
toRpx
(
32
)
;
}
}
.value
{
.value
{
gap
:
16
rpx
;
gap
:
toRpx
(
16
)
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
}
}
.upload-item
{
.upload-item
{
width
:
192
rpx
;
width
:
toRpx
(
192
)
;
height
:
192
rpx
;
height
:
toRpx
(
192
)
;
border-radius
:
12
rpx
;
border-radius
:
toRpx
(
12
)
;
background
:
#f5f8ff
;
background
:
#f5f8ff
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
color
:
#999999
;
color
:
#999999
;
font-size
:
20
rpx
;
font-size
:
toRpx
(
20
)
;
position
:
relative
;
position
:
relative
;
.del
{
.del
{
position
:
absolute
;
position
:
absolute
;
...
...
pages/equity/tool/components/EquityForm/EquityGoods.vue
View file @
90a2c2e
...
@@ -280,44 +280,44 @@ export default {
...
@@ -280,44 +280,44 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.equity-goods-box
{
.equity-goods-box
{
padding
:
0
32
rpx
;
padding
:
0
toRpx
(
32
)
;
.goods-item
{
.goods-item
{
margin-bottom
:
8
rpx
;
margin-bottom
:
toRpx
(
8
)
;
.goods-head
{
.goods-head
{
padding
:
16
rpx
0
;
padding
:
toRpx
(
16
)
0
;
.goods-name
{
.goods-name
{
color
:
#333333
;
color
:
#333333
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
line-height
:
40
rpx
;
line-height
:
toRpx
(
40
)
;
}
}
.goods-pervice
{
.goods-pervice
{
color
:
#999999
;
color
:
#999999
;
font-size
:
26
rpx
;
font-size
:
toRpx
(
26
)
;
line-height
:
36
rpx
;
line-height
:
toRpx
(
36
)
;
}
}
}
}
.goods-list
{
.goods-list
{
background
:
#f5f7fa
;
background
:
#f5f7fa
;
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
}
}
}
}
.displacement-power
{
.displacement-power
{
width
:
100%
;
width
:
100%
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
32
rpx
;
padding
:
0
toRpx
(
32
)
;
.switch-box
{
.switch-box
{
width
:
208
rpx
;
width
:
toRpx
(
208
)
;
height
:
52
rpx
;
height
:
toRpx
(
52
)
;
border-radius
:
64
rpx
;
border-radius
:
toRpx
(
64
)
;
background
:
#ffffff
;
background
:
#ffffff
;
box-sizing
:
border-box
;
box-sizing
:
border-box
;
padding
:
0
4
rpx
;
padding
:
0
toRpx
(
4
)
;
.switch-item
{
.switch-item
{
width
:
50%
;
width
:
50%
;
height
:
44
rpx
;
height
:
toRpx
(
44
)
;
border-radius
:
40
rpx
;
border-radius
:
toRpx
(
40
)
;
color
:
#333333
;
color
:
#333333
;
font-size
:
26
rpx
;
font-size
:
toRpx
(
26
)
;
justify-content
:
center
;
justify-content
:
center
;
transition
:
all
0.15s
;
transition
:
all
0.15s
;
}
}
...
@@ -330,12 +330,12 @@ export default {
...
@@ -330,12 +330,12 @@ export default {
.warranty
{
.warranty
{
margin-left
:
auto
;
margin-left
:
auto
;
&-input
{
&-input
{
width
:
84
rpx
;
width
:
toRpx
(
84
)
;
font-size
:
28
rpx
;
font-size
:
toRpx
(
28
)
;
margin-left
:
16
rpx
;
margin-left
:
toRpx
(
16
)
;
}
}
&
-suffix
{
&
-suffix
{
margin-left
:
16
rpx
;
margin-left
:
toRpx
(
16
)
;
}
}
.placeholder
{
.placeholder
{
color
:
#999999
;
color
:
#999999
;
...
...
pages/equity/tool/components/EquityForm/EquityTire.vue
View file @
90a2c2e
...
@@ -96,21 +96,21 @@ export default {
...
@@ -96,21 +96,21 @@ export default {
.tire-box
{
.tire-box
{
display
:
grid
;
display
:
grid
;
grid-template-columns
:
repeat
(
2
,
1
fr
);
grid-template-columns
:
repeat
(
2
,
1
fr
);
padding
:
0
32
rpx
;
padding
:
0
toRpx
(
32
)
;
gap
:
16
rpx
32
rpx
;
gap
:
toRpx
(
16
)
toRpx
(
32
)
;
.tire-item
{
.tire-item
{
.label
{
.label
{
height
:
68
rpx
;
height
:
toRpx
(
68
)
;
color
:
#999999
;
color
:
#999999
;
font-size
:
26
rpx
;
font-size
:
toRpx
(
26
)
;
.tips
{
.tips
{
color
:
#4673ff
;
color
:
#4673ff
;
font-size
:
24
rpx
;
font-size
:
toRpx
(
24
)
;
margin-left
:
8
rpx
;
margin-left
:
toRpx
(
8
)
;
}
}
}
}
.content
{
.content
{
border-radius
:
16
rpx
;
border-radius
:
toRpx
(
16
)
;
}
}
}
}
}
}
...
...
pages/equity/tool/components/EquityForm/EquityUpload.vue
View file @
90a2c2e
...
@@ -195,6 +195,7 @@ export default {
...
@@ -195,6 +195,7 @@ export default {
externalData
:
{
externalData
:
{
handler
(
val
)
{
handler
(
val
)
{
let
{
imgObj
}
=
val
let
{
imgObj
}
=
val
if
(
Object
.
keys
(
this
.
imgObj
).
length
)
return
this
.
imgObj
=
{
this
.
imgObj
=
{
invoice
:
imgObj
.
invoice
||
''
,
invoice
:
imgObj
.
invoice
||
''
,
driveFront
:
imgObj
.
driveFront
||
''
,
driveFront
:
imgObj
.
driveFront
||
''
,
...
@@ -273,30 +274,30 @@ export default {
...
@@ -273,30 +274,30 @@ export default {
<
style
scoped
lang=
'scss'
>
<
style
scoped
lang=
'scss'
>
.upload-content
{
.upload-content
{
padding
:
0
32
rpx
;
padding
:
0
toRpx
(
32
)
;
.upload-box
{
.upload-box
{
display
:
flex
;
display
:
flex
;
margin-bottom
:
32
rpx
;
margin-bottom
:
toRpx
(
32
)
;
.label
{
.label
{
width
:
168
rpx
;
width
:
toRpx
(
168
)
;
flex-shrink
:
0
;
flex-shrink
:
0
;
margin-right
:
32
rpx
;
margin-right
:
toRpx
(
32
)
;
}
}
.value
{
.value
{
gap
:
16
rpx
;
gap
:
toRpx
(
16
)
;
flex-wrap
:
wrap
;
flex-wrap
:
wrap
;
}
}
.upload-item
{
.upload-item
{
width
:
192
rpx
;
width
:
toRpx
(
192
)
;
height
:
192
rpx
;
height
:
toRpx
(
192
)
;
border-radius
:
12
rpx
;
border-radius
:
toRpx
(
12
)
;
background
:
#f5f8ff
;
background
:
#f5f8ff
;
display
:
flex
;
display
:
flex
;
flex-direction
:
column
;
flex-direction
:
column
;
justify-content
:
center
;
justify-content
:
center
;
align-items
:
center
;
align-items
:
center
;
color
:
#999999
;
color
:
#999999
;
font-size
:
20
rpx
;
font-size
:
toRpx
(
20
)
;
position
:
relative
;
position
:
relative
;
.del
{
.del
{
position
:
absolute
;
position
:
absolute
;
...
...
pages/equity/tool/components/EquityForm/EquityVinCheck.vue
0 → 100644
View file @
90a2c2e
<
template
>
<uni-popup
ref=
"centerPopupRef"
type=
"center"
:is-mask-click=
"false"
animation
class=
"center-popup"
>
<view
class=
"box"
>
<view
class=
"title flex"
>
<view
class=
"text"
>
车架号复核
</view>
<view
class=
"icon-close-box flex"
@
click=
"close"
>
<uni-icons
class=
"icon-close"
type=
"closeempty"
:size=
"20"
color=
"#1A1A1A"
></uni-icons>
</view>
</view>
<view
class=
"content flex"
>
<view
class=
"tips"
>
请核对车架号是否正确,如信息有误后期将无法申请补偿服务!
</view>
<view
class=
"input-box flex"
>
<view
class=
"input"
>
<view
class=
"label"
>
车架号
</view>
<input
type=
"text"
maxlength=
"17"
v-model=
"obj.vin"
/>
</view>
<view
class=
"edit"
></view>
</view>
<view
class=
"footer-box"
>
</view>
</view>
</view>
</uni-popup>
</
template
>
<
script
type=
'text/ecmascript-6'
>
export
default
{
name
:
'CenterPopup'
,
props
:
{
list
:
Array
,
title
:
String
,
tag
:
String
,
id
:
[
Number
,
String
],
isLine
:
Boolean
},
data
()
{
return
{
}
},
mounted
()
{
},
methods
:
{
open
()
{
this
.
$refs
.
centerPopupRef
.
open
();
},
close
()
{
this
.
$refs
.
centerPopupRef
.
close
();
this
.
$emit
(
'cancel'
)
},
choose
:
uni
.
$throttle
(
function
(
index
)
{
this
.
$emit
(
'choose'
,
index
)
this
.
$refs
.
centerPopupRef
.
close
();
},
200
)
}
}
</
script
>
<
style
scoped
lang=
'scss'
>
.center-popup
{
z-index
:
99
!important
;
}
.box
{
width
:
848
rpx
;
height
:
608
rpx
;
border-radius
:
32
rpx
;
background
:
linear-gradient
(
180deg
,
#e6f0ff
0%
,
#ffffff
100%
);
.title
{
width
:
100%
;
height
:
toRpx
(
160
);
//
background
:
url('@/assets/images/boutique/customer-type-bg.webp')
no-repeat
;
background-size
:
100%
100%
;
position
:
relative
;
.text
{
font-weight
:
500
;
font-size
:
toRpx
(
40
);
color
:
#1a1a1a
;
position
:
absolute
;
left
:
64
rpx
;
top
:
50%
;
transform
:
translateY
(
-50%
);
}
.icon-close-box
{
height
:
100%
;
margin-left
:
auto
;
padding
:
0
toRpx
(
48
);
font-weight
:
700
;
}
}
.content
{
padding
:
0
toRpx
(
64
);
width
:
100%
;
.tips
{
color
:
#666666
;
font-size
:
32
rpx
;
line-height
:
48
rpx
;
}
.input-box
{
margin
:
48
rpx
0
16
rpx
;
}
}
}
</
style
>
\ No newline at end of file
\ No newline at end of file
pages/equity/tool/contant.js
View file @
90a2c2e
...
@@ -465,7 +465,7 @@ const EQUITY_FORM_LIST = [
...
@@ -465,7 +465,7 @@ const EQUITY_FORM_LIST = [
},
},
{
{
label
:
'座位数'
,
label
:
'座位数'
,
value
:
'seat
esNum
'
,
value
:
'seat'
,
type
:
'select'
,
type
:
'select'
,
key
:
'seat'
,
key
:
'seat'
,
},
},
...
@@ -619,7 +619,7 @@ const EQUITY_FORM_TITLE_LIST = [
...
@@ -619,7 +619,7 @@ const EQUITY_FORM_TITLE_LIST = [
]
]
const
EQUITY_POPUP_ENUM
=
{
const
EQUITY_POPUP_ENUM
=
{
18
:
{
18
:
{
value
:
'seat
esNum
'
,
value
:
'seat'
,
key
:
'seat'
key
:
'seat'
},
},
21
:
{
21
:
{
...
@@ -709,7 +709,7 @@ const EQUITY_FORM_RULE = {
...
@@ -709,7 +709,7 @@ const EQUITY_FORM_RULE = {
}
}
}
}
],
],
seat
esNum
:
[{
required
:
true
,
message
:
'座位数不能为空'
}],
seat
:
[{
required
:
true
,
message
:
'座位数不能为空'
}],
engineNo
:
[
engineNo
:
[
{
required
:
true
,
message
:
'发动机号不能为空'
},
{
required
:
true
,
message
:
'发动机号不能为空'
},
{
{
...
...
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