Skip to content
Projects
Groups
Snippets
Help
Loading...
Help
Submit feedback
Contribute to GitLab
Sign in / Register
Toggle navigation
H
hls-xcmg-vue-app
Project
Project
Details
Activity
Releases
Cycle Analytics
Repository
Repository
Files
Commits
Branches
Tags
Contributors
Graph
Compare
Charts
Issues
0
Issues
0
List
Board
Labels
Milestones
Merge Requests
0
Merge Requests
0
CI / CD
CI / CD
Pipelines
Jobs
Schedules
Charts
Wiki
Wiki
Snippets
Snippets
Members
Members
Collapse sidebar
Close sidebar
Activity
Graph
Charts
Create a new issue
Jobs
Commits
Issue Boards
Open sidebar
xugong
hls-xcmg-vue-app
Commits
34895437
Commit
34895437
authored
Jan 09, 2020
by
linxin
Browse files
Options
Browse Files
Download
Plain Diff
Merge branch 'liuxin' into develop
parents
c8d51e01
b5905947
Pipeline
#4539
canceled with stages
Changes
1
Pipelines
1
Show whitespace changes
Inline
Side-by-side
Showing
1 changed file
with
29 additions
and
6 deletions
+29
-6
confirm-detail.vue
src/pages/carConfirm/confirm-detail.vue
+29
-6
No files found.
src/pages/carConfirm/confirm-detail.vue
View file @
34895437
...
@@ -11,7 +11,7 @@
...
@@ -11,7 +11,7 @@
<div
class=
"down-content"
>
<div
class=
"down-content"
>
<span>
请上传照片
</span>
<span>
请上传照片
</span>
<div
class=
"photo"
>
<div
class=
"photo"
>
<
!--
<img
src=
""
>
--
>
<
img
:src=
"vehicleImg"
>
</div>
</div>
<list-item
:item-height=
"44"
>
<list-item
:item-height=
"44"
>
<item>
<item>
...
@@ -107,7 +107,7 @@
...
@@ -107,7 +107,7 @@
v-for=
"(item,index) in equip"
v-for=
"(item,index) in equip"
:key=
"index"
:key=
"index"
class=
"equipment"
class=
"equipment"
@
click=
"downNum=true;getRent(item.contract_id)"
@
click=
"downNum=true;getRent(item.contract_id
,item.contract_lease_item_id
)"
>
>
<div
class=
"left"
>
<div
class=
"left"
>
<span>
<span>
...
@@ -194,6 +194,7 @@ export default {
...
@@ -194,6 +194,7 @@ export default {
downNum
:
false
,
downNum
:
false
,
show
:
false
,
show
:
false
,
flag
:
false
,
// 判断是否为已确认
flag
:
false
,
// 判断是否为已确认
vehicleImg
:
''
,
// 查询到的合格证
leasePic
:
''
,
// 租赁合同图片
leasePic
:
''
,
// 租赁合同图片
agentPic
:
''
,
// 经销商担保协议图片
agentPic
:
''
,
// 经销商担保协议图片
bankPic
:
''
,
// 农行代扣授权书图片
bankPic
:
''
,
// 农行代扣授权书图片
...
@@ -257,6 +258,30 @@ export default {
...
@@ -257,6 +258,30 @@ export default {
})
})
},
},
methods
:
{
methods
:
{
getImg
(
id
)
{
// 获取合格证
let
vm
=
this
let
randomString
=
Math
.
floor
(
Math
.
random
()
*
21
)
let
url
=
process
.
env
.
basePath
+
'app_attment_query'
+
'&index'
+
`'
${
randomString
}
'`
let
param
=
{
'master'
:
{
'source_type'
:
'CON_CONTRACT_LEASE_ITEM'
,
'pkvalue'
:
id
,
},
}
vm
.
$post
(
url
,
param
).
then
(
function
(
res
)
{
if
(
res
.
result
===
'S'
)
{
if
(
res
.
info
)
{
vm
.
vehicleImg
=
process
.
env
.
filePath
+
'attachment_id='
+
res
.
info
.
attachment_id
+
'&access_token='
+
window
.
localStorage
.
access_token
}
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
}
})
},
// 签约校验
// 签约校验
async
signCheck
()
{
async
signCheck
()
{
let
vm
=
this
let
vm
=
this
...
@@ -276,9 +301,6 @@ export default {
...
@@ -276,9 +301,6 @@ export default {
},
},
getTabNum
(
i
)
{
getTabNum
(
i
)
{
this
.
tabNum
=
i
this
.
tabNum
=
i
},
getImg
()
{
},
},
takePhonto
()
{
takePhonto
()
{
let
vm
=
this
let
vm
=
this
...
@@ -503,7 +525,7 @@ export default {
...
@@ -503,7 +525,7 @@ export default {
}
}
})
})
},
},
getRent
(
e
)
{
getRent
(
e
,
id
)
{
let
vm
=
this
let
vm
=
this
let
url
=
process
.
env
.
basePath
+
'leases_info_query'
let
url
=
process
.
env
.
basePath
+
'leases_info_query'
let
param
=
{
let
param
=
{
...
@@ -514,6 +536,7 @@ export default {
...
@@ -514,6 +536,7 @@ export default {
vm
.
hlsPopup
.
hideLoading
()
vm
.
hlsPopup
.
hideLoading
()
if
(
res
.
result
===
'S'
)
{
if
(
res
.
result
===
'S'
)
{
Object
.
assign
(
vm
.
rentInfo
,
res
.
info
)
Object
.
assign
(
vm
.
rentInfo
,
res
.
info
)
vm
.
getImg
(
id
)
}
else
{
}
else
{
hlsPopup
.
showLongCenter
(
res
.
message
)
hlsPopup
.
showLongCenter
(
res
.
message
)
}
}
...
...
Write
Preview
Markdown
is supported
0%
Try again
or
attach a new file
Attach a file
Cancel
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 comment