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 023a5c9a
authored
Oct 02, 2025
by
李伟康
Browse Files
Options
Browse Files
Tag
Download
Plain Diff
Merge branch 'SAAS+V5.0.0-1014' of
http://192.168.3.233:8090/glsx/gl_tape
into SAAS+V5.0.0-1014
2 parents
c915de63
14b9fb7d
Hide whitespace changes
Inline
Side-by-side
Showing
6 changed files
with
80 additions
and
47 deletions
components/OrderPopup/components/AgreementList.vue
pages/evaluationForm/addEvaluationFrom.vue
pages/evaluationForm/components/uploadMedia.vue
pages/evaluationForm/confirmCar.vue
pages/evaluationForm/index.vue
pages/evaluationForm/signInfo.vue
components/OrderPopup/components/AgreementList.vue
View file @
023a5c9
...
...
@@ -26,8 +26,12 @@ export default {
const
{
userInfo
,
params
}
=
this
const
data
=
await
uni
.
$api
.
evaluationApi
.
getCustodyAgreementList
()
this
.
updateParams
(
params
,
data
||
[])
const
res
=
await
uni
.
$api
.
evaluationApi
.
getCustodyAgreementList
()
if
(
res
.
data
.
code
==
0
)
{
this
.
updateParams
(
params
,
res
.
data
.
data
||
[])
}
},
initData
(
data
)
{
this
.
list
=
data
...
...
pages/evaluationForm/addEvaluationFrom.vue
View file @
023a5c9
...
...
@@ -1100,6 +1100,7 @@ export default {
})
console
.
log
(
'提交的表单数据:'
,
this
.
formData
)
if
(
this
.
query
.
type
===
'add'
)
{
uni
.
showLoading
()
const
res
=
await
uni
.
$api
.
evaluationApi
.
evalOrderCreate
(
this
.
formData
)
console
.
log
(
'res:'
,
res
)
if
(
res
.
data
.
code
==
0
)
{
...
...
@@ -1121,6 +1122,7 @@ export default {
})
}
}
else
if
(
this
.
query
.
type
===
'edit'
)
{
uni
.
showLoading
()
const
res
=
await
uni
.
$api
.
evaluationApi
.
evalOrderUpdate
(
this
.
formData
)
console
.
log
(
'res:'
,
res
)
if
(
res
.
data
.
code
==
0
)
{
...
...
pages/evaluationForm/components/uploadMedia.vue
View file @
023a5c9
...
...
@@ -19,9 +19,9 @@
<view
class=
"sprites-icon icon-play"
></view>
</view>
</view>
<
cover-
view
class=
"delete-icon"
@
click
.
stop=
"deleteMedia(field.key, index)"
>
<view
class=
"delete-icon"
@
click
.
stop=
"deleteMedia(field.key, index)"
>
<uni-icons
type=
"clear"
size=
"16"
color=
"#fff"
></uni-icons>
</
cover-
view>
</view>
</view>
<!-- 上传按钮,当未达到最大限制时显示 -->
<view
v-if=
"!hasReachedMax(field)"
class=
"upload-item"
@
click=
"handleMediaUpload(field)"
>
...
...
pages/evaluationForm/confirmCar.vue
View file @
023a5c9
...
...
@@ -94,7 +94,7 @@
<view
class=
"title"
>
确认交车提醒
</view>
<view
class=
"tipsConent"
>
<view>
《车辆交接单》、《二手车买卖补充协议》已发送至签约车主,请提醒车主完成签署。
</view>
<view>
请确定车辆已经交付:代保管人
陈东
。
</view>
<view>
请确定车辆已经交付:代保管人
{{
custodianName
}}
。
</view>
</view>
</view>
</
template
>
...
...
@@ -126,6 +126,7 @@ export default {
index
:
0
,
uploadedImages
:
{},
confirmCarImages
:
{},
custodianName
:
''
,
pdfUrl
:
''
,
successDate
:
''
,
formFields
:
[
...
...
@@ -249,6 +250,8 @@ export default {
})
if
(
res
.
data
.
code
==
0
)
{
this
.
$set
(
this
.
formData
,
'handoverAddress'
,
res
.
data
.
data
.
evalCarBase
.
carProvinceName
+
'-'
+
res
.
data
.
data
.
evalCarBase
.
carCityName
)
console
.
log
(
'res.data.data'
,
JSON
.
parse
(
res
.
data
.
data
.
custodyContract
.
electronicContractField
))
this
.
custodianName
=
JSON
.
parse
(
res
.
data
.
data
.
custodyContract
.
electronicContractField
).
custodianName
||
''
// this.evalOrderSimpleDetail = res.data.data
}
else
{
uni
.
hideLoading
()
...
...
@@ -264,7 +267,7 @@ export default {
if
(
field
.
type
===
'pdf'
)
{
this
.
$refs
.
addAgreementPopup
.
open
().
then
(()
=>
{
console
.
log
(
'this.supplementaryClauseText'
,
this
.
supplementaryClauseText
)
uni
.
showLoading
()
uni
.
$api
.
evaluationApi
.
salesAgreementPreview
({
evalOrderNo
:
this
.
query
.
evalOrderNo
,
...
...
@@ -272,6 +275,7 @@ export default {
})
.
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
)
{
uni
.
hideLoading
()
this
.
$refs
.
addAgreementPopup
.
closePopup
()
this
.
formFields
.
forEach
(
item
=>
{
if
(
item
.
key
===
field
.
key
)
{
...
...
pages/evaluationForm/index.vue
View file @
023a5c9
...
...
@@ -133,7 +133,7 @@
</view>
</
template
>
</GeneralPopup>
<GeneralPopup
ref=
"tipsPopup"
popupClass=
"tipsPopup"
type=
"center"
:showClose=
"true"
:showTitle=
"false"
@
confirm=
"confirmTips"
:noTitle=
"true"
>
<GeneralPopup
ref=
"tipsPopup"
popupClass=
"tipsPopup"
type=
"center"
:showClose=
"true"
:showTitle=
"false"
:noTitle=
"true"
>
<
template
#
content
>
<view>
<image
class=
"tipsPopupBg"
:src=
"bg"
/>
...
...
@@ -144,7 +144,7 @@
</view>
</
template
>
</GeneralPopup>
<OrderPopup
ref=
"orderPopup"
:data=
"custodyAgreementList"
:isDefeatOrder=
"true"
:externalData=
"[]"
@
onConfirm=
"onConfirm"
:popupType=
"14"
/>
<OrderPopup
ref=
"orderPopup"
:data=
"custodyAgreementList"
:isDefeatOrder=
"true"
:externalData=
"[]"
@
onConfirm=
"onConfirm"
:popupType=
"14"
idKey=
"id"
/>
</view>
</template>
...
...
@@ -340,10 +340,12 @@ export default {
}
},
async
reSubmit
(
e
)
{
uni
.
showLoading
()
const
res
=
await
uni
.
$api
.
evaluationApi
.
evalOrderConfirmVehicleDelivery
({
evalOrderNo
:
e
.
evalOrderNo
})
if
(
res
.
data
.
code
==
0
)
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
'重新提交成功'
,
icon
:
'none'
...
...
@@ -365,20 +367,23 @@ export default {
},
async
amountRequested
(
e
)
{
const
that
=
this
uni
.
showLoading
()
const
res
=
await
uni
.
$api
.
evaluationApi
.
getContractDetail
({
contractNo
:
e
.
saleContractNo
})
if
(
res
.
data
.
code
==
0
)
{
uni
.
hideLoading
()
const
contractDetail
=
res
.
data
.
data
console
.
log
(
'res:'
,
contractDetail
)
this
.
payPopupObj
=
{
...
that
.
payPopupObj
,
...
JSON
.
parse
(
contractDetail
.
electronicContractField
),
...
e
}
that
.
$refs
.
amountRequestedPopup
.
open
().
then
(
async
()
=>
{
if
(
e
.
type
==
'payDeposit'
)
{
uni
.
showLoading
()
const
res
=
await
uni
.
$api
.
evaluationApi
.
payDepositApplication
({
evalOrderNo
:
e
.
evalOrderNo
})
if
(
res
.
data
.
code
==
0
)
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
'定金已申请,请等待付款审批'
,
icon
:
'none'
...
...
@@ -387,34 +392,43 @@ export default {
that
.
search
()
}
}
else
{
uni
.
showLoading
()
uni
.
$api
.
evaluationApi
.
checkSignAgreement
({
evalOrderNo
:
e
.
evalOrderNo
})
.
then
(
async
res
=>
{
console
.
log
(
'res:'
,
res
)
if
(
!
res
.
false
)
{
that
.
$refs
.
signAgreementPopup
.
open
().
then
(()
=>
{
uni
.
$api
.
evaluationApi
.
sendCustodyAgreement
({
...
that
.
signAgreementObj
,
evalOrderNo
:
e
.
evalOrderNo
}).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
)
{
uni
.
showToast
({
title
:
'代保管协议已发送'
,
icon
:
'none'
})
that
.
currentPage
=
1
that
.
search
()
}
if
(
res
.
data
.
code
==
0
)
{
uni
.
hideLoading
()
if
(
!
res
.
data
.
data
.
false
)
{
that
.
$refs
.
signAgreementPopup
.
open
().
then
(()
=>
{
uni
.
showLoading
()
uni
.
$api
.
evaluationApi
.
sendCustodyAgreement
({
...
that
.
signAgreementObj
,
evalOrderNo
:
e
.
evalOrderNo
}).
then
(
res
=>
{
console
.
log
(
res
,
'res'
)
if
(
res
.
data
.
code
==
0
)
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
'代保管协议已发送'
,
icon
:
'none'
})
that
.
currentPage
=
1
that
.
search
()
}
})
})
})
}
else
{
const
res
=
await
uni
.
$api
.
evaluationApi
.
signAgreement
({
evalOrderNo
:
e
.
evalOrderNo
})
if
(
res
.
data
.
code
==
0
)
{
uni
.
showToast
({
title
:
e
.
status
==
40
&&
e
.
paymentType
==
1
?
'尾款款项已申请,完成代保管协议电子签约后将安排支付尾款'
:
'全款款项已申请,完成代保管协议电子签约后将安排支付全款'
,
icon
:
'none'
}
else
{
uni
.
showLoading
()
const
res
=
await
uni
.
$api
.
evaluationApi
.
signAgreement
({
evalOrderNo
:
e
.
evalOrderNo
})
if
(
res
.
data
.
code
==
0
)
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
e
.
status
==
40
&&
e
.
paymentType
==
1
?
'尾款款项已申请,完成代保管协议电子签约后将安排支付尾款'
:
'全款款项已申请,完成代保管协议电子签约后将安排支付全款'
,
icon
:
'none'
})
}
}
}
})
...
...
@@ -489,9 +503,12 @@ export default {
}
this
.
$refs
.
tipsPopup
.
open
()
.
then
(()
=>
{
const
res
=
uni
.
$api
.
evaluationApi
.
evalOrderCancelContract
(
this
.
cancelSignObj
)
.
then
(
async
()
=>
{
uni
.
showLoading
()
const
res
=
await
uni
.
$api
.
evaluationApi
.
evalOrderCancelContract
(
this
.
cancelSignObj
)
console
.
log
(
'res:'
,
res
)
if
(
res
.
data
.
code
==
0
)
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
'取消签约成功'
,
icon
:
'none'
...
...
@@ -515,25 +532,27 @@ export default {
this
.
$refs
.
orderPopup
.
open
()
},
async
addSignAgreement
()
{
if
(
!
this
.
addSignAgreementObj
.
custodianName
)
{
uni
.
showToast
({
title
:
'请输入签约保管人'
,
icon
:
'none'
})
return
Promise
.
reject
()
}
if
(
!
this
.
addSignAgreementObj
.
custodianIdentityCode
)
{
uni
.
showToast
({
title
:
'请输入身份证号'
,
icon
:
'none'
})
return
Promise
.
reject
()
}
if
(
!
this
.
addSignAgreementObj
.
custodianPhone
)
{
uni
.
showToast
({
title
:
'请输入手机号'
,
icon
:
'none'
})
return
Promise
.
reject
()
}
if
(
!
this
.
addSignAgreementObj
.
custodianAddress
)
{
uni
.
showToast
({
title
:
'请输入地址'
,
icon
:
'none'
})
return
Promise
.
reject
()
}
this
.
$refs
.
addSignAgreementPopup
.
open
().
then
(()
=>
{
if
(
!
this
.
addSignAgreementObj
.
custodianName
)
{
uni
.
showToast
({
title
:
'请输入签约保管人'
,
icon
:
'none'
})
return
Promise
.
reject
()
}
if
(
!
this
.
addSignAgreementObj
.
custodianIdentityCode
)
{
uni
.
showToast
({
title
:
'请输入身份证号'
,
icon
:
'none'
})
return
Promise
.
reject
()
}
if
(
!
this
.
addSignAgreementObj
.
custodianPhone
)
{
uni
.
showToast
({
title
:
'请输入手机号'
,
icon
:
'none'
})
return
Promise
.
reject
()
}
if
(
!
this
.
addSignAgreementObj
.
custodianAddress
)
{
uni
.
showToast
({
title
:
'请输入地址'
,
icon
:
'none'
})
return
Promise
.
reject
()
}
uni
.
showLoading
()
uni
.
$api
.
evaluationApi
.
addCustodyAgreement
(
this
.
addSignAgreementObj
).
then
(
res
=>
{
if
(
res
.
data
.
code
==
0
)
{
uni
.
hideLoading
()
console
.
log
(
'res:'
,
res
)
this
.
currentPage
=
1
this
.
search
()
...
...
pages/evaluationForm/signInfo.vue
View file @
023a5c9
...
...
@@ -496,10 +496,12 @@ export default {
this
.
query
=
options
},
async
getEvalOrderSimpleDetail
()
{
uni
.
showLoading
()
const
res
=
await
uni
.
$api
.
evaluationApi
.
evalOrderSimpleDetail
({
evalOrderNo
:
this
.
query
.
evalOrderNo
})
if
(
res
.
data
.
code
==
0
)
{
uni
.
hideLoading
()
this
.
$set
(
this
.
formData
,
'partAName'
,
res
.
data
.
data
.
evalCarLicense
.
previousOwnerName
)
this
.
$set
(
this
.
formData
,
'payeeName'
,
res
.
data
.
data
.
evalCarLicense
.
previousOwnerName
)
this
.
$set
(
this
.
formData
,
'phone'
,
res
.
data
.
data
.
evalCarLicense
.
previousOwnerPhone
)
...
...
@@ -938,10 +940,12 @@ export default {
delete
this
.
formData
.
depositPrice
delete
this
.
formData
.
finalPrice
}
uni
.
showLoading
()
const
res
=
uni
.
$api
.
evaluationApi
.
evalOrderSignContract
({
...
this
.
formData
,
evalOrderNo
:
this
.
query
.
evalOrderNo
})
res
.
then
(
res
=>
{
console
.
log
(
'res:'
,
res
)
if
(
res
.
data
.
code
==
0
)
{
uni
.
hideLoading
()
uni
.
showToast
({
title
:
'电子签约已发送,请注意查收短信'
,
icon
:
'none'
...
...
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